#CEA2FC#CEA2FC

#CEA2FC is a light, vivid violet. Relative luminance 0.460; OKLCH L 78.5% C 0.132 H 306.0°. Best body text is #000000 at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#CEA2FC
RGBrgb(206, 162, 252)
HSLhsl(269, 94%, 81%)
HSVhsv(269, 36%, 99%)
CMYKcmyk(18.3%, 35.7%, 0%, 1.2%)
CIE-LABlab(73.54, 33.07, -38.73)
CIE-LCHlch(73.54, 50.93, 310.50°)
OKLaboklab(78.51% 0.0779 -0.1071)
OKLCHoklch(78.51% 0.132 306)
XYZxyz(55.9412, 45.9911, 98.0067)
Luminance0.4599 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEA2FC #D0FCA2
analogous
#A2A3FC #CEA2FC #FBA2FC
triadic
#CEA2FC #FCCEA2 #A2FCCE
tetradic
#CEA2FC #FCA2A3 #D0FCA2 #A2FCFB
square
#CEA2FC #FCA2A3 #D0FCA2 #A2FCFB
split-complementary
#CEA2FC #FCFBA2 #A3FCA2
monochromatic
#902BF8 #AF67FA #CEA2FC #EDDDFE #EFE1FE

Accessibility & contrast

On white

2.06
#CEA2FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.20
#CEA2FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEA2FC
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEA2FC#FFFFFF#000000##000000
##CEA2FC1.002.0610.2010.20
#FFFFFF2.061.0021.0021.00
#00000010.2021.001.001.00
##00000010.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8FB3FF
Deuteranopia (green-blind)
#98B5F9
Tritanopia (blue-blind)
#C7B0C3
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #cea2fc;
/* rgb */ color: rgb(206, 162, 252);
/* oklch */ color: oklch(78.5% 0.132 306.0);
Tailwind
colors: {
  custom: {
    50: '#debefd',
    500: '#cea2fc',
    950: '#000000',
  },
}
SCSS
$custom: #cea2fc;
$custom-light: #debefd;
$custom-dark: #000000;
JSON
{
  "hex": "#cea2fc",
  "rgb": {
    "r": 206,
    "g": 162,
    "b": 252
  },
  "hsl": {
    "h": 269.333,
    "s": 93.75,
    "l": 81.176
  },
  "oklch": {
    "l": 0.78505,
    "c": 0.1324,
    "h": 306
  },
  "luminance": 0.45991
}

Semantic roles & 50–950 ramp

primary
#CEA2FC
secondary
#E6F6D5
accent
#E60075
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151217
muted
#838185

Preview Lab

Preview with #CEA2FC

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

Preview Lab → · Contrast checker → · Palette generator →

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