#CF96EB#CF96EB

#CF96EB is a light, vivid purple. Relative luminance 0.411; OKLCH L 75.8% C 0.133 H 314.1°. Best body text is #000000 at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#CF96EB
RGBrgb(207, 150, 235)
HSLhsl(280, 68%, 75%)
HSVhsv(280, 36%, 92%)
CMYKcmyk(11.9%, 36.2%, 0%, 7.8%)
CIE-LABlab(70.23, 36.29, -34.60)
CIE-LCHlch(70.23, 50.14, 316.36°)
OKLaboklab(75.79% 0.0923 -0.0952)
OKLCHoklch(75.79% 0.133 314.1)
XYZxyz(51.6315, 41.0773, 83.7900)
Luminance0.4108 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF96EB #B2EB96
analogous
#A496EB #CF96EB #EB96DD
triadic
#CF96EB #EBCF96 #96EBCF
tetradic
#CF96EB #EBA496 #B2EB96 #96DDEB
square
#CF96EB #EBA496 #B2EB96 #96DDEB
split-complementary
#CF96EB #DDEB96 #96EBA4
monochromatic
#A02FD7 #B763E1 #CF96EB #E7C9F5 #F3E5FA

Accessibility & contrast

On white

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

On black

9.22
#CF96EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF96EB
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF96EB#FFFFFF#000000##000000
##CF96EB1.002.289.229.22
#FFFFFF2.281.0021.0021.00
#0000009.2221.001.001.00
##0000009.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#88A8EE
Deuteranopia (green-blind)
#95ADE8
Tritanopia (blue-blind)
#CDA1B6
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #cf96eb;
/* rgb */ color: rgb(207, 150, 235);
/* oklch */ color: oklch(75.8% 0.133 314.1);
Tailwind
colors: {
  custom: {
    50: '#dfb5f1',
    500: '#cf96eb',
    950: '#000000',
  },
}
SCSS
$custom: #cf96eb;
$custom-light: #dfb5f1;
$custom-dark: #000000;
JSON
{
  "hex": "#cf96eb",
  "rgb": {
    "r": 207,
    "g": 150,
    "b": 235
  },
  "hsl": {
    "h": 280.235,
    "s": 68,
    "l": 75.49
  },
  "oklch": {
    "l": 0.75789,
    "c": 0.13258,
    "h": 314.1
  },
  "luminance": 0.41076
}

Semantic roles & 50–950 ramp

primary
#CF96EB
secondary
#E1F2D9
accent
#D01653
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #CF96EB

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

Preview Lab → · Contrast checker → · Palette generator →

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