#CEA2FB#CEA2FB

#CEA2FB is a light, vivid violet. Relative luminance 0.459; OKLCH L 78.5% C 0.131 H 306.3°. Best body text is #000000 at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#CEA2FB
RGBrgb(206, 162, 251)
HSLhsl(270, 92%, 81%)
HSVhsv(270, 35%, 98%)
CMYKcmyk(17.9%, 35.5%, 0%, 1.6%)
CIE-LABlab(73.50, 32.85, -38.25)
CIE-LCHlch(73.50, 50.42, 310.66°)
OKLaboklab(78.46% 0.0776 -0.1057)
OKLCHoklch(78.46% 0.131 306.3)
XYZxyz(55.7831, 45.9279, 97.1743)
Luminance0.4593 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEA2FB #CFFBA2
analogous
#A2A2FB #CEA2FB #FBA2FB
triadic
#CEA2FB #FBCEA2 #A2FBCE
tetradic
#CEA2FB #FBA2A2 #CFFBA2 #A2FBFB
square
#CEA2FB #FBA2A2 #CFFBA2 #A2FBFB
split-complementary
#CEA2FB #FBFBA2 #A2FBA2
monochromatic
#902DF6 #AF67F8 #CEA2FB #EDDDFE #F0E2FE

Accessibility & contrast

On white

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

On black

10.19
#CEA2FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEA2FB
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEA2FB#FFFFFF#000000##000000
##CEA2FB1.002.0610.1910.19
#FFFFFF2.061.0021.0021.00
#00000010.1921.001.001.00
##00000010.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8FB3FE
Deuteranopia (green-blind)
#99B5F8
Tritanopia (blue-blind)
#C8AFC3
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #cea2fb;
/* rgb */ color: rgb(206, 162, 251);
/* oklch */ color: oklch(78.5% 0.131 306.3);
Tailwind
colors: {
  custom: {
    50: '#debefd',
    500: '#cea2fb',
    950: '#000000',
  },
}
SCSS
$custom: #cea2fb;
$custom-light: #debefd;
$custom-dark: #000000;
JSON
{
  "hex": "#cea2fb",
  "rgb": {
    "r": 206,
    "g": 162,
    "b": 251
  },
  "hsl": {
    "h": 269.663,
    "s": 91.753,
    "l": 80.98
  },
  "oklch": {
    "l": 0.7846,
    "c": 0.13116,
    "h": 306.3
  },
  "luminance": 0.45928
}

Semantic roles & 50–950 ramp

primary
#CEA2FB
secondary
#E6F6D5
accent
#E60074
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151217
muted
#838185

Preview Lab

Preview with #CEA2FB

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

Preview Lab → · Contrast checker → · Palette generator →

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