#CEA1EB#CEA1EB

#CEA1EB is a light, moderate violet. Relative luminance 0.446; OKLCH L 77.6% C 0.113 H 311.6°. Best body text is #000000 at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#CEA1EB
RGBrgb(206, 161, 235)
HSLhsl(276, 65%, 78%)
HSVhsv(276, 31%, 92%)
CMYKcmyk(12.3%, 31.5%, 0%, 7.8%)
CIE-LABlab(72.63, 29.99, -30.89)
CIE-LCHlch(72.63, 43.06, 314.15°)
OKLaboklab(77.59% 0.0752 -0.0847)
OKLCHoklch(77.59% 0.113 311.6)
XYZxyz(53.1913, 44.6104, 84.3897)
Luminance0.4461 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEA1EB #BEEBA1
analogous
#A9A1EB #CEA1EB #EBA1E3
triadic
#CEA1EB #EBCEA1 #A1EBCE
tetradic
#CEA1EB #EBA9A1 #BEEBA1 #A1E3EB
square
#CEA1EB #EBA9A1 #BEEBA1 #A1E3EB
split-complementary
#CEA1EB #E3EBA1 #A1EBA9
monochromatic
#993CD6 #B46FE0 #CEA1EB #E8D3F6 #F2E6FA

Accessibility & contrast

On white

2.12
#CEA1EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.92
#CEA1EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEA1EB
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEA1EB#FFFFFF#000000##000000
##CEA1EB1.002.129.929.92
#FFFFFF2.121.0021.0021.00
#0000009.9221.001.001.00
##0000009.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#95B0EE
Deuteranopia (green-blind)
#9EB3E9
Tritanopia (blue-blind)
#CBABBC
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #cea1eb;
/* rgb */ color: rgb(206, 161, 235);
/* oklch */ color: oklch(77.6% 0.113 311.6);
Tailwind
colors: {
  custom: {
    50: '#debdf1',
    500: '#cea1eb',
    950: '#000000',
  },
}
SCSS
$custom: #cea1eb;
$custom-light: #debdf1;
$custom-dark: #000000;
JSON
{
  "hex": "#cea1eb",
  "rgb": {
    "r": 206,
    "g": 161,
    "b": 235
  },
  "hsl": {
    "h": 276.486,
    "s": 64.912,
    "l": 77.647
  },
  "oklch": {
    "l": 0.77593,
    "c": 0.1133,
    "h": 311.6
  },
  "luminance": 0.4461
}

Semantic roles & 50–950 ramp

primary
#CEA1EB
secondary
#E3F1DA
accent
#CD195F
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151216
muted
#838184

Preview Lab

Preview with #CEA1EB

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

Preview Lab → · Contrast checker → · Palette generator →

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