#CF96FD#CF96FD

#CF96FD is a light, vivid violet. Relative luminance 0.422; OKLCH L 76.6% C 0.154 H 308.6°. Best body text is #000000 at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#CF96FD
RGBrgb(207, 150, 253)
HSLhsl(273, 96%, 79%)
HSVhsv(273, 41%, 99%)
CMYKcmyk(18.2%, 40.7%, 0%, 0.8%)
CIE-LABlab(70.99, 40.10, -43.24)
CIE-LCHlch(70.99, 58.97, 312.84°)
OKLaboklab(76.61% 0.0959 -0.12)
OKLCHoklch(76.61% 0.154 308.6)
XYZxyz(54.3647, 42.1706, 98.1852)
Luminance0.4217 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF96FD #C4FD96
analogous
#9C96FD #CF96FD #FD96F8
triadic
#CF96FD #FDCF96 #96FDCF
tetradic
#CF96FD #FD9C96 #C4FD96 #96F8FD
square
#CF96FD #FD9C96 #C4FD96 #96F8FD
split-complementary
#CF96FD #F8FD96 #96FD9C
monochromatic
#981EFB #B45AFC #CF96FD #EAD2FE #F1E1FE

Accessibility & contrast

On white

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

On black

9.43
#CF96FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF96FD
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF96FD#FFFFFF#000000##000000
##CF96FD1.002.239.439.43
#FFFFFF2.231.0021.0021.00
#0000009.4321.001.001.00
##0000009.4321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cf96fd;
/* rgb */ color: rgb(207, 150, 253);
/* oklch */ color: oklch(76.6% 0.154 308.6);
Tailwind
colors: {
  custom: {
    50: '#dfb6fe',
    500: '#cf96fd',
    950: '#000000',
  },
}
SCSS
$custom: #cf96fd;
$custom-light: #dfb6fe;
$custom-dark: #000000;
JSON
{
  "hex": "#cf96fd",
  "rgb": {
    "r": 207,
    "g": 150,
    "b": 253
  },
  "hsl": {
    "h": 273.204,
    "s": 96.262,
    "l": 79.02
  },
  "oklch": {
    "l": 0.7661,
    "c": 0.15363,
    "h": 308.6
  },
  "luminance": 0.4217
}

Semantic roles & 50–950 ramp

primary
#CF96FD
secondary
#E4F7D4
accent
#E60066
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151118
muted
#838086

Preview Lab

Preview with #CF96FD

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

Preview Lab → · Contrast checker → · Palette generator →

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