#CEA8EE#CEA8EE

#CEA8EE is a light, moderate violet. Relative luminance 0.473; OKLCH L 79.0% C 0.105 H 308.9°. Best body text is #000000 at 10.46:1 contrast (WCAG AA passes).

Color values

HEX#CEA8EE
RGBrgb(206, 168, 238)
HSLhsl(273, 67%, 80%)
HSVhsv(273, 29%, 93%)
CMYKcmyk(13.4%, 29.4%, 0%, 6.7%)
CIE-LABlab(74.38, 26.79, -29.84)
CIE-LCHlch(74.38, 40.10, 311.92°)
OKLaboklab(78.97% 0.0659 -0.0818)
OKLCHoklch(78.97% 0.105 308.9)
XYZxyz(54.8860, 47.3006, 87.1108)
Luminance0.4730 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEA8EE #C8EEA8
analogous
#ABA8EE #CEA8EE #EEA8EB
triadic
#CEA8EE #EECEA8 #A8EECE
tetradic
#CEA8EE #EEABA8 #C8EEA8 #A8EBEE
square
#CEA8EE #EEABA8 #C8EEA8 #A8EBEE
split-complementary
#CEA8EE #EBEEA8 #A8EEAB
monochromatic
#9442DA #B175E4 #CEA8EE #EBDBF8 #F1E5FA

Accessibility & contrast

On white

2.01
#CEA8EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.46
#CEA8EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEA8EE
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEA8EE#FFFFFF#000000##000000
##CEA8EE1.002.0110.4610.46
#FFFFFF2.011.0021.0021.00
#00000010.4621.001.001.00
##00000010.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9CB5F1
Deuteranopia (green-blind)
#A4B8EC
Tritanopia (blue-blind)
#CAB1C1
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #cea8ee;
/* rgb */ color: rgb(206, 168, 238);
/* oklch */ color: oklch(79.0% 0.105 308.9);
Tailwind
colors: {
  custom: {
    50: '#ddc2f3',
    500: '#cea8ee',
    950: '#000000',
  },
}
SCSS
$custom: #cea8ee;
$custom-light: #ddc2f3;
$custom-dark: #000000;
JSON
{
  "hex": "#cea8ee",
  "rgb": {
    "r": 206,
    "g": 168,
    "b": 238
  },
  "hsl": {
    "h": 272.571,
    "s": 67.308,
    "l": 79.608
  },
  "oklch": {
    "l": 0.78966,
    "c": 0.10502,
    "h": 308.9
  },
  "luminance": 0.473
}

Semantic roles & 50–950 ramp

primary
#CEA8EE
secondary
#E4F2D9
accent
#CF166B
background
#FDFBFE
surface
#FBF7FD
border
#D4D0D5
text
#151217
muted
#838185

Preview Lab

Preview with #CEA8EE

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

Preview Lab → · Contrast checker → · Palette generator →

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