#CEA2FF#CEA2FF

#CEA2FF is a light, vivid violet. Relative luminance 0.462; OKLCH L 78.6% C 0.136 H 305.2°. Best body text is #000000 at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#CEA2FF
RGBrgb(206, 162, 255)
HSLhsl(268, 100%, 82%)
HSVhsv(268, 36%, 100%)
CMYKcmyk(19.2%, 36.5%, 0%, 0%)
CIE-LABlab(73.66, 33.73, -40.16)
CIE-LCHlch(73.66, 52.44, 310.03°)
OKLaboklab(78.64% 0.0785 -0.1112)
OKLCHoklch(78.64% 0.136 305.2)
XYZxyz(56.4203, 46.1827, 100.5302)
Luminance0.4618 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEA2FF #D3FFA2
analogous
#A2A5FF #CEA2FF #FCA2FF
triadic
#CEA2FF #FFCEA2 #A2FFCE
tetradic
#CEA2FF #FFA2A5 #D3FFA2 #A2FFFC
square
#CEA2FF #FFA2A5 #D3FFA2 #A2FFFC
split-complementary
#CEA2FF #FFFCA2 #A5FFA2
monochromatic
#8E28FF #AE65FF #CEA2FF #EEDFFF #EFE0FF

Accessibility & contrast

On white

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

On black

10.24
#CEA2FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEA2FF
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEA2FF#FFFFFF#000000##000000
##CEA2FF1.002.0510.2410.24
#FFFFFF2.051.0021.0021.00
#00000010.2421.001.001.00
##00000010.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EB4FF
Deuteranopia (green-blind)
#97B5FC
Tritanopia (blue-blind)
#C7B0C5
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #cea2ff;
/* rgb */ color: rgb(206, 162, 255);
/* oklch */ color: oklch(78.6% 0.136 305.2);
Tailwind
colors: {
  custom: {
    50: '#debeff',
    500: '#cea2ff',
    950: '#000000',
  },
}
SCSS
$custom: #cea2ff;
$custom-light: #debeff;
$custom-dark: #000000;
JSON
{
  "hex": "#cea2ff",
  "rgb": {
    "r": 206,
    "g": 162,
    "b": 255
  },
  "hsl": {
    "h": 268.387,
    "s": 100,
    "l": 81.765
  },
  "oklch": {
    "l": 0.7864,
    "c": 0.13611,
    "h": 305.2
  },
  "luminance": 0.46182
}

Semantic roles & 50–950 ramp

primary
#CEA2FF
secondary
#E6F7D4
accent
#E60079
background
#FDFBFF
surface
#FBF7FF
border
#D4D0D7
text
#151218
muted
#838186

Preview Lab

Preview with #CEA2FF

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

Preview Lab → · Contrast checker → · Palette generator →

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