#CD82EF#CD82EF

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

Color values

HEX#CD82EF
RGBrgb(205, 130, 239)
HSLhsl(281, 77%, 72%)
HSVhsv(281, 46%, 94%)
CMYKcmyk(14.2%, 45.6%, 0%, 6.3%)
CIE-LABlab(65.89, 47.24, -43.59)
CIE-LCHlch(65.89, 64.28, 317.30°)
OKLaboklab(72.53% 0.119 -0.121)
OKLCHoklch(72.53% 0.17 314.5)
XYZxyz(48.7370, 35.1776, 85.8672)
Luminance0.3518 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD82EF #A4EF82
analogous
#9682EF #CD82EF #EF82DB
triadic
#CD82EF #EFCD82 #82EFCD
tetradic
#CD82EF #EF9682 #A4EF82 #82DBEF
square
#CD82EF #EF9682 #A4EF82 #82DBEF
split-complementary
#CD82EF #DBEF82 #82EF96
monochromatic
#9F1CDB #B74CE8 #CD82EF #E3B8F6 #F4E4FC

Accessibility & contrast

On white

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

On black

8.04
#CD82EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD82EF
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD82EF#FFFFFF#000000##000000
##CD82EF1.002.618.048.04
#FFFFFF2.611.0021.0021.00
#0000008.0421.001.001.00
##0000008.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C9CF3
Deuteranopia (green-blind)
#81A2EC
Tritanopia (blue-blind)
#CB92AD
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #cd82ef;
/* rgb */ color: rgb(205, 130, 239);
/* oklch */ color: oklch(72.5% 0.170 314.5);
Tailwind
colors: {
  custom: {
    50: '#dea8f4',
    500: '#cd82ef',
    950: '#000000',
  },
}
SCSS
$custom: #cd82ef;
$custom-light: #dea8f4;
$custom-dark: #000000;
JSON
{
  "hex": "#cd82ef",
  "rgb": {
    "r": 205,
    "g": 130,
    "b": 239
  },
  "hsl": {
    "h": 281.284,
    "s": 77.305,
    "l": 72.353
  },
  "oklch": {
    "l": 0.72533,
    "c": 0.16966,
    "h": 314.5
  },
  "luminance": 0.35176
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD82EF

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

Preview Lab → · Contrast checker → · Palette generator →

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