#CF82EA#CF82EA

#CF82EA is a light, vivid purple. Relative luminance 0.352; OKLCH L 72.5% C 0.165 H 316.9°. Best body text is #000000 at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#CF82EA
RGBrgb(207, 130, 234)
HSLhsl(284, 71%, 71%)
HSVhsv(284, 44%, 92%)
CMYKcmyk(11.5%, 44.4%, 0%, 8.2%)
CIE-LABlab(65.88, 46.78, -40.83)
CIE-LCHlch(65.88, 62.09, 318.89°)
OKLaboklab(72.51% 0.1205 -0.1129)
OKLCHoklch(72.51% 0.165 316.9)
XYZxyz(48.5639, 35.1726, 82.0567)
Luminance0.3517 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF82EA #9DEA82
analogous
#9B82EA #CF82EA #EA82D1
triadic
#CF82EA #EACF82 #82EACF
tetradic
#CF82EA #EA9B82 #9DEA82 #82D1EA
square
#CF82EA #EA9B82 #9DEA82 #82D1EA
split-complementary
#CF82EA #D1EA82 #82EA9B
monochromatic
#A223CF #BB4EE1 #CF82EA #E3B6F3 #F5E5FB

Accessibility & contrast

On white

2.61
#CF82EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.03
#CF82EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF82EA
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF82EA#FFFFFF#000000##000000
##CF82EA1.002.618.038.03
#FFFFFF2.611.0021.0021.00
#0000008.0321.001.001.00
##0000008.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#709BEE
Deuteranopia (green-blind)
#85A3E7
Tritanopia (blue-blind)
#CE90AB
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #cf82ea;
/* rgb */ color: rgb(207, 130, 234);
/* oklch */ color: oklch(72.5% 0.165 316.9);
Tailwind
colors: {
  custom: {
    50: '#dfa8f1',
    500: '#cf82ea',
    950: '#000000',
  },
}
SCSS
$custom: #cf82ea;
$custom-light: #dfa8f1;
$custom-dark: #000000;
JSON
{
  "hex": "#cf82ea",
  "rgb": {
    "r": 207,
    "g": 130,
    "b": 234
  },
  "hsl": {
    "h": 284.423,
    "s": 71.233,
    "l": 71.373
  },
  "oklch": {
    "l": 0.72505,
    "c": 0.16516,
    "h": 316.9
  },
  "luminance": 0.35171
}

Semantic roles & 50–950 ramp

primary
#CF82EA
secondary
#DDF1D6
accent
#D31244
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151017
muted
#837F85

Preview Lab

Preview with #CF82EA

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

Preview Lab → · Contrast checker → · Palette generator →

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