#CF82EB#CF82EB

#CF82EB is a light, vivid purple. Relative luminance 0.352; OKLCH L 72.6% C 0.166 H 316.6°. Best body text is #000000 at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#CF82EB
RGBrgb(207, 130, 235)
HSLhsl(284, 72%, 72%)
HSVhsv(284, 45%, 92%)
CMYKcmyk(11.9%, 44.7%, 0%, 7.8%)
CIE-LABlab(65.93, 46.98, -41.31)
CIE-LCHlch(65.93, 62.56, 318.68°)
OKLaboklab(72.55% 0.1207 -0.1143)
OKLCHoklch(72.55% 0.166 316.6)
XYZxyz(48.7079, 35.2302, 82.8155)
Luminance0.3523 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF82EB #9EEB82
analogous
#9B82EB #CF82EB #EB82D3
triadic
#CF82EB #EBCF82 #82EBCF
tetradic
#CF82EB #EB9B82 #9EEB82 #82D3EB
square
#CF82EB #EB9B82 #9EEB82 #82D3EB
split-complementary
#CF82EB #D3EB82 #82EB9B
monochromatic
#A221D1 #BB4DE3 #CF82EB #E3B7F3 #F5E5FB

Accessibility & contrast

On white

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

On black

8.05
#CF82EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF82EB
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF82EB#FFFFFF#000000##000000
##CF82EB1.002.618.058.05
#FFFFFF2.611.0021.0021.00
#0000008.0521.001.001.00
##0000008.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F9BEF
Deuteranopia (green-blind)
#84A3E8
Tritanopia (blue-blind)
#CE91AB
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #cf82eb;
/* rgb */ color: rgb(207, 130, 235);
/* oklch */ color: oklch(72.6% 0.166 316.6);
Tailwind
colors: {
  custom: {
    50: '#dfa8f2',
    500: '#cf82eb',
    950: '#000000',
  },
}
SCSS
$custom: #cf82eb;
$custom-light: #dfa8f2;
$custom-dark: #000000;
JSON
{
  "hex": "#cf82eb",
  "rgb": {
    "r": 207,
    "g": 130,
    "b": 235
  },
  "hsl": {
    "h": 284,
    "s": 72.414,
    "l": 71.569
  },
  "oklch": {
    "l": 0.72553,
    "c": 0.16624,
    "h": 316.6
  },
  "luminance": 0.35229
}

Semantic roles & 50–950 ramp

primary
#CF82EB
secondary
#DEF2D7
accent
#D41145
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151017
muted
#837F85

Preview Lab

Preview with #CF82EB

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

Preview Lab → · Contrast checker → · Palette generator →

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