#CF76DC#CF76DC

#CF76DC is a light, vivid purple. Relative luminance 0.314; OKLCH L 70.0% C 0.171 H 322.4°. Best body text is #000000 at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#CF76DC
RGBrgb(207, 118, 220)
HSLhsl(292, 59%, 66%)
HSVhsv(292, 46%, 86%)
CMYKcmyk(5.9%, 46.4%, 0%, 13.7%)
CIE-LABlab(62.84, 50.25, -37.81)
CIE-LCHlch(62.84, 62.89, 323.04°)
OKLaboklab(70.03% 0.1351 -0.1042)
OKLCHoklch(70.03% 0.171 322.4)
XYZxyz(45.1274, 31.3915, 71.3783)
Luminance0.3139 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF76DC #83DC76
analogous
#9C76DC #CF76DC #DC76B6
triadic
#CF76DC #DCCF76 #76DCCF
tetradic
#CF76DC #DC9C76 #83DC76 #76B6DC
square
#CF76DC #DC9C76 #83DC76 #76B6DC
split-complementary
#CF76DC #B6DC76 #76DC9C
monochromatic
#9B2CAC #BE45D0 #CF76DC #E0A7E8 #F1D7F5

Accessibility & contrast

On white

2.89
#CF76DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.28
#CF76DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF76DC
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF76DC#FFFFFF#000000##000000
##CF76DC1.002.897.287.28
#FFFFFF2.891.0021.0021.00
#0000007.2821.001.001.00
##0000007.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6891E0
Deuteranopia (green-blind)
#829CD9
Tritanopia (blue-blind)
#D2839F
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #cf76dc;
/* rgb */ color: rgb(207, 118, 220);
/* oklch */ color: oklch(70.0% 0.171 322.4);
Tailwind
colors: {
  custom: {
    50: '#dfa0e7',
    500: '#cf76dc',
    950: '#000000',
  },
}
SCSS
$custom: #cf76dc;
$custom-light: #dfa0e7;
$custom-dark: #000000;
JSON
{
  "hex": "#cf76dc",
  "rgb": {
    "r": 207,
    "g": 118,
    "b": 220
  },
  "hsl": {
    "h": 292.353,
    "s": 59.302,
    "l": 66.275
  },
  "oklch": {
    "l": 0.70032,
    "c": 0.17056,
    "h": 322.4
  },
  "luminance": 0.3139
}

Semantic roles & 50–950 ramp

primary
#CF76DC
secondary
#CAE8C6
accent
#C71F34
background
#FDFAFE
surface
#FBF3FC
border
#D4CDD5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CF76DC

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

Preview Lab → · Contrast checker → · Palette generator →

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