#CE9DFF#CE9DFF

#CE9DFF is a light, vivid violet. Relative luminance 0.445; OKLCH L 77.8% C 0.144 H 306.3°. Best body text is #000000 at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#CE9DFF
RGBrgb(206, 157, 255)
HSLhsl(270, 100%, 81%)
HSVhsv(270, 38%, 100%)
CMYKcmyk(19.2%, 38.4%, 0%, 0%)
CIE-LABlab(72.53, 36.45, -41.92)
CIE-LCHlch(72.53, 55.55, 311.01°)
OKLaboklab(77.78% 0.0855 -0.1162)
OKLCHoklch(77.78% 0.144 306.3)
XYZxyz(55.5570, 44.4561, 100.2424)
Luminance0.4446 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE9DFF #CEFF9D
analogous
#9D9DFF #CE9DFF #FF9DFF
triadic
#CE9DFF #FFCE9D #9DFFCE
tetradic
#CE9DFF #FF9D9D #CEFF9D #9DFFFF
square
#CE9DFF #FF9D9D #CEFF9D #9DFFFF
split-complementary
#CE9DFF #FFFF9D #9DFF9D
monochromatic
#9123FF #AF60FF #CE9DFF #EDDAFF #F0E0FF

Accessibility & contrast

On white

2.12
#CE9DFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.89
#CE9DFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CE9DFF
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE9DFF#FFFFFF#000000##000000
##CE9DFF1.002.129.899.89
#FFFFFF2.121.0021.0021.00
#0000009.8921.001.001.00
##0000009.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#87B0FF
Deuteranopia (green-blind)
#92B2FC
Tritanopia (blue-blind)
#C7ACC2
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #ce9dff;
/* rgb */ color: rgb(206, 157, 255);
/* oklch */ color: oklch(77.8% 0.144 306.3);
Tailwind
colors: {
  custom: {
    50: '#debaff',
    500: '#ce9dff',
    950: '#000000',
  },
}
SCSS
$custom: #ce9dff;
$custom-light: #debaff;
$custom-dark: #000000;
JSON
{
  "hex": "#ce9dff",
  "rgb": {
    "r": 206,
    "g": 157,
    "b": 255
  },
  "hsl": {
    "h": 270,
    "s": 100,
    "l": 80.784
  },
  "oklch": {
    "l": 0.77782,
    "c": 0.14428,
    "h": 306.3
  },
  "luminance": 0.44456
}

Semantic roles & 50–950 ramp

primary
#CE9DFF
secondary
#E6F7D4
accent
#E60073
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151218
muted
#838186

Preview Lab

Preview with #CE9DFF

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

Preview Lab → · Contrast checker → · Palette generator →

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