#CD81E5#CD81E5

#CD81E5 is a light, vivid purple. Relative luminance 0.343; OKLCH L 71.9% C 0.161 H 317.7°. Best body text is #000000 at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#CD81E5
RGBrgb(205, 129, 229)
HSLhsl(286, 66%, 70%)
HSVhsv(286, 44%, 90%)
CMYKcmyk(10.5%, 43.7%, 0%, 10.2%)
CIE-LABlab(65.23, 45.73, -39.10)
CIE-LCHlch(65.23, 60.16, 319.47°)
OKLaboklab(71.9% 0.1188 -0.108)
OKLCHoklch(71.9% 0.161 317.7)
XYZxyz(47.1680, 34.3382, 78.2568)
Luminance0.3434 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD81E5 #99E581
analogous
#9B81E5 #CD81E5 #E581CB
triadic
#CD81E5 #E5CD81 #81E5CD
tetradic
#CD81E5 #E59B81 #99E581 #81CBE5
square
#CD81E5 #E59B81 #99E581 #81CBE5
split-complementary
#CD81E5 #CBE581 #81E59B
monochromatic
#9E28C3 #B94EDB #CD81E5 #E1B4EF #F5E6FA

Accessibility & contrast

On white

2.67
#CD81E5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.87
#CD81E5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD81E5
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD81E5#FFFFFF#000000##000000
##CD81E51.002.677.877.87
#FFFFFF2.671.0021.0021.00
#0000007.8721.001.001.00
##0000007.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7099E9
Deuteranopia (green-blind)
#85A1E2
Tritanopia (blue-blind)
#CD8EA8
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #cd81e5;
/* rgb */ color: rgb(205, 129, 229);
/* oklch */ color: oklch(71.9% 0.161 317.7);
Tailwind
colors: {
  custom: {
    50: '#dea7ed',
    500: '#cd81e5',
    950: '#000000',
  },
}
SCSS
$custom: #cd81e5;
$custom-light: #dea7ed;
$custom-dark: #000000;
JSON
{
  "hex": "#cd81e5",
  "rgb": {
    "r": 205,
    "g": 129,
    "b": 229
  },
  "hsl": {
    "h": 285.6,
    "s": 65.789,
    "l": 70.196
  },
  "oklch": {
    "l": 0.71896,
    "c": 0.16052,
    "h": 317.7
  },
  "luminance": 0.34337
}

Semantic roles & 50–950 ramp

primary
#CD81E5
secondary
#DAEFD3
accent
#CE1843
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #CD81E5

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

Preview Lab → · Contrast checker → · Palette generator →

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