#CEA5EF#CEA5EF

#CEA5EF is a light, moderate violet. Relative luminance 0.463; OKLCH L 78.5% C 0.111 H 309.3°. Best body text is #000000 at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#CEA5EF
RGBrgb(206, 165, 239)
HSLhsl(273, 70%, 79%)
HSVhsv(273, 31%, 94%)
CMYKcmyk(13.8%, 31%, 0%, 6.3%)
CIE-LABlab(73.72, 28.64, -31.40)
CIE-LCHlch(73.72, 42.50, 312.37°)
OKLaboklab(78.47% 0.0705 -0.0862)
OKLCHoklch(78.47% 0.111 309.3)
XYZxyz(54.4859, 46.2646, 87.7042)
Luminance0.4626 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEA5EF #C6EFA5
analogous
#A9A5EF #CEA5EF #EFA5EB
triadic
#CEA5EF #EFCEA5 #A5EFCE
tetradic
#CEA5EF #EFA9A5 #C6EFA5 #A5EBEF
square
#CEA5EF #EFA9A5 #C6EFA5 #A5EBEF
split-complementary
#CEA5EF #EBEFA5 #A5EFA9
monochromatic
#953DDD #B271E6 #CEA5EF #EAD9F8 #F1E5FA

Accessibility & contrast

On white

2.05
#CEA5EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.25
#CEA5EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEA5EF
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEA5EF#FFFFFF#000000##000000
##CEA5EF1.002.0510.2510.25
#FFFFFF2.051.0021.0021.00
#00000010.2521.001.001.00
##00000010.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#98B3F2
Deuteranopia (green-blind)
#A0B6ED
Tritanopia (blue-blind)
#CAAFC0
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #cea5ef;
/* rgb */ color: rgb(206, 165, 239);
/* oklch */ color: oklch(78.5% 0.111 309.3);
Tailwind
colors: {
  custom: {
    50: '#ddc0f4',
    500: '#cea5ef',
    950: '#000000',
  },
}
SCSS
$custom: #cea5ef;
$custom-light: #ddc0f4;
$custom-dark: #000000;
JSON
{
  "hex": "#cea5ef",
  "rgb": {
    "r": 206,
    "g": 165,
    "b": 239
  },
  "hsl": {
    "h": 273.243,
    "s": 69.811,
    "l": 79.216
  },
  "oklch": {
    "l": 0.7847,
    "c": 0.11134,
    "h": 309.3
  },
  "luminance": 0.46264
}

Semantic roles & 50–950 ramp

primary
#CEA5EF
secondary
#E4F2D9
accent
#D21468
background
#FDFBFE
surface
#FBF7FD
border
#D4D0D5
text
#151217
muted
#838185

Preview Lab

Preview with #CEA5EF

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

Preview Lab → · Contrast checker → · Palette generator →

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