#CF96EF#CF96EF

#CF96EF is a light, vivid violet. Relative luminance 0.413; OKLCH L 76.0% C 0.137 H 312.8°. Best body text is #000000 at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#CF96EF
RGBrgb(207, 150, 239)
HSLhsl(278, 74%, 76%)
HSVhsv(278, 37%, 94%)
CMYKcmyk(13.4%, 37.2%, 0%, 6.3%)
CIE-LABlab(70.39, 37.12, -36.54)
CIE-LCHlch(70.39, 52.09, 315.45°)
OKLaboklab(75.97% 0.0932 -0.1007)
OKLCHoklch(75.97% 0.137 312.8)
XYZxyz(52.2159, 41.3110, 86.8677)
Luminance0.4131 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF96EF #B6EF96
analogous
#A396EF #CF96EF #EF96E3
triadic
#CF96EF #EFCF96 #96EFCF
tetradic
#CF96EF #EFA396 #B6EF96 #96E3EF
square
#CF96EF #EFA396 #B6EF96 #96E3EF
split-complementary
#CF96EF #E3EF96 #96EFA3
monochromatic
#9E2CDF #B761E7 #CF96EF #E7CBF7 #F3E4FB

Accessibility & contrast

On white

2.27
#CF96EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.26
#CF96EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF96EF
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF96EF#FFFFFF#000000##000000
##CF96EF1.002.279.269.26
#FFFFFF2.271.0021.0021.00
#0000009.2621.001.001.00
##0000009.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#86A9F2
Deuteranopia (green-blind)
#94AEEC
Tritanopia (blue-blind)
#CCA2B7
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #cf96ef;
/* rgb */ color: rgb(207, 150, 239);
/* oklch */ color: oklch(76.0% 0.137 312.8);
Tailwind
colors: {
  custom: {
    50: '#dfb5f4',
    500: '#cf96ef',
    950: '#000000',
  },
}
SCSS
$custom: #cf96ef;
$custom-light: #dfb5f4;
$custom-dark: #000000;
JSON
{
  "hex": "#cf96ef",
  "rgb": {
    "r": 207,
    "g": 150,
    "b": 239
  },
  "hsl": {
    "h": 278.427,
    "s": 73.554,
    "l": 76.275
  },
  "oklch": {
    "l": 0.75966,
    "c": 0.13721,
    "h": 312.8
  },
  "luminance": 0.4131
}

Semantic roles & 50–950 ramp

primary
#CF96EF
secondary
#E2F3D8
accent
#D61057
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #CF96EF

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

Preview Lab → · Contrast checker → · Palette generator →

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