#CF96F9#CF96F9

#CF96F9 is a light, vivid violet. Relative luminance 0.419; OKLCH L 76.4% C 0.149 H 309.7°. Best body text is #000000 at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#CF96F9
RGBrgb(207, 150, 249)
HSLhsl(275, 89%, 78%)
HSVhsv(275, 40%, 98%)
CMYKcmyk(16.9%, 39.8%, 0%, 2.4%)
CIE-LABlab(70.81, 39.23, -41.34)
CIE-LCHlch(70.81, 56.99, 313.50°)
OKLaboklab(76.42% 0.0952 -0.1145)
OKLCHoklch(76.42% 0.149 309.7)
XYZxyz(53.7342, 41.9184, 94.8645)
Luminance0.4192 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF96F9 #C0F996
analogous
#9D96F9 #CF96F9 #F996F2
triadic
#CF96F9 #F9CF96 #96F9CF
tetradic
#CF96F9 #F99D96 #C0F996 #96F2F9
square
#CF96F9 #F99D96 #C0F996 #96F2F9
split-complementary
#CF96F9 #F2F996 #96F99D
monochromatic
#9A22F2 #B55CF6 #CF96F9 #E9D0FC #F2E2FD

Accessibility & contrast

On white

2.24
#CF96F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.38
#CF96F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF96F9
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF96F9#FFFFFF#000000##000000
##CF96F91.002.249.389.38
#FFFFFF2.241.0021.0021.00
#0000009.3821.001.001.00
##0000009.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#82ABFD
Deuteranopia (green-blind)
#8FAEF6
Tritanopia (blue-blind)
#CAA5BC
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #cf96f9;
/* rgb */ color: rgb(207, 150, 249);
/* oklch */ color: oklch(76.4% 0.149 309.7);
Tailwind
colors: {
  custom: {
    50: '#dfb6fb',
    500: '#cf96f9',
    950: '#000000',
  },
}
SCSS
$custom: #cf96f9;
$custom-light: #dfb6fb;
$custom-dark: #000000;
JSON
{
  "hex": "#cf96f9",
  "rgb": {
    "r": 207,
    "g": 150,
    "b": 249
  },
  "hsl": {
    "h": 274.545,
    "s": 89.189,
    "l": 78.235
  },
  "oklch": {
    "l": 0.76422,
    "c": 0.14891,
    "h": 309.7
  },
  "luminance": 0.41918
}

Semantic roles & 50–950 ramp

primary
#CF96F9
secondary
#E3F5D6
accent
#E60061
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #CF96F9

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

Preview Lab → · Contrast checker → · Palette generator →

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