#CF76EC#CF76EC

#CF76EC is a light, vivid purple. Relative luminance 0.323; OKLCH L 70.8% C 0.187 H 317.3°. Best body text is #000000 at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#CF76EC
RGBrgb(207, 118, 236)
HSLhsl(285, 76%, 69%)
HSVhsv(285, 50%, 93%)
CMYKcmyk(12.3%, 50%, 0%, 7.5%)
CIE-LABlab(63.57, 53.37, -45.56)
CIE-LCHlch(63.57, 70.17, 319.52°)
OKLaboklab(70.82% 0.1373 -0.1265)
OKLCHoklch(70.82% 0.187 317.3)
XYZxyz(47.3487, 32.2800, 83.0771)
Luminance0.3228 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF76EC #93EC76
analogous
#9476EC #CF76EC #EC76CE
triadic
#CF76EC #ECCF76 #76ECCF
tetradic
#CF76EC #EC9476 #93EC76 #76CEEC
square
#CF76EC #EC9476 #93EC76 #76CEEC
split-complementary
#CF76EC #CEEC76 #76EC94
monochromatic
#A01CCB #BC40E5 #CF76EC #E2ACF3 #F5E1FB

Accessibility & contrast

On white

2.82
#CF76EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.46
#CF76EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF76EC
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF76EC#FFFFFF#000000##000000
##CF76EC1.002.827.467.46
#FFFFFF2.821.0021.0021.00
#0000007.4621.001.001.00
##0000007.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F94F0
Deuteranopia (green-blind)
#7A9DE9
Tritanopia (blue-blind)
#CE87A6
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #cf76ec;
/* rgb */ color: rgb(207, 118, 236);
/* oklch */ color: oklch(70.8% 0.187 317.3);
Tailwind
colors: {
  custom: {
    50: '#e0a0f2',
    500: '#cf76ec',
    950: '#000000',
  },
}
SCSS
$custom: #cf76ec;
$custom-light: #e0a0f2;
$custom-dark: #000000;
JSON
{
  "hex": "#cf76ec",
  "rgb": {
    "r": 207,
    "g": 118,
    "b": 236
  },
  "hsl": {
    "h": 285.254,
    "s": 75.641,
    "l": 69.412
  },
  "oklch": {
    "l": 0.70819,
    "c": 0.18669,
    "h": 317.3
  },
  "luminance": 0.32278
}

Semantic roles & 50–950 ramp

primary
#CF76EC
secondary
#D6F0CE
accent
#D80E3F
background
#FEFAFE
surface
#FCF3FD
border
#D5CDD5
text
#150F17
muted
#847F85

Preview Lab

Preview with #CF76EC

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

Preview Lab → · Contrast checker → · Palette generator →

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