#CF96FA#CF96FA

#CF96FA is a light, vivid violet. Relative luminance 0.420; OKLCH L 76.5% C 0.150 H 309.5°. Best body text is #000000 at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#CF96FA
RGBrgb(207, 150, 250)
HSLhsl(274, 91%, 78%)
HSVhsv(274, 40%, 98%)
CMYKcmyk(17.2%, 40%, 0%, 2%)
CIE-LABlab(70.86, 39.45, -41.82)
CIE-LCHlch(70.86, 57.49, 313.33°)
OKLaboklab(76.47% 0.0954 -0.1159)
OKLCHoklch(76.47% 0.15 309.5)
XYZxyz(53.8906, 41.9809, 95.6881)
Luminance0.4198 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF96FA #C1FA96
analogous
#9D96FA #CF96FA #FA96F3
triadic
#CF96FA #FACF96 #96FACF
tetradic
#CF96FA #FA9D96 #C1FA96 #96F3FA
square
#CF96FA #FA9D96 #C1FA96 #96F3FA
split-complementary
#CF96FA #F3FA96 #96FA9D
monochromatic
#9A21F4 #B45CF7 #CF96FA #EAD0FD #F2E2FE

Accessibility & contrast

On white

2.23
#CF96FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.40
#CF96FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF96FA
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF96FA#FFFFFF#000000##000000
##CF96FA1.002.239.409.40
#FFFFFF2.231.0021.0021.00
#0000009.4021.001.001.00
##0000009.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#81ABFE
Deuteranopia (green-blind)
#8FAEF7
Tritanopia (blue-blind)
#CAA5BC
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #cf96fa;
/* rgb */ color: rgb(207, 150, 250);
/* oklch */ color: oklch(76.5% 0.150 309.5);
Tailwind
colors: {
  custom: {
    50: '#dfb6fc',
    500: '#cf96fa',
    950: '#000000',
  },
}
SCSS
$custom: #cf96fa;
$custom-light: #dfb6fc;
$custom-dark: #000000;
JSON
{
  "hex": "#cf96fa",
  "rgb": {
    "r": 207,
    "g": 150,
    "b": 250
  },
  "hsl": {
    "h": 274.2,
    "s": 90.909,
    "l": 78.431
  },
  "oklch": {
    "l": 0.76469,
    "c": 0.15009,
    "h": 309.5
  },
  "luminance": 0.4198
}

Semantic roles & 50–950 ramp

primary
#CF96FA
secondary
#E3F6D5
accent
#E60063
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #CF96FA

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

Preview Lab → · Contrast checker → · Palette generator →

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