#CD85EC#CD85EC

#CD85EC is a light, vivid purple. Relative luminance 0.358; OKLCH L 72.9% C 0.161 H 315.1°. Best body text is #000000 at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#CD85EC
RGBrgb(205, 133, 236)
HSLhsl(282, 73%, 72%)
HSVhsv(282, 44%, 93%)
CMYKcmyk(13.1%, 43.6%, 0%, 7.5%)
CIE-LABlab(66.38, 45.04, -41.17)
CIE-LCHlch(66.38, 61.02, 317.57°)
OKLaboklab(72.85% 0.1143 -0.114)
OKLCHoklch(72.85% 0.161 315.1)
XYZxyz(48.7023, 35.8116, 83.6874)
Luminance0.3581 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD85EC #A4EC85
analogous
#9A85EC #CD85EC #EC85D7
triadic
#CD85EC #ECCD85 #85ECCD
tetradic
#CD85EC #EC9A85 #A4EC85 #85D7EC
square
#CD85EC #EC9A85 #A4EC85 #85D7EC
split-complementary
#CD85EC #D7EC85 #85EC9A
monochromatic
#9F21D5 #B750E4 #CD85EC #E3BAF4 #F4E5FB

Accessibility & contrast

On white

2.57
#CD85EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.16
#CD85EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD85EC
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD85EC#FFFFFF#000000##000000
##CD85EC1.002.578.168.16
#FFFFFF2.571.0021.0021.00
#0000008.1621.001.001.00
##0000008.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#729DF0
Deuteranopia (green-blind)
#85A3E9
Tritanopia (blue-blind)
#CB94AD
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #cd85ec;
/* rgb */ color: rgb(205, 133, 236);
/* oklch */ color: oklch(72.9% 0.161 315.1);
Tailwind
colors: {
  custom: {
    50: '#deaaf2',
    500: '#cd85ec',
    950: '#000000',
  },
}
SCSS
$custom: #cd85ec;
$custom-light: #deaaf2;
$custom-dark: #000000;
JSON
{
  "hex": "#cd85ec",
  "rgb": {
    "r": 205,
    "g": 133,
    "b": 236
  },
  "hsl": {
    "h": 281.942,
    "s": 73.05,
    "l": 72.353
  },
  "oklch": {
    "l": 0.72854,
    "c": 0.16145,
    "h": 315.1
  },
  "luminance": 0.3581
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD85EC

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

Preview Lab → · Contrast checker → · Palette generator →

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