#CF82EF#CF82EF

#CF82EF is a light, vivid purple. Relative luminance 0.355; OKLCH L 72.7% C 0.171 H 315.3°. Best body text is #000000 at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#CF82EF
RGBrgb(207, 130, 239)
HSLhsl(282, 77%, 72%)
HSVhsv(282, 46%, 94%)
CMYKcmyk(13.4%, 45.6%, 0%, 6.3%)
CIE-LABlab(66.11, 47.80, -43.23)
CIE-LCHlch(66.11, 64.45, 317.87°)
OKLaboklab(72.75% 0.1213 -0.1199)
OKLCHoklch(72.75% 0.171 315.3)
XYZxyz(49.2923, 35.4640, 85.8932)
Luminance0.3546 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF82EF #A2EF82
analogous
#9882EF #CF82EF #EF82D9
triadic
#CF82EF #EFCF82 #82EFCF
tetradic
#CF82EF #EF9882 #A2EF82 #82D9EF
square
#CF82EF #EF9882 #A2EF82 #82D9EF
split-complementary
#CF82EF #D9EF82 #82EF98
monochromatic
#A31CDB #BA4CE8 #CF82EF #E4B8F6 #F5E4FC

Accessibility & contrast

On white

2.59
#CF82EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.09
#CF82EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF82EF
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF82EF#FFFFFF#000000##000000
##CF82EF1.002.598.098.09
#FFFFFF2.591.0021.0021.00
#0000008.0921.001.001.00
##0000008.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D9CF3
Deuteranopia (green-blind)
#82A3EC
Tritanopia (blue-blind)
#CD92AD
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #cf82ef;
/* rgb */ color: rgb(207, 130, 239);
/* oklch */ color: oklch(72.7% 0.171 315.3);
Tailwind
colors: {
  custom: {
    50: '#dfa8f4',
    500: '#cf82ef',
    950: '#000000',
  },
}
SCSS
$custom: #cf82ef;
$custom-light: #dfa8f4;
$custom-dark: #000000;
JSON
{
  "hex": "#cf82ef",
  "rgb": {
    "r": 207,
    "g": 130,
    "b": 239
  },
  "hsl": {
    "h": 282.385,
    "s": 77.305,
    "l": 72.353
  },
  "oklch": {
    "l": 0.72747,
    "c": 0.17054,
    "h": 315.3
  },
  "luminance": 0.35463
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF82EF

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

Preview Lab → · Contrast checker → · Palette generator →

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