#CD85E4#CD85E4

#CD85E4 is a light, vivid purple. Relative luminance 0.354; OKLCH L 72.5% C 0.153 H 317.7°. Best body text is #000000 at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#CD85E4
RGBrgb(205, 133, 228)
HSLhsl(285, 64%, 71%)
HSVhsv(285, 42%, 89%)
CMYKcmyk(10.1%, 41.7%, 0%, 10.6%)
CIE-LABlab(66.03, 43.41, -37.30)
CIE-LCHlch(66.03, 57.24, 319.33°)
OKLaboklab(72.48% 0.1129 -0.1029)
OKLCHoklch(72.48% 0.153 317.7)
XYZxyz(47.5660, 35.3570, 77.7027)
Luminance0.3536 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD85E4 #9CE485
analogous
#9D85E4 #CD85E4 #E485CB
triadic
#CD85E4 #E4CD85 #85E4CD
tetradic
#CD85E4 #E49D85 #9CE485 #85CBE4
square
#CD85E4 #E49D85 #9CE485 #85CBE4
split-complementary
#CD85E4 #CBE485 #85E49D
monochromatic
#9F2BC3 #B853D9 #CD85E4 #E2B7EF #F5E6F9

Accessibility & contrast

On white

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

On black

8.07
#CD85E4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD85E4
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD85E4#FFFFFF#000000##000000
##CD85E41.002.608.078.07
#FFFFFF2.601.0021.0021.00
#0000008.0721.001.001.00
##0000008.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#769CE7
Deuteranopia (green-blind)
#89A3E1
Tritanopia (blue-blind)
#CD91AA
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #cd85e4;
/* rgb */ color: rgb(205, 133, 228);
/* oklch */ color: oklch(72.5% 0.153 317.7);
Tailwind
colors: {
  custom: {
    50: '#deaaed',
    500: '#cd85e4',
    950: '#000000',
  },
}
SCSS
$custom: #cd85e4;
$custom-light: #deaaed;
$custom-dark: #000000;
JSON
{
  "hex": "#cd85e4",
  "rgb": {
    "r": 205,
    "g": 133,
    "b": 228
  },
  "hsl": {
    "h": 285.474,
    "s": 63.758,
    "l": 70.784
  },
  "oklch": {
    "l": 0.72477,
    "c": 0.15273,
    "h": 317.7
  },
  "luminance": 0.35356
}

Semantic roles & 50–950 ramp

primary
#CD85E4
secondary
#DCEFD6
accent
#CC1A45
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #CD85E4

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

Preview Lab → · Contrast checker → · Palette generator →

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