#CF76EB#CF76EB

#CF76EB is a light, vivid purple. Relative luminance 0.322; OKLCH L 70.8% C 0.186 H 317.6°. Best body text is #000000 at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#CF76EB
RGBrgb(207, 118, 235)
HSLhsl(286, 75%, 69%)
HSVhsv(286, 50%, 92%)
CMYKcmyk(11.9%, 49.8%, 0%, 7.8%)
CIE-LABlab(63.53, 53.17, -45.08)
CIE-LCHlch(63.53, 69.71, 319.71°)
OKLaboklab(70.77% 0.1372 -0.1251)
OKLCHoklch(70.77% 0.186 317.6)
XYZxyz(47.2039, 32.2220, 82.3141)
Luminance0.3222 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF76EB #92EB76
analogous
#9576EB #CF76EB #EB76CD
triadic
#CF76EB #EBCF76 #76EBCF
tetradic
#CF76EB #EB9576 #92EB76 #76CDEB
square
#CF76EB #EB9576 #92EB76 #76CDEB
split-complementary
#CF76EB #CDEB76 #76EB95
monochromatic
#A01DC9 #BC41E3 #CF76EB #E2ABF3 #F4E1FB

Accessibility & contrast

On white

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

On black

7.44
#CF76EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF76EB
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF76EB#FFFFFF#000000##000000
##CF76EB1.002.827.447.44
#FFFFFF2.821.0021.0021.00
#0000007.4421.001.001.00
##0000007.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F94EF
Deuteranopia (green-blind)
#7A9DE8
Tritanopia (blue-blind)
#CF87A6
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #cf76eb;
/* rgb */ color: rgb(207, 118, 235);
/* oklch */ color: oklch(70.8% 0.186 317.6);
Tailwind
colors: {
  custom: {
    50: '#e0a0f2',
    500: '#cf76eb',
    950: '#000000',
  },
}
SCSS
$custom: #cf76eb;
$custom-light: #e0a0f2;
$custom-dark: #000000;
JSON
{
  "hex": "#cf76eb",
  "rgb": {
    "r": 207,
    "g": 118,
    "b": 235
  },
  "hsl": {
    "h": 285.641,
    "s": 74.522,
    "l": 69.216
  },
  "oklch": {
    "l": 0.70768,
    "c": 0.18567,
    "h": 317.6
  },
  "luminance": 0.3222
}

Semantic roles & 50–950 ramp

primary
#CF76EB
secondary
#D6EFCD
accent
#D70F3F
background
#FEFAFE
surface
#FCF3FD
border
#D5CDD5
text
#150F17
muted
#847F85

Preview Lab

Preview with #CF76EB

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

Preview Lab → · Contrast checker → · Palette generator →

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