#CF76E2#CF76E2

#CF76E2 is a light, vivid purple. Relative luminance 0.317; OKLCH L 70.3% C 0.177 H 320.4°. Best body text is #000000 at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#CF76E2
RGBrgb(207, 118, 226)
HSLhsl(289, 65%, 67%)
HSVhsv(289, 48%, 89%)
CMYKcmyk(8.4%, 47.8%, 0%, 11.4%)
CIE-LABlab(63.11, 51.41, -40.74)
CIE-LCHlch(63.11, 65.59, 321.60°)
OKLaboklab(70.32% 0.136 -0.1126)
OKLCHoklch(70.32% 0.177 320.4)
XYZxyz(45.9364, 31.7150, 75.6386)
Luminance0.3171 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF76E2 #89E276
analogous
#9976E2 #CF76E2 #E276BF
triadic
#CF76E2 #E2CF76 #76E2CF
tetradic
#CF76E2 #E29976 #89E276 #76BFE2
square
#CF76E2 #E29976 #89E276 #76BFE2
split-complementary
#CF76E2 #BFE276 #76E299
monochromatic
#9E27B7 #BD43D7 #CF76E2 #E1A9ED #F2DBF7

Accessibility & contrast

On white

2.86
#CF76E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.34
#CF76E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF76E2
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF76E2#FFFFFF#000000##000000
##CF76E21.002.867.347.34
#FFFFFF2.861.0021.0021.00
#0000007.3421.001.001.00
##0000007.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6592E6
Deuteranopia (green-blind)
#7F9CDF
Tritanopia (blue-blind)
#D084A2
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #cf76e2;
/* rgb */ color: rgb(207, 118, 226);
/* oklch */ color: oklch(70.3% 0.177 320.4);
Tailwind
colors: {
  custom: {
    50: '#e0a0eb',
    500: '#cf76e2',
    950: '#000000',
  },
}
SCSS
$custom: #cf76e2;
$custom-light: #e0a0eb;
$custom-dark: #000000;
JSON
{
  "hex": "#cf76e2",
  "rgb": {
    "r": 207,
    "g": 118,
    "b": 226
  },
  "hsl": {
    "h": 289.444,
    "s": 65.06,
    "l": 67.451
  },
  "oklch": {
    "l": 0.70321,
    "c": 0.17654,
    "h": 320.4
  },
  "luminance": 0.31713
}

Semantic roles & 50–950 ramp

primary
#CF76E2
secondary
#CFEBC9
accent
#CD1938
background
#FDFAFE
surface
#FBF3FD
border
#D4CDD5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CF76E2

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

Preview Lab → · Contrast checker → · Palette generator →

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