#CF96EA#CF96EA

#CF96EA is a light, vivid purple. Relative luminance 0.410; OKLCH L 75.7% C 0.131 H 314.5°. Best body text is #000000 at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#CF96EA
RGBrgb(207, 150, 234)
HSLhsl(281, 67%, 75%)
HSVhsv(281, 36%, 92%)
CMYKcmyk(11.5%, 35.9%, 0%, 8.2%)
CIE-LABlab(70.19, 36.08, -34.12)
CIE-LCHlch(70.19, 49.66, 316.60°)
OKLaboklab(75.74% 0.092 -0.0938)
OKLCHoklch(75.74% 0.131 314.5)
XYZxyz(51.4874, 41.0196, 83.0312)
Luminance0.4102 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF96EA #B1EA96
analogous
#A596EA #CF96EA #EA96DB
triadic
#CF96EA #EACF96 #96EACF
tetradic
#CF96EA #EAA596 #B1EA96 #96DBEA
square
#CF96EA #EAA596 #B1EA96 #96DBEA
split-complementary
#CF96EA #DBEA96 #96EAA5
monochromatic
#A030D6 #B863E0 #CF96EA #E6C9F4 #F3E5FA

Accessibility & contrast

On white

2.28
#CF96EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.20
#CF96EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF96EA
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF96EA#FFFFFF#000000##000000
##CF96EA1.002.289.209.20
#FFFFFF2.281.0021.0021.00
#0000009.2021.001.001.00
##0000009.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#88A8ED
Deuteranopia (green-blind)
#96ADE7
Tritanopia (blue-blind)
#CDA1B5
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #cf96ea;
/* rgb */ color: rgb(207, 150, 234);
/* oklch */ color: oklch(75.7% 0.131 314.5);
Tailwind
colors: {
  custom: {
    50: '#dfb5f1',
    500: '#cf96ea',
    950: '#000000',
  },
}
SCSS
$custom: #cf96ea;
$custom-light: #dfb5f1;
$custom-dark: #000000;
JSON
{
  "hex": "#cf96ea",
  "rgb": {
    "r": 207,
    "g": 150,
    "b": 234
  },
  "hsl": {
    "h": 280.714,
    "s": 66.667,
    "l": 75.294
  },
  "oklch": {
    "l": 0.75745,
    "c": 0.13143,
    "h": 314.5
  },
  "luminance": 0.41019
}

Semantic roles & 50–950 ramp

primary
#CF96EA
secondary
#E1F1DA
accent
#CF1752
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #CF96EA

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

Preview Lab → · Contrast checker → · Palette generator →

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