#CF96EC#CF96EC

#CF96EC is a light, vivid violet. Relative luminance 0.411; OKLCH L 75.8% C 0.134 H 313.8°. Best body text is #000000 at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#CF96EC
RGBrgb(207, 150, 236)
HSLhsl(280, 69%, 76%)
HSVhsv(280, 36%, 93%)
CMYKcmyk(12.3%, 36.4%, 0%, 7.5%)
CIE-LABlab(70.27, 36.50, -35.09)
CIE-LCHlch(70.27, 50.63, 316.13°)
OKLaboklab(75.83% 0.0925 -0.0966)
OKLCHoklch(75.83% 0.134 313.8)
XYZxyz(51.7763, 41.1352, 84.5530)
Luminance0.4113 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF96EC #B3EC96
analogous
#A496EC #CF96EC #EC96DE
triadic
#CF96EC #ECCF96 #96ECCF
tetradic
#CF96EC #ECA496 #B3EC96 #96DEEC
square
#CF96EC #ECA496 #B3EC96 #96DEEC
split-complementary
#CF96EC #DEEC96 #96ECA4
monochromatic
#A02ED9 #B762E3 #CF96EC #E7CAF5 #F3E5FA

Accessibility & contrast

On white

2.28
#CF96EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.23
#CF96EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF96EC
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF96EC#FFFFFF#000000##000000
##CF96EC1.002.289.239.23
#FFFFFF2.281.0021.0021.00
#0000009.2321.001.001.00
##0000009.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#87A9EF
Deuteranopia (green-blind)
#95ADE9
Tritanopia (blue-blind)
#CDA1B6
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #cf96ec;
/* rgb */ color: rgb(207, 150, 236);
/* oklch */ color: oklch(75.8% 0.134 313.8);
Tailwind
colors: {
  custom: {
    50: '#dfb5f2',
    500: '#cf96ec',
    950: '#000000',
  },
}
SCSS
$custom: #cf96ec;
$custom-light: #dfb5f2;
$custom-dark: #000000;
JSON
{
  "hex": "#cf96ec",
  "rgb": {
    "r": 207,
    "g": 150,
    "b": 236
  },
  "hsl": {
    "h": 279.767,
    "s": 69.355,
    "l": 75.686
  },
  "oklch": {
    "l": 0.75833,
    "c": 0.13373,
    "h": 313.8
  },
  "luminance": 0.41134
}

Semantic roles & 50–950 ramp

primary
#CF96EC
secondary
#E1F2D9
accent
#D11454
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #CF96EC

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

Preview Lab → · Contrast checker → · Palette generator →

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