Skip to content

#cea6df

a light, vivid violet · cool · closest name: Plum

RGB
206, 166, 223
HSL
282°, 47%, 76%
CMYK
8, 26, 0, 13
Luminance
0.4572

At a glance

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

Hex
#cea6df
Hue
282°
violet
Saturation
47%
vivid
Lightness
76%
light
Brightness
87%
HSV value
Perceived
73%
weighted brightness
Luminance
0.4572
WCAG relative
Temperature
Cool
60/100 cool
Color family
Violet
Tone
Vivid
Best ink
Black
10.14:1
Closest name
Plum
ΔE2000 4.1
Where it sits
Hue282° of 360°
Saturation47%
Lightness76%
Temperature
Warm ← → Cool60% 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#cea6df
RGBrgb(206, 166, 223)
HSLhsl(282, 47%, 76%)
CMYKcmyk(8%, 26%, 0%, 13%)
LABlab(73.4 24.8 -23.2)
LCHlch(73.4 34.0 316.9)
OKLCHoklch(0.780 0.090 315.7)
Decimal13543135
Display P3color(display-p3 0.808 0.651 0.875)

Copy-ready code

/* CSS */
color: #cea6df;
background-color: #cea6df;
/* Tailwind (arbitrary) */
class="text-[#cea6df] bg-[#cea6df]"
/* SCSS */
$brand: #cea6df;
/* SwiftUI */
Color(red: 0.808, green: 0.651, blue: 0.875)
/* Android */
Color.parseColor("#cea6df")
/* Flutter */
Color(0xFFCEA6DF)
/* Python / OpenCV (BGR) */
(223, 166, 206)

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 #cea6df · 10.14:1
Use #000000AAA at every size.
Aa
White text · 2.07:1
AA fail · AA large fail · AAA fail
Aa
Black text · 10.14:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #cea6df as text scores 2.07:1 on white and 10.14:1 on black.

Accessibility — WCAG contrast

Aa
#cea6df on white: 2.07:1
AA ✗ fail · AA-large · AAA
Aa
#cea6df on black: 10.14:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #9EB2E1
deuteranopia · #A7B5DD
tritanopia · #CDADBA

Color scale — 50 to 950

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

#F8F5FA
#F2EAF5
#E3D0EC
#cea6df
#BB83D2
#A45AC4
#9241B4
#793696
#612B78
#482358
#2D1637
Base = 300Lightest = 50 · #F8F5FADarkest = 950 · #2D1637
:root {
  --brand-50: #F8F5FA;
  --brand-100: #F2EAF5;
  --brand-200: #E3D0EC;
  --brand-300: #cea6df;
  --brand-400: #BB83D2;
  --brand-500: #A45AC4;
  --brand-600: #9241B4;
  --brand-700: #793696;
  --brand-800: #612B78;
  --brand-900: #482358;
  --brand-950: #2D1637;
  --brand: #cea6df;
  --brand-ink: #000000;
}

Colors that work with #cea6df

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#F9F4FA
Tinted page background
Border#DEC3E9
Hairlines and dividers
Muted text#834B9B
Captions on the surface
Accent#6C9933
Second voice, not a rival
Dark variant#4C225E
Hover, pressed, headers
Light variant#F5ECF8
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 #cea6df

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#B7DFA6
Analogous left#B2A6DF
Analogous right#DFA6D4
Split-complement 1#D4DFA6
Split-complement 2#A6DFB2
Triadic 1#DFCEA6
Triadic 2#A6DFCE
Tetradic#DFB2A6

RGB percentages

Red80.8%
Green65.1%
Blue87.5%

CMYK percentages

Cyan7.6%
Magenta25.6%
Yellow0.0%
Key (black)12.5%

Color previews

#cea6df text on a black background

contrast 10.14:1

Card sample

#cea6df text on a white background

contrast 2.07:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(206, 166, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(206, 166, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cea6df;
background: linear-gradient(135deg, #cea6df, #DFA6CA);

Monochromatic scale

Palettes built from #cea6df

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.

#cea6df 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

Converts to four-color process without much drama. Proof it anyway.

#cea6df, answered

What color is #cea6df?

#cea6df is a light vivid violet, closest to Plum (ΔE2000 4.1). It sits at 282° on the hue wheel with 47% saturation and 76% lightness, which reads as cool.

What is the RGB value of #cea6df?

rgb(206, 166, 223) — 206 red, 166 green and 223 blue out of 255, or 80.8% / 65.1% / 87.5% by channel.

Is #cea6df a light or a dark color?

It is a mid-tone. Relative luminance is 0.4572 and perceived brightness is 73%, so black text on it reaches 10.14:1.

Should I use black or white text on #cea6df?

Black. It scores 10.14:1 against #cea6df, versus 2.07:1 for white — AAA at any size.

What is the complementary color of #cea6df?

#B7DFA6 sits directly opposite on the wheel. Softer options are the split-complements #D4DFA6 and #A6DFB2, which give the same contrast with far less vibration.

What colors go well with #cea6df?

For interface work: #F9F4FA as the surface, #DEC3E9 for borders, #834B9B for secondary text, #6C9933 as an accent and #4C225E for hover and pressed states. For a palette, the analogous pair #B2A6DF and #DFA6D4 stays calm, while #B7DFA6 is the loudest partner.

What is #cea6df in CMYK for printing?

cmyk(8%, 26%, 0%, 13%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.

Is #cea6df warm or cool?

Cool — it scores 60 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #DFA6DB; nudged cooler, #B9A5E0.

Work with #cea6df in the Color Lab