#CF96FB#CF96FB

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

Color values

HEX#CF96FB
RGBrgb(207, 150, 251)
HSLhsl(274, 93%, 79%)
HSVhsv(274, 40%, 98%)
CMYKcmyk(17.5%, 40.2%, 0%, 1.6%)
CIE-LABlab(70.90, 39.66, -42.29)
CIE-LCHlch(70.90, 57.98, 313.16°)
OKLaboklab(76.52% 0.0956 -0.1173)
OKLCHoklch(76.52% 0.151 309.2)
XYZxyz(54.0478, 42.0438, 96.5161)
Luminance0.4204 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF96FB #C2FB96
analogous
#9C96FB #CF96FB #FB96F5
triadic
#CF96FB #FBCF96 #96FBCF
tetradic
#CF96FB #FB9C96 #C2FB96 #96F5FB
square
#CF96FB #FB9C96 #C2FB96 #96F5FB
split-complementary
#CF96FB #F5FB96 #96FB9C
monochromatic
#9920F7 #B45BF9 #CF96FB #EAD1FD #F2E2FE

Accessibility & contrast

On white

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

On black

9.41
#CF96FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF96FB
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF96FB#FFFFFF#000000##000000
##CF96FB1.002.239.419.41
#FFFFFF2.231.0021.0021.00
#0000009.4121.001.001.00
##0000009.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#81ABFF
Deuteranopia (green-blind)
#8EAEF8
Tritanopia (blue-blind)
#CAA5BD
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #cf96fb;
/* rgb */ color: rgb(207, 150, 251);
/* oklch */ color: oklch(76.5% 0.151 309.2);
Tailwind
colors: {
  custom: {
    50: '#dfb6fd',
    500: '#cf96fb',
    950: '#000000',
  },
}
SCSS
$custom: #cf96fb;
$custom-light: #dfb6fd;
$custom-dark: #000000;
JSON
{
  "hex": "#cf96fb",
  "rgb": {
    "r": 207,
    "g": 150,
    "b": 251
  },
  "hsl": {
    "h": 273.861,
    "s": 92.661,
    "l": 78.627
  },
  "oklch": {
    "l": 0.76516,
    "c": 0.15127,
    "h": 309.2
  },
  "luminance": 0.42043
}

Semantic roles & 50–950 ramp

primary
#CF96FB
secondary
#E3F6D5
accent
#E60064
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #CF96FB

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

Preview Lab → · Contrast checker → · Palette generator →

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