#CE9FF2#CE9FF2

#CE9FF2 is a light, vivid violet. Relative luminance 0.443; OKLCH L 77.5% C 0.125 H 309.6°. Best body text is #000000 at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#CE9FF2
RGBrgb(206, 159, 242)
HSLhsl(274, 76%, 79%)
HSVhsv(274, 34%, 95%)
CMYKcmyk(14.9%, 34.3%, 0%, 5.1%)
CIE-LABlab(72.45, 32.56, -35.00)
CIE-LCHlch(72.45, 47.80, 312.93°)
OKLaboklab(77.54% 0.0798 -0.0964)
OKLCHoklch(77.54% 0.125 309.6)
XYZxyz(53.8759, 44.3295, 89.7054)
Luminance0.4433 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE9FF2 #C3F29F
analogous
#A49FF2 #CE9FF2 #F29FEC
triadic
#CE9FF2 #F2CE9F #9FF2CE
tetradic
#CE9FF2 #F2A49F #C3F29F #9FECF2
square
#CE9FF2 #F2A49F #C3F29F #9FECF2
split-complementary
#CE9FF2 #ECF29F #9FF2A4
monochromatic
#9733E3 #B269EB #CE9FF2 #EAD5F9 #F1E4FB

Accessibility & contrast

On white

2.13
#CE9FF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.87
#CE9FF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CE9FF2
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE9FF2#FFFFFF#000000##000000
##CE9FF21.002.139.879.87
#FFFFFF2.131.0021.0021.00
#0000009.8721.001.001.00
##0000009.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#90AFF5
Deuteranopia (green-blind)
#9AB3F0
Tritanopia (blue-blind)
#CAABBE
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #ce9ff2;
/* rgb */ color: rgb(206, 159, 242);
/* oklch */ color: oklch(77.5% 0.125 309.6);
Tailwind
colors: {
  custom: {
    50: '#debcf6',
    500: '#ce9ff2',
    950: '#000000',
  },
}
SCSS
$custom: #ce9ff2;
$custom-light: #debcf6;
$custom-dark: #000000;
JSON
{
  "hex": "#ce9ff2",
  "rgb": {
    "r": 206,
    "g": 159,
    "b": 242
  },
  "hsl": {
    "h": 273.976,
    "s": 76.147,
    "l": 78.627
  },
  "oklch": {
    "l": 0.77542,
    "c": 0.12515,
    "h": 309.6
  },
  "luminance": 0.44329
}

Semantic roles & 50–950 ramp

primary
#CE9FF2
secondary
#E4F3D8
accent
#D80D65
background
#FDFBFF
surface
#FBF6FE
border
#D4D0D6
text
#151217
muted
#838185

Preview Lab

Preview with #CE9FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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