#CE91FC#CE91FC

#CE91FC is a light, vivid violet. Relative luminance 0.404; OKLCH L 75.6% C 0.160 H 309.3°. Best body text is #000000 at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#CE91FC
RGBrgb(206, 145, 252)
HSLhsl(274, 95%, 78%)
HSVhsv(274, 42%, 99%)
CMYKcmyk(18.3%, 42.5%, 0%, 1.2%)
CIE-LABlab(69.75, 42.29, -44.64)
CIE-LCHlch(69.75, 61.49, 313.45°)
OKLaboklab(75.65% 0.1015 -0.124)
OKLCHoklch(75.65% 0.16 309.3)
XYZxyz(53.1464, 40.4016, 97.0751)
Luminance0.4040 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE91FC #BFFC91
analogous
#9991FC #CE91FC #FC91F4
triadic
#CE91FC #FCCE91 #91FCCE
tetradic
#CE91FC #FC9991 #BFFC91 #91F4FC
square
#CE91FC #FC9991 #BFFC91 #91F4FC
split-complementary
#CE91FC #F4FC91 #91FC99
monochromatic
#991AF9 #B355FA #CE91FC #E9CDFE #F2E1FE

Accessibility & contrast

On white

2.31
#CE91FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.08
#CE91FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CE91FC
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE91FC#FFFFFF#000000##000000
##CE91FC1.002.319.089.08
#FFFFFF2.311.0021.0021.00
#0000009.0821.001.001.00
##0000009.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A8FF
Deuteranopia (green-blind)
#89ABF9
Tritanopia (blue-blind)
#C8A1BB
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #ce91fc;
/* rgb */ color: rgb(206, 145, 252);
/* oklch */ color: oklch(75.6% 0.160 309.3);
Tailwind
colors: {
  custom: {
    50: '#dfb2fe',
    500: '#ce91fc',
    950: '#000000',
  },
}
SCSS
$custom: #ce91fc;
$custom-light: #dfb2fe;
$custom-dark: #000000;
JSON
{
  "hex": "#ce91fc",
  "rgb": {
    "r": 206,
    "g": 145,
    "b": 252
  },
  "hsl": {
    "h": 274.206,
    "s": 94.69,
    "l": 77.843
  },
  "oklch": {
    "l": 0.75645,
    "c": 0.16027,
    "h": 309.3
  },
  "luminance": 0.40401
}

Semantic roles & 50–950 ramp

primary
#CE91FC
secondary
#E3F6D5
accent
#E60063
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151118
muted
#838086

Preview Lab

Preview with #CE91FC

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

Preview Lab → · Contrast checker → · Palette generator →

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