#CF76DB#CF76DB

#CF76DB is a light, vivid purple. Relative luminance 0.313; OKLCH L 70.0% C 0.170 H 322.7°. Best body text is #000000 at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#CF76DB
RGBrgb(207, 118, 219)
HSLhsl(293, 58%, 66%)
HSVhsv(293, 46%, 86%)
CMYKcmyk(5.5%, 46.1%, 0%, 14.1%)
CIE-LABlab(62.79, 50.06, -37.32)
CIE-LCHlch(62.79, 62.44, 323.29°)
OKLaboklab(69.98% 0.1349 -0.1028)
OKLCHoklch(69.98% 0.17 322.7)
XYZxyz(44.9954, 31.3386, 70.6829)
Luminance0.3134 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF76DB #82DB76
analogous
#9C76DB #CF76DB #DB76B4
triadic
#CF76DB #DBCF76 #76DBCF
tetradic
#CF76DB #DB9C76 #82DB76 #76B4DB
square
#CF76DB #DB9C76 #82DB76 #76B4DB
split-complementary
#CF76DB #B4DB76 #76DB9C
monochromatic
#9B2DAA #BE46CE #CF76DB #E0A6E8 #F1D7F4

Accessibility & contrast

On white

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

On black

7.27
#CF76DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF76DB
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF76DB#FFFFFF#000000##000000
##CF76DB1.002.897.277.27
#FFFFFF2.891.0021.0021.00
#0000007.2721.001.001.00
##0000007.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6991DE
Deuteranopia (green-blind)
#829CD8
Tritanopia (blue-blind)
#D2829E
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #cf76db;
/* rgb */ color: rgb(207, 118, 219);
/* oklch */ color: oklch(70.0% 0.170 322.7);
Tailwind
colors: {
  custom: {
    50: '#dfa0e6',
    500: '#cf76db',
    950: '#000000',
  },
}
SCSS
$custom: #cf76db;
$custom-light: #dfa0e6;
$custom-dark: #000000;
JSON
{
  "hex": "#cf76db",
  "rgb": {
    "r": 207,
    "g": 118,
    "b": 219
  },
  "hsl": {
    "h": 292.871,
    "s": 58.382,
    "l": 66.078
  },
  "oklch": {
    "l": 0.69984,
    "c": 0.16958,
    "h": 322.7
  },
  "luminance": 0.31337
}

Semantic roles & 50–950 ramp

primary
#CF76DB
secondary
#CAE7C6
accent
#C62033
background
#FDFAFE
surface
#FBF3FC
border
#D4CDD5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CF76DB

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

Preview Lab → · Contrast checker → · Palette generator →

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