#CF96FF#CF96FF

#CF96FF is a light, vivid violet. Relative luminance 0.423; OKLCH L 76.7% C 0.156 H 308.1°. Best body text is #000000 at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#CF96FF
RGBrgb(207, 150, 255)
HSLhsl(273, 100%, 79%)
HSVhsv(273, 41%, 100%)
CMYKcmyk(18.8%, 41.2%, 0%, 0%)
CIE-LABlab(71.08, 40.53, -44.19)
CIE-LCHlch(71.08, 59.96, 312.53°)
OKLaboklab(76.71% 0.0963 -0.1227)
OKLCHoklch(76.71% 0.156 308.1)
XYZxyz(54.6850, 42.2987, 99.8720)
Luminance0.4230 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF96FF #C6FF96
analogous
#9B96FF #CF96FF #FF96FB
triadic
#CF96FF #FFCF96 #96FFCF
tetradic
#CF96FF #FF9B96 #C6FF96 #96FBFF
square
#CF96FF #FF9B96 #C6FF96 #96FBFF
split-complementary
#CF96FF #FBFF96 #96FF9B
monochromatic
#971CFF #B359FF #CF96FF #EBD3FF #F1E0FF

Accessibility & contrast

On white

2.22
#CF96FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.46
#CF96FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF96FF
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF96FF#FFFFFF#000000##000000
##CF96FF1.002.229.469.46
#FFFFFF2.221.0021.0021.00
#0000009.4621.001.001.00
##0000009.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7FACFF
Deuteranopia (green-blind)
#8CAFFC
Tritanopia (blue-blind)
#C9A6BE
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #cf96ff;
/* rgb */ color: rgb(207, 150, 255);
/* oklch */ color: oklch(76.7% 0.156 308.1);
Tailwind
colors: {
  custom: {
    50: '#dfb6ff',
    500: '#cf96ff',
    950: '#000000',
  },
}
SCSS
$custom: #cf96ff;
$custom-light: #dfb6ff;
$custom-dark: #000000;
JSON
{
  "hex": "#cf96ff",
  "rgb": {
    "r": 207,
    "g": 150,
    "b": 255
  },
  "hsl": {
    "h": 272.571,
    "s": 100,
    "l": 79.412
  },
  "oklch": {
    "l": 0.76705,
    "c": 0.156,
    "h": 308.1
  },
  "luminance": 0.42298
}

Semantic roles & 50–950 ramp

primary
#CF96FF
secondary
#E4F7D4
accent
#E60069
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151118
muted
#838086

Preview Lab

Preview with #CF96FF

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

Preview Lab → · Contrast checker → · Palette generator →

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