#CEA1EF#CEA1EF

#CEA1EF is a light, moderate violet. Relative luminance 0.448; OKLCH L 77.8% C 0.118 H 310.2°. Best body text is #000000 at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#CEA1EF
RGBrgb(206, 161, 239)
HSLhsl(275, 71%, 78%)
HSVhsv(275, 33%, 94%)
CMYKcmyk(13.8%, 32.6%, 0%, 6.3%)
CIE-LABlab(72.79, 30.83, -32.83)
CIE-LCHlch(72.79, 45.04, 313.20°)
OKLaboklab(77.76% 0.0762 -0.0902)
OKLCHoklch(77.76% 0.118 310.2)
XYZxyz(53.7757, 44.8442, 87.4675)
Luminance0.4484 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEA1EF #C2EFA1
analogous
#A7A1EF #CEA1EF #EFA1E9
triadic
#CEA1EF #EFCEA1 #A1EFCE
tetradic
#CEA1EF #EFA7A1 #C2EFA1 #A1E9EF
square
#CEA1EF #EFA7A1 #C2EFA1 #A1E9EF
split-complementary
#CEA1EF #E9EFA1 #A1EFA7
monochromatic
#9738DD #B36DE6 #CEA1EF #E9D5F8 #F1E5FB

Accessibility & contrast

On white

2.11
#CEA1EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.97
#CEA1EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEA1EF
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEA1EF#FFFFFF#000000##000000
##CEA1EF1.002.119.979.97
#FFFFFF2.111.0021.0021.00
#0000009.9721.001.001.00
##0000009.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#93B0F2
Deuteranopia (green-blind)
#9DB3ED
Tritanopia (blue-blind)
#CAACBD
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #cea1ef;
/* rgb */ color: rgb(206, 161, 239);
/* oklch */ color: oklch(77.8% 0.118 310.2);
Tailwind
colors: {
  custom: {
    50: '#debdf4',
    500: '#cea1ef',
    950: '#000000',
  },
}
SCSS
$custom: #cea1ef;
$custom-light: #debdf4;
$custom-dark: #000000;
JSON
{
  "hex": "#cea1ef",
  "rgb": {
    "r": 206,
    "g": 161,
    "b": 239
  },
  "hsl": {
    "h": 274.615,
    "s": 70.909,
    "l": 78.431
  },
  "oklch": {
    "l": 0.77762,
    "c": 0.11813,
    "h": 310.2
  },
  "luminance": 0.44844
}

Semantic roles & 50–950 ramp

primary
#CEA1EF
secondary
#E4F2D9
accent
#D31364
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151217
muted
#838185

Preview Lab

Preview with #CEA1EF

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

Preview Lab → · Contrast checker → · Palette generator →

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