#CEA6FF#CEA6FF

#CEA6FF is a light, vivid violet. Relative luminance 0.476; OKLCH L 79.3% C 0.130 H 304.3°. Best body text is #000000 at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#CEA6FF
RGBrgb(206, 166, 255)
HSLhsl(267, 100%, 83%)
HSVhsv(267, 35%, 100%)
CMYKcmyk(19.2%, 34.9%, 0%, 0%)
CIE-LABlab(74.58, 31.55, -38.73)
CIE-LCHlch(74.58, 49.95, 309.16°)
OKLaboklab(79.34% 0.0729 -0.1071)
OKLCHoklch(79.34% 0.13 304.3)
XYZxyz(57.1361, 47.6144, 100.7688)
Luminance0.4761 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEA6FF #D7FFA6
analogous
#A6ABFF #CEA6FF #FAA6FF
triadic
#CEA6FF #FFCEA6 #A6FFCE
tetradic
#CEA6FF #FFA6AB #D7FFA6 #A6FFFA
square
#CEA6FF #FFA6AB #D7FFA6 #A6FFFA
split-complementary
#CEA6FF #FFFAA6 #ABFFA6
monochromatic
#8B2CFF #AC69FF #CEA6FF #EEE0FF #EEE0FF

Accessibility & contrast

On white

2.00
#CEA6FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.52
#CEA6FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEA6FF
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEA6FF#FFFFFF#000000##000000
##CEA6FF1.002.0010.5210.52
#FFFFFF2.001.0021.0021.00
#00000010.5221.001.001.00
##00000010.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#93B6FF
Deuteranopia (green-blind)
#9BB8FD
Tritanopia (blue-blind)
#C6B4C7
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #cea6ff;
/* rgb */ color: rgb(206, 166, 255);
/* oklch */ color: oklch(79.3% 0.130 304.3);
Tailwind
colors: {
  custom: {
    50: '#dec0ff',
    500: '#cea6ff',
    950: '#000000',
  },
}
SCSS
$custom: #cea6ff;
$custom-light: #dec0ff;
$custom-dark: #000000;
JSON
{
  "hex": "#cea6ff",
  "rgb": {
    "r": 206,
    "g": 166,
    "b": 255
  },
  "hsl": {
    "h": 266.966,
    "s": 100,
    "l": 82.549
  },
  "oklch": {
    "l": 0.79337,
    "c": 0.12958,
    "h": 304.3
  },
  "luminance": 0.47614
}

Semantic roles & 50–950 ramp

primary
#CEA6FF
secondary
#E7F7D4
accent
#E6007E
background
#FDFBFF
surface
#FBF7FF
border
#D4D0D7
text
#151218
muted
#838186

Preview Lab

Preview with #CEA6FF

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#CEA6FF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva