#CD85E7#CD85E7

#CD85E7 is a light, vivid purple. Relative luminance 0.355; OKLCH L 72.6% C 0.156 H 316.7°. Best body text is #000000 at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#CD85E7
RGBrgb(205, 133, 231)
HSLhsl(284, 67%, 71%)
HSVhsv(284, 42%, 91%)
CMYKcmyk(11.3%, 42.4%, 0%, 9.4%)
CIE-LABlab(66.16, 44.02, -38.76)
CIE-LCHlch(66.16, 58.65, 318.63°)
OKLaboklab(72.62% 0.1135 -0.107)
OKLCHoklch(72.62% 0.156 316.7)
XYZxyz(47.9861, 35.5250, 79.9150)
Luminance0.3552 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD85E7 #9FE785
analogous
#9C85E7 #CD85E7 #E785D0
triadic
#CD85E7 #E7CD85 #85E7CD
tetradic
#CD85E7 #E79C85 #9FE785 #85D0E7
square
#CD85E7 #E79C85 #9FE785 #85D0E7
split-complementary
#CD85E7 #D0E785 #85E79C
monochromatic
#9F28CA #B852DD #CD85E7 #E2B8F1 #F5E5FA

Accessibility & contrast

On white

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

On black

8.10
#CD85E7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD85E7
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD85E7#FFFFFF#000000##000000
##CD85E71.002.598.108.10
#FFFFFF2.591.0021.0021.00
#0000008.1021.001.001.00
##0000008.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#749CEB
Deuteranopia (green-blind)
#87A3E4
Tritanopia (blue-blind)
#CC92AB
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #cd85e7;
/* rgb */ color: rgb(205, 133, 231);
/* oklch */ color: oklch(72.6% 0.156 316.7);
Tailwind
colors: {
  custom: {
    50: '#deaaef',
    500: '#cd85e7',
    950: '#000000',
  },
}
SCSS
$custom: #cd85e7;
$custom-light: #deaaef;
$custom-dark: #000000;
JSON
{
  "hex": "#cd85e7",
  "rgb": {
    "r": 205,
    "g": 133,
    "b": 231
  },
  "hsl": {
    "h": 284.082,
    "s": 67.123,
    "l": 71.373
  },
  "oklch": {
    "l": 0.72617,
    "c": 0.15598,
    "h": 316.7
  },
  "luminance": 0.35524
}

Semantic roles & 50–950 ramp

primary
#CD85E7
secondary
#DEF1D7
accent
#CF1647
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #CD85E7

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

Preview Lab → · Contrast checker → · Palette generator →

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