#CF76EE#CF76EE

#CF76EE is a light, vivid purple. Relative luminance 0.324; OKLCH L 70.9% C 0.189 H 316.8°. Best body text is #000000 at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#CF76EE
RGBrgb(207, 118, 238)
HSLhsl(285, 78%, 70%)
HSVhsv(285, 50%, 93%)
CMYKcmyk(13%, 50.4%, 0%, 6.7%)
CIE-LABlab(63.67, 53.77, -46.52)
CIE-LCHlch(63.67, 71.10, 319.14°)
OKLaboklab(70.92% 0.1375 -0.1293)
OKLCHoklch(70.92% 0.189 316.8)
XYZxyz(47.6409, 32.3969, 84.6160)
Luminance0.3240 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF76EE #95EE76
analogous
#9376EE #CF76EE #EE76D1
triadic
#CF76EE #EECF76 #76EECF
tetradic
#CF76EE #EE9376 #95EE76 #76D1EE
square
#CF76EE #EE9376 #95EE76 #76D1EE
split-complementary
#CF76EE #D1EE76 #76EE93
monochromatic
#A11AD0 #BC40E7 #CF76EE #E2ACF5 #F5E3FC

Accessibility & contrast

On white

2.81
#CF76EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.48
#CF76EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF76EE
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF76EE#FFFFFF#000000##000000
##CF76EE1.002.817.487.48
#FFFFFF2.811.0021.0021.00
#0000007.4821.001.001.00
##0000007.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D95F2
Deuteranopia (green-blind)
#799DEB
Tritanopia (blue-blind)
#CE88A7
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #cf76ee;
/* rgb */ color: rgb(207, 118, 238);
/* oklch */ color: oklch(70.9% 0.189 316.8);
Tailwind
colors: {
  custom: {
    50: '#e0a0f4',
    500: '#cf76ee',
    950: '#000000',
  },
}
SCSS
$custom: #cf76ee;
$custom-light: #e0a0f4;
$custom-dark: #000000;
JSON
{
  "hex": "#cf76ee",
  "rgb": {
    "r": 207,
    "g": 118,
    "b": 238
  },
  "hsl": {
    "h": 284.5,
    "s": 77.922,
    "l": 69.804
  },
  "oklch": {
    "l": 0.70921,
    "c": 0.18874,
    "h": 316.8
  },
  "luminance": 0.32395
}

Semantic roles & 50–950 ramp

primary
#CF76EE
secondary
#D8F1CF
accent
#DA0B41
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#150F17
muted
#847F85

Preview Lab

Preview with #CF76EE

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

Preview Lab → · Contrast checker → · Palette generator →

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