#CF82EE#CF82EE

#CF82EE is a light, vivid purple. Relative luminance 0.354; OKLCH L 72.7% C 0.169 H 315.6°. Best body text is #000000 at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#CF82EE
RGBrgb(207, 130, 238)
HSLhsl(283, 76%, 72%)
HSVhsv(283, 45%, 93%)
CMYKcmyk(13%, 45.4%, 0%, 6.7%)
CIE-LABlab(66.06, 47.59, -42.75)
CIE-LCHlch(66.06, 63.98, 318.07°)
OKLaboklab(72.7% 0.1212 -0.1185)
OKLCHoklch(72.7% 0.169 315.6)
XYZxyz(49.1450, 35.4051, 85.1174)
Luminance0.3540 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF82EE #A1EE82
analogous
#9982EE #CF82EE #EE82D7
triadic
#CF82EE #EECF82 #82EECF
tetradic
#CF82EE #EE9982 #A1EE82 #82D7EE
square
#CF82EE #EE9982 #A1EE82 #82D7EE
split-complementary
#CF82EE #D7EE82 #82EE99
monochromatic
#A31DD8 #BA4CE7 #CF82EE #E4B8F5 #F5E4FB

Accessibility & contrast

On white

2.60
#CF82EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.08
#CF82EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF82EE
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF82EE#FFFFFF#000000##000000
##CF82EE1.002.608.088.08
#FFFFFF2.601.0021.0021.00
#0000008.0821.001.001.00
##0000008.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E9CF2
Deuteranopia (green-blind)
#83A3EB
Tritanopia (blue-blind)
#CD91AD
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #cf82ee;
/* rgb */ color: rgb(207, 130, 238);
/* oklch */ color: oklch(72.7% 0.169 315.6);
Tailwind
colors: {
  custom: {
    50: '#dfa8f4',
    500: '#cf82ee',
    950: '#000000',
  },
}
SCSS
$custom: #cf82ee;
$custom-light: #dfa8f4;
$custom-dark: #000000;
JSON
{
  "hex": "#cf82ee",
  "rgb": {
    "r": 207,
    "g": 130,
    "b": 238
  },
  "hsl": {
    "h": 282.778,
    "s": 76.056,
    "l": 72.157
  },
  "oklch": {
    "l": 0.72698,
    "c": 0.16947,
    "h": 315.6
  },
  "luminance": 0.35404
}

Semantic roles & 50–950 ramp

primary
#CF82EE
secondary
#E0F3D8
accent
#D80D48
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151017
muted
#837F85

Preview Lab

Preview with #CF82EE

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

Preview Lab → · Contrast checker → · Palette generator →

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