#CF82DB#CF82DB

#CF82DB is a light, vivid purple. Relative luminance 0.343; OKLCH L 71.8% C 0.149 H 322.0°. Best body text is #000000 at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#CF82DB
RGBrgb(207, 130, 219)
HSLhsl(292, 55%, 68%)
HSVhsv(292, 41%, 86%)
CMYKcmyk(5.5%, 40.6%, 0%, 14.1%)
CIE-LABlab(65.24, 43.82, -33.52)
CIE-LCHlch(65.24, 55.17, 322.59°)
OKLaboklab(71.81% 0.1178 -0.092)
OKLCHoklch(71.81% 0.149 322)
XYZxyz(46.4995, 34.3468, 71.1843)
Luminance0.3434 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF82DB #8EDB82
analogous
#A282DB #CF82DB #DB82BA
triadic
#CF82DB #DBCF82 #82DBCF
tetradic
#CF82DB #DBA282 #8EDB82 #82BADB
square
#CF82DB #DBA282 #8EDB82 #82BADB
split-complementary
#CF82DB #BADB82 #82DBA2
monochromatic
#9F33B0 #BD52CD #CF82DB #E1B2E9 #F3E1F6

Accessibility & contrast

On white

2.67
#CF82DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.87
#CF82DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF82DB
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF82DB#FFFFFF#000000##000000
##CF82DB1.002.677.877.87
#FFFFFF2.671.0021.0021.00
#0000007.8721.001.001.00
##0000007.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7799DE
Deuteranopia (green-blind)
#8BA1D8
Tritanopia (blue-blind)
#D18CA4
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #cf82db;
/* rgb */ color: rgb(207, 130, 219);
/* oklch */ color: oklch(71.8% 0.149 322.0);
Tailwind
colors: {
  custom: {
    50: '#dfa8e6',
    500: '#cf82db',
    950: '#000000',
  },
}
SCSS
$custom: #cf82db;
$custom-light: #dfa8e6;
$custom-dark: #000000;
JSON
{
  "hex": "#cf82db",
  "rgb": {
    "r": 207,
    "g": 130,
    "b": 219
  },
  "hsl": {
    "h": 291.91,
    "s": 55.28,
    "l": 68.431
  },
  "oklch": {
    "l": 0.7181,
    "c": 0.14943,
    "h": 322
  },
  "luminance": 0.34345
}

Semantic roles & 50–950 ramp

primary
#CF82DB
secondary
#D3EACF
accent
#C32338
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #CF82DB

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

Preview Lab → · Contrast checker → · Palette generator →

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