Skip to content

#cb7df4

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

RGB
203, 125, 244
HSL
279°, 84%, 72%
CMYK
17, 49, 0, 4
Luminance
0.3390

At a glance

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

Hex
#cb7df4
Hue
279°
violet
Saturation
84%
electric
Lightness
72%
light
Brightness
96%
HSV value
Perceived
66%
weighted brightness
Luminance
0.3390
WCAG relative
Temperature
Cool
62/100 cool
Color family
Violet
Tone
Electric
Best ink
Black
7.78:1
Closest name
Orchid
ΔE2000 6.9
Where it sits
Hue279° of 360°
Saturation84%
Lightness72%
Temperature
Warm ← → Cool62% 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#cb7df4
RGBrgb(203, 125, 244)
HSLhsl(279, 84%, 72%)
CMYKcmyk(17%, 49%, 0%, 4%)
LABlab(64.9 50.4 -48.0)
LCHlch(64.9 69.5 316.4)
OKLCHoklch(0.718 0.182 312.9)
Decimal13336052
Display P3color(display-p3 0.796 0.490 0.957)

Copy-ready code

/* CSS */
color: #cb7df4;
background-color: #cb7df4;
/* Tailwind (arbitrary) */
class="text-[#cb7df4] bg-[#cb7df4]"
/* SCSS */
$brand: #cb7df4;
/* SwiftUI */
Color(red: 0.796, green: 0.490, blue: 0.957)
/* Android */
Color.parseColor("#cb7df4")
/* Flutter */
Color(0xFFCB7DF4)
/* Python / OpenCV (BGR) */
(244, 125, 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 #cb7df4 · 7.78:1
Use #000000AAA at every size.
Aa
White text · 2.70:1
AA fail · AA large fail · AAA fail
Aa
Black text · 7.78:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #cb7df4 as text scores 2.70:1 on white and 7.78:1 on black.

Accessibility — WCAG contrast

Aa
#cb7df4 on white: 2.70:1
AA ✗ fail · AA-large · AAA
Aa
#cb7df4 on black: 7.78:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #6299F8
deuteranopia · #799FF1
tritanopia · #C790AD

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #cb7df4 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.

#F9F2FC
#F3E6FA
#E5C5F7
#D698F6
#cb7df4
#AC30ED
#9A13E2
#8110BC
#670D96
#4C0E6D
#2F0944
Base = 400Lightest = 50 · #F9F2FCDarkest = 950 · #2F0944
:root {
  --brand-50: #F9F2FC;
  --brand-100: #F3E6FA;
  --brand-200: #E5C5F7;
  --brand-300: #D698F6;
  --brand-400: #cb7df4;
  --brand-500: #AC30ED;
  --brand-600: #9A13E2;
  --brand-700: #8110BC;
  --brand-800: #670D96;
  --brand-900: #4C0E6D;
  --brand-950: #2F0944;
  --brand: #cb7df4;
  --brand-ink: #000000;
}

Colors that work with #cb7df4

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#DDC0ED
Hairlines and dividers
Muted text#7F4B9B
Captions on the surface
Accent#77C00C
Second voice, not a rival
Dark variant#500A76
Hover, pressed, headers
Light variant#F6E7FD
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 #cb7df4

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#A6F47D
Analogous left#907DF4
Analogous right#F47DE2
Split-complement 1#E2F47D
Split-complement 2#7DF490
Triadic 1#F4CB7D
Triadic 2#7DF4CB
Tetradic#F4907D

RGB percentages

Red79.6%
Green49.0%
Blue95.7%

CMYK percentages

Cyan16.8%
Magenta48.8%
Yellow0.0%
Key (black)4.3%

Color previews

#cb7df4 text on a black background

contrast 7.78:1

Card sample

#cb7df4 text on a white background

contrast 2.70:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cb7df4

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.

#cb7df4 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.

#cb7df4, answered

What color is #cb7df4?

#cb7df4 is a light electric violet, closest to Orchid (ΔE2000 6.9). It sits at 279° on the hue wheel with 84% saturation and 72% lightness, which reads as cool.

What is the RGB value of #cb7df4?

rgb(203, 125, 244) — 203 red, 125 green and 244 blue out of 255, or 79.6% / 49% / 95.7% by channel.

Is #cb7df4 a light or a dark color?

It is a mid-tone. Relative luminance is 0.3390 and perceived brightness is 66%, so black text on it reaches 7.78:1.

Should I use black or white text on #cb7df4?

Black. It scores 7.78:1 against #cb7df4, versus 2.70:1 for white — AAA at any size.

What is the complementary color of #cb7df4?

#A6F47D sits directly opposite on the wheel. Softer options are the split-complements #E2F47D and #7DF490, which give the same contrast with far less vibration.

What colors go well with #cb7df4?

For interface work: #F8F4FA as the surface, #DDC0ED for borders, #7F4B9B for secondary text, #77C00C as an accent and #500A76 for hover and pressed states. For a palette, the analogous pair #907DF4 and #F47DE2 stays calm, while #A6F47D is the loudest partner.

What is #cb7df4 in CMYK for printing?

cmyk(17%, 49%, 0%, 4%). 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 #cb7df4 warm or cool?

Cool — it scores 62 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #F47DF1; nudged cooler, #9F7CF5.

Work with #cb7df4 in the Color Lab