Skip to content

#cb6cf7

a light, electric violet · cool · closest name: Orchid

RGB
203, 108, 247
HSL
281°, 90%, 70%
CMYK
18, 56, 0, 3
Luminance
0.3014

At a glance

Every number on this page in one read: what #cb6cf7 is made of, how bright it looks, and which way it leans.

Hex
#cb6cf7
Hue
281°
violet
Saturation
90%
electric
Lightness
70%
light
Brightness
97%
HSV value
Perceived
63%
weighted brightness
Luminance
0.3014
WCAG relative
Temperature
Cool
61/100 cool
Color family
Violet
Tone
Electric
Best ink
Black
7.03:1
Closest name
Orchid
ΔE2000 7.3
Where it sits
Hue281° of 360°
Saturation90%
Lightness70%
Temperature
Warm ← → Cool61% cool

Reads cool. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#cb6cf7
RGBrgb(203, 108, 247)
HSLhsl(281, 90%, 70%)
CMYKcmyk(18%, 56%, 0%, 3%)
LABlab(61.8 59.5 -54.5)
LCHlch(61.8 80.7 317.5)
OKLCHoklch(0.696 0.211 313.8)
Decimal13331703
Display P3color(display-p3 0.796 0.424 0.969)

Copy-ready code

/* CSS */
color: #cb6cf7;
background-color: #cb6cf7;
/* Tailwind (arbitrary) */
class="text-[#cb6cf7] bg-[#cb6cf7]"
/* SCSS */
$brand: #cb6cf7;
/* SwiftUI */
Color(red: 0.796, green: 0.424, blue: 0.969)
/* Android */
Color.parseColor("#cb6cf7")
/* Flutter */
Color(0xFFCB6CF7)
/* Python / OpenCV (BGR) */
(247, 108, 203)

Best text color

Only one of black and white can be right. This is the one, with the number that proves it.

Readable at a glance#000000 on #cb6cf7 · 7.03:1
Use #000000AAA at every size.
Aa
White text · 2.99:1
AA fail · AA large fail · AAA fail
Aa
Black text · 7.03:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #cb6cf7 as text scores 2.99:1 on white and 7.03:1 on black.

Accessibility — WCAG contrast

Aa
#cb6cf7 on white: 2.99:1
AA ✗ fail · AA-large · AAA
Aa
#cb6cf7 on black: 7.03:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #4490FB
deuteranopia · #6798F4
tritanopia · #C784A8

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #cb6cf7 is pinned to step 400; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#F9F2FD
#F4E5FB
#E8C3F8
#D995F9
#cb6cf7
#B42AF3
#A30DE8
#880BC1
#6C089B
#500B70
#320746
Base = 400Lightest = 50 · #F9F2FDDarkest = 950 · #320746
:root {
  --brand-50: #F9F2FD;
  --brand-100: #F4E5FB;
  --brand-200: #E8C3F8;
  --brand-300: #D995F9;
  --brand-400: #cb6cf7;
  --brand-500: #B42AF3;
  --brand-600: #A30DE8;
  --brand-700: #880BC1;
  --brand-800: #6C089B;
  --brand-900: #500B70;
  --brand-950: #320746;
  --brand: #cb6cf7;
  --brand-ink: #000000;
}

Colors that work with #cb6cf7

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#000000
Black wins here
Surface#F8F4FA
Tinted page background
Border#DEC0ED
Hairlines and dividers
Muted text#814B9B
Captions on the surface
Accent#72C507
Second voice, not a rival
Dark variant#550779
Hover, pressed, headers
Light variant#F6E7FE
Selected rows, tints
Dark surface#1F1424
Dark-mode background
Light mode
Everything in its place

Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.

Primary actionSecondaryBadge
Dark mode
Same hue, inverted

Lightness flips, hue holds. The accent stays the anchor in both themes.

Primary actionSecondaryAccent

How to use #cb6cf7

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Text and icons on dark surfaces
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Card and section backgrounds
  • Brand accents, badges and data highlights
Use with care
  • Text of any size on white — fails WCAG AA
  • Full-page backgrounds — tiring over long sessions
  • White text placed on it
  • Pairing with a same-lightness hue — edges vibrate

Similar colors

One move away from this hex in each direction. Every swatch is its own page.

Color relationships

The wheel positions with their names attached, so you can grab the one you actually need.

Complementary#98F76C
Analogous left#856CF7
Analogous right#F76CDE
Split-complement 1#DEF76C
Split-complement 2#6CF785
Triadic 1#F7CB6C
Triadic 2#6CF7CB
Tetradic#F7856C

RGB percentages

Red79.6%
Green42.4%
Blue96.9%

CMYK percentages

Cyan17.8%
Magenta56.3%
Yellow0.0%
Key (black)3.1%

Color previews

#cb6cf7 text on a black background

contrast 7.03:1

Card sample

#cb6cf7 text on a white background

contrast 2.99:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #cb6cf7;
Background color
Panel with #cb6cf7 background
background-color: #cb6cf7;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #cb6cf7;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(203, 108, 247, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(203, 108, 247, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cb6cf7;
background: linear-gradient(135deg, #cb6cf7, #F76CC6);

Monochromatic scale

Palettes built from #cb6cf7

Shades — darker

Tints — lighter

Color harmonies

Nearest named colors

Ranked with CIEDE2000 across all 139 CSS keywords. Under ΔE 2 the eye stops telling them apart; over ΔE 10 they are plainly different colors.

#cb6cf7 in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
Creative toolsFintechBeautyLuxury
Common UI roles
SurfacesBadgesHighlightsEmpty states
Print note

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#cb6cf7, answered

What color is #cb6cf7?

#cb6cf7 is a light electric violet, closest to Orchid (ΔE2000 7.3). It sits at 281° on the hue wheel with 90% saturation and 70% lightness, which reads as cool.

What is the RGB value of #cb6cf7?

rgb(203, 108, 247) — 203 red, 108 green and 247 blue out of 255, or 79.6% / 42.4% / 96.9% by channel.

Is #cb6cf7 a light or a dark color?

It is a mid-tone. Relative luminance is 0.3014 and perceived brightness is 63%, so black text on it reaches 7.03:1.

Should I use black or white text on #cb6cf7?

Black. It scores 7.03:1 against #cb6cf7, versus 2.99:1 for white — AAA at any size.

What is the complementary color of #cb6cf7?

#98F76C sits directly opposite on the wheel. Softer options are the split-complements #DEF76C and #6CF785, which give the same contrast with far less vibration.

What colors go well with #cb6cf7?

For interface work: #F8F4FA as the surface, #DEC0ED for borders, #814B9B for secondary text, #72C507 as an accent and #550779 for hover and pressed states. For a palette, the analogous pair #856CF7 and #F76CDE stays calm, while #98F76C is the loudest partner.

What is #cb6cf7 in CMYK for printing?

cmyk(18%, 56%, 0%, 3%). This is a screen-to-ink approximation — a color this saturated sits outside most CMYK gamuts and will print duller than it looks here.

Is #cb6cf7 warm or cool?

Cool — it scores 61 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #F76CF0; nudged cooler, #976AF9.

Work with #cb6cf7 in the Color Lab