#CEA2EF#CEA2EF

#CEA2EF is a light, moderate violet. Relative luminance 0.452; OKLCH L 77.9% C 0.116 H 310.0°. Best body text is #000000 at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#CEA2EF
RGBrgb(206, 162, 239)
HSLhsl(274, 71%, 79%)
HSVhsv(274, 32%, 94%)
CMYKcmyk(13.8%, 32.2%, 0%, 6.3%)
CIE-LABlab(73.02, 30.28, -32.48)
CIE-LCHlch(73.02, 44.41, 313.00°)
OKLaboklab(77.94% 0.0748 -0.0892)
OKLCHoklch(77.94% 0.116 310)
XYZxyz(53.9511, 45.1951, 87.5260)
Luminance0.4519 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEA2EF #C3EFA2
analogous
#A7A2EF #CEA2EF #EFA2E9
triadic
#CEA2EF #EFCEA2 #A2EFCE
tetradic
#CEA2EF #EFA7A2 #C3EFA2 #A2E9EF
square
#CEA2EF #EFA7A2 #C3EFA2 #A2E9EF
split-complementary
#CEA2EF #E9EFA2 #A2EFA7
monochromatic
#973ADD #B26EE6 #CEA2EF #EAD6F8 #F1E5FB

Accessibility & contrast

On white

2.09
#CEA2EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.04
#CEA2EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEA2EF
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEA2EF#FFFFFF#000000##000000
##CEA2EF1.002.0910.0410.04
#FFFFFF2.091.0021.0021.00
#00000010.0421.001.001.00
##00000010.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#94B1F2
Deuteranopia (green-blind)
#9EB4ED
Tritanopia (blue-blind)
#CAADBE
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #cea2ef;
/* rgb */ color: rgb(206, 162, 239);
/* oklch */ color: oklch(77.9% 0.116 310.0);
Tailwind
colors: {
  custom: {
    50: '#debef4',
    500: '#cea2ef',
    950: '#000000',
  },
}
SCSS
$custom: #cea2ef;
$custom-light: #debef4;
$custom-dark: #000000;
JSON
{
  "hex": "#cea2ef",
  "rgb": {
    "r": 206,
    "g": 162,
    "b": 239
  },
  "hsl": {
    "h": 274.286,
    "s": 70.642,
    "l": 78.627
  },
  "oklch": {
    "l": 0.77938,
    "c": 0.11643,
    "h": 310
  },
  "luminance": 0.45194
}

Semantic roles & 50–950 ramp

primary
#CEA2EF
secondary
#E4F2D9
accent
#D31365
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151217
muted
#838185

Preview Lab

Preview with #CEA2EF

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

Preview Lab → · Contrast checker → · Palette generator →

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