#CD6CEA#CD6CEA

#CD6CEA is a light, vivid purple. Relative luminance 0.296; OKLCH L 69.1% C 0.199 H 317.9°. Best body text is #000000 at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#CD6CEA
RGBrgb(205, 108, 234)
HSLhsl(286, 75%, 67%)
HSVhsv(286, 54%, 92%)
CMYKcmyk(12.4%, 53.8%, 0%, 8.2%)
CIE-LABlab(61.35, 57.42, -47.98)
CIE-LCHlch(61.35, 74.83, 320.12°)
OKLaboklab(69.09% 0.1479 -0.1335)
OKLCHoklch(69.09% 0.199 317.9)
XYZxyz(45.3886, 29.6464, 81.1574)
Luminance0.2964 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD6CEA #89EA6C
analogous
#8E6CEA #CD6CEA #EA6CC8
triadic
#CD6CEA #EACD6C #6CEACD
tetradic
#CD6CEA #EA8E6C #89EA6C #6CC8EA
square
#CD6CEA #EA8E6C #89EA6C #6CC8EA
split-complementary
#CD6CEA #C8EA6C #6CEA8E
monochromatic
#9A1BC0 #BB36E2 #CD6CEA #DFA2F2 #F1D7F9

Accessibility & contrast

On white

3.03
#CD6CEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.93
#CD6CEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD6CEA
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD6CEA#FFFFFF#000000##000000
##CD6CEA1.003.036.936.93
#FFFFFF3.031.0021.0021.00
#0000006.9321.001.001.00
##0000006.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#518EEE
Deuteranopia (green-blind)
#7197E7
Tritanopia (blue-blind)
#CD7FA1
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #cd6cea;
/* rgb */ color: rgb(205, 108, 234);
/* oklch */ color: oklch(69.1% 0.199 317.9);
Tailwind
colors: {
  custom: {
    50: '#df9af1',
    500: '#cd6cea',
    950: '#000000',
  },
}
SCSS
$custom: #cd6cea;
$custom-light: #df9af1;
$custom-dark: #000000;
JSON
{
  "hex": "#cd6cea",
  "rgb": {
    "r": 205,
    "g": 108,
    "b": 234
  },
  "hsl": {
    "h": 286.19,
    "s": 75,
    "l": 67.059
  },
  "oklch": {
    "l": 0.69094,
    "c": 0.19928,
    "h": 317.9
  },
  "luminance": 0.29645
}

Semantic roles & 50–950 ramp

primary
#CD6CEA
secondary
#CEEDC5
accent
#D70E3D
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#150E17
muted
#847E85

Preview Lab

Preview with #CD6CEA

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

Preview Lab → · Contrast checker → · Palette generator →

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