#CEA5FF#CEA5FF

#CEA5FF is a light, vivid violet. Relative luminance 0.473; OKLCH L 79.2% C 0.131 H 304.5°. Best body text is #000000 at 10.45:1 contrast (WCAG AA passes).

Color values

HEX#CEA5FF
RGBrgb(206, 165, 255)
HSLhsl(267, 100%, 82%)
HSVhsv(267, 35%, 100%)
CMYKcmyk(19.2%, 35.3%, 0%, 0%)
CIE-LABlab(74.35, 32.09, -39.09)
CIE-LCHlch(74.35, 50.57, 309.39°)
OKLaboklab(79.16% 0.0743 -0.1081)
OKLCHoklch(79.16% 0.131 304.5)
XYZxyz(56.9551, 47.2523, 100.7085)
Luminance0.4725 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEA5FF #D6FFA5
analogous
#A5A9FF #CEA5FF #FBA5FF
triadic
#CEA5FF #FFCEA5 #A5FFCE
tetradic
#CEA5FF #FFA5A9 #D6FFA5 #A5FFFB
square
#CEA5FF #FFA5A9 #D6FFA5 #A5FFFB
split-complementary
#CEA5FF #FFFBA5 #A9FFA5
monochromatic
#8B2BFF #AD68FF #CEA5FF #EEE0FF #EEE0FF

Accessibility & contrast

On white

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

On black

10.45
#CEA5FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEA5FF
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEA5FF#FFFFFF#000000##000000
##CEA5FF1.002.0110.4510.45
#FFFFFF2.011.0021.0021.00
#00000010.4521.001.001.00
##00000010.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#91B6FF
Deuteranopia (green-blind)
#9AB7FC
Tritanopia (blue-blind)
#C6B3C6
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #cea5ff;
/* rgb */ color: rgb(206, 165, 255);
/* oklch */ color: oklch(79.2% 0.131 304.5);
Tailwind
colors: {
  custom: {
    50: '#dec0ff',
    500: '#cea5ff',
    950: '#000000',
  },
}
SCSS
$custom: #cea5ff;
$custom-light: #dec0ff;
$custom-dark: #000000;
JSON
{
  "hex": "#cea5ff",
  "rgb": {
    "r": 206,
    "g": 165,
    "b": 255
  },
  "hsl": {
    "h": 267.333,
    "s": 100,
    "l": 82.353
  },
  "oklch": {
    "l": 0.79162,
    "c": 0.13121,
    "h": 304.5
  },
  "luminance": 0.47252
}

Semantic roles & 50–950 ramp

primary
#CEA5FF
secondary
#E7F7D4
accent
#E6007D
background
#FDFBFF
surface
#FBF7FF
border
#D4D0D7
text
#151218
muted
#838186

Preview Lab

Preview with #CEA5FF

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

Preview Lab → · Contrast checker → · Palette generator →

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