#CE9DF2#CE9DF2

#CE9DF2 is a light, vivid violet. Relative luminance 0.436; OKLCH L 77.2% C 0.129 H 310.0°. Best body text is #000000 at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#CE9DF2
RGBrgb(206, 157, 242)
HSLhsl(275, 77%, 78%)
HSVhsv(275, 35%, 95%)
CMYKcmyk(14.9%, 35.1%, 0%, 5.1%)
CIE-LABlab(71.99, 33.65, -35.70)
CIE-LCHlch(71.99, 49.06, 313.30°)
OKLaboklab(77.2% 0.0827 -0.0984)
OKLCHoklch(77.2% 0.129 310)
XYZxyz(53.5347, 43.6472, 89.5917)
Luminance0.4365 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE9DF2 #C1F29D
analogous
#A39DF2 #CE9DF2 #F29DEC
triadic
#CE9DF2 #F2CE9D #9DF2CE
tetradic
#CE9DF2 #F2A39D #C1F29D #9DECF2
square
#CE9DF2 #F2A39D #C1F29D #9DECF2
split-complementary
#CE9DF2 #ECF29D #9DF2A3
monochromatic
#9831E4 #B367EB #CE9DF2 #E9D3F9 #F1E4FB

Accessibility & contrast

On white

2.16
#CE9DF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.73
#CE9DF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CE9DF2
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE9DF2#FFFFFF#000000##000000
##CE9DF21.002.169.739.73
#FFFFFF2.161.0021.0021.00
#0000009.7321.001.001.00
##0000009.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DAEF5
Deuteranopia (green-blind)
#98B1F0
Tritanopia (blue-blind)
#CAA9BC
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #ce9df2;
/* rgb */ color: rgb(206, 157, 242);
/* oklch */ color: oklch(77.2% 0.129 310.0);
Tailwind
colors: {
  custom: {
    50: '#debaf6',
    500: '#ce9df2',
    950: '#000000',
  },
}
SCSS
$custom: #ce9df2;
$custom-light: #debaf6;
$custom-dark: #000000;
JSON
{
  "hex": "#ce9df2",
  "rgb": {
    "r": 206,
    "g": 157,
    "b": 242
  },
  "hsl": {
    "h": 274.588,
    "s": 76.577,
    "l": 78.235
  },
  "oklch": {
    "l": 0.77195,
    "c": 0.12852,
    "h": 310
  },
  "luminance": 0.43647
}

Semantic roles & 50–950 ramp

primary
#CE9DF2
secondary
#E3F3D8
accent
#D90D63
background
#FDFBFF
surface
#FBF6FE
border
#D4D0D6
text
#151117
muted
#838085

Preview Lab

Preview with #CE9DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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