#CEA2EA#CEA2EA

#CEA2EA is a light, moderate violet. Relative luminance 0.449; OKLCH L 77.7% C 0.110 H 311.8°. Best body text is #000000 at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#CEA2EA
RGBrgb(206, 162, 234)
HSLhsl(277, 63%, 78%)
HSVhsv(277, 31%, 92%)
CMYKcmyk(12%, 30.8%, 0%, 8.2%)
CIE-LABlab(72.83, 29.24, -30.05)
CIE-LCHlch(72.83, 41.93, 314.21°)
OKLaboklab(77.73% 0.0735 -0.0823)
OKLCHoklch(77.73% 0.11 311.8)
XYZxyz(53.2227, 44.9037, 83.6895)
Luminance0.4490 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEA2EA #BEEAA2
analogous
#AAA2EA #CEA2EA #EAA2E2
triadic
#CEA2EA #EACEA2 #A2EACE
tetradic
#CEA2EA #EAAAA2 #BEEAA2 #A2E2EA
square
#CEA2EA #EAAAA2 #BEEAA2 #A2E2EA
split-complementary
#CEA2EA #E2EAA2 #A2EAAA
monochromatic
#993ED3 #B470DF #CEA2EA #E8D4F5 #F2E6F9

Accessibility & contrast

On white

2.10
#CEA2EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.98
#CEA2EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEA2EA
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEA2EA#FFFFFF#000000##000000
##CEA2EA1.002.109.989.98
#FFFFFF2.101.0021.0021.00
#0000009.9821.001.001.00
##0000009.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#96B0ED
Deuteranopia (green-blind)
#A0B4E8
Tritanopia (blue-blind)
#CBABBC
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #cea2ea;
/* rgb */ color: rgb(206, 162, 234);
/* oklch */ color: oklch(77.7% 0.110 311.8);
Tailwind
colors: {
  custom: {
    50: '#ddbef1',
    500: '#cea2ea',
    950: '#000000',
  },
}
SCSS
$custom: #cea2ea;
$custom-light: #ddbef1;
$custom-dark: #000000;
JSON
{
  "hex": "#cea2ea",
  "rgb": {
    "r": 206,
    "g": 162,
    "b": 234
  },
  "hsl": {
    "h": 276.667,
    "s": 63.158,
    "l": 77.647
  },
  "oklch": {
    "l": 0.77729,
    "c": 0.11039,
    "h": 311.8
  },
  "luminance": 0.44903
}

Semantic roles & 50–950 ramp

primary
#CEA2EA
secondary
#E3F1DA
accent
#CB1B5F
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151216
muted
#838184

Preview Lab

Preview with #CEA2EA

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

Preview Lab → · Contrast checker → · Palette generator →

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