#CF96FC#CF96FC

#CF96FC is a light, vivid violet. Relative luminance 0.421; OKLCH L 76.6% C 0.152 H 308.9°. Best body text is #000000 at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#CF96FC
RGBrgb(207, 150, 252)
HSLhsl(274, 94%, 79%)
HSVhsv(274, 40%, 99%)
CMYKcmyk(17.9%, 40.5%, 0%, 1.2%)
CIE-LABlab(70.94, 39.88, -42.77)
CIE-LCHlch(70.94, 58.48, 313.00°)
OKLaboklab(76.56% 0.0957 -0.1186)
OKLCHoklch(76.56% 0.152 308.9)
XYZxyz(54.2059, 42.1070, 97.3485)
Luminance0.4211 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF96FC #C3FC96
analogous
#9C96FC #CF96FC #FC96F6
triadic
#CF96FC #FCCF96 #96FCCF
tetradic
#CF96FC #FC9C96 #C3FC96 #96F6FC
square
#CF96FC #FC9C96 #C3FC96 #96F6FC
split-complementary
#CF96FC #F6FC96 #96FC9C
monochromatic
#991FF9 #B45BFA #CF96FC #EAD2FE #F1E1FE

Accessibility & contrast

On white

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

On black

9.42
#CF96FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF96FC
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF96FC#FFFFFF#000000##000000
##CF96FC1.002.239.429.42
#FFFFFF2.231.0021.0021.00
#0000009.4221.001.001.00
##0000009.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#80ABFF
Deuteranopia (green-blind)
#8EAFF9
Tritanopia (blue-blind)
#C9A5BD
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #cf96fc;
/* rgb */ color: rgb(207, 150, 252);
/* oklch */ color: oklch(76.6% 0.152 308.9);
Tailwind
colors: {
  custom: {
    50: '#dfb6fd',
    500: '#cf96fc',
    950: '#000000',
  },
}
SCSS
$custom: #cf96fc;
$custom-light: #dfb6fd;
$custom-dark: #000000;
JSON
{
  "hex": "#cf96fc",
  "rgb": {
    "r": 207,
    "g": 150,
    "b": 252
  },
  "hsl": {
    "h": 273.529,
    "s": 94.444,
    "l": 78.824
  },
  "oklch": {
    "l": 0.76563,
    "c": 0.15245,
    "h": 308.9
  },
  "luminance": 0.42106
}

Semantic roles & 50–950 ramp

primary
#CF96FC
secondary
#E4F6D5
accent
#E60065
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151118
muted
#838086

Preview Lab

Preview with #CF96FC

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

Preview Lab → · Contrast checker → · Palette generator →

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