#CD6DEA#CD6DEA

#CD6DEA is a light, vivid purple. Relative luminance 0.299; OKLCH L 69.2% C 0.198 H 317.9°. Best body text is #000000 at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#CD6DEA
RGBrgb(205, 109, 234)
HSLhsl(286, 75%, 67%)
HSVhsv(286, 53%, 92%)
CMYKcmyk(12.4%, 53.4%, 0%, 8.2%)
CIE-LABlab(61.53, 56.93, -47.69)
CIE-LCHlch(61.53, 74.26, 320.05°)
OKLaboklab(69.23% 0.1466 -0.1327)
OKLCHoklch(69.23% 0.198 317.9)
XYZxyz(45.4947, 29.8586, 81.1928)
Luminance0.2986 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD6DEA #8AEA6D
analogous
#8F6DEA #CD6DEA #EA6DC9
triadic
#CD6DEA #EACD6D #6DEACD
tetradic
#CD6DEA #EA8F6D #8AEA6D #6DC9EA
square
#CD6DEA #EA8F6D #8AEA6D #6DC9EA
split-complementary
#CD6DEA #C9EA6D #6DEA8F
monochromatic
#9B1CC1 #BB37E2 #CD6DEA #DFA3F2 #F2D8F9

Accessibility & contrast

On white

3.01
#CD6DEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.97
#CD6DEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD6DEA
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD6DEA#FFFFFF#000000##000000
##CD6DEA1.003.016.976.97
#FFFFFF3.011.0021.0021.00
#0000006.9721.001.001.00
##0000006.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#528EEE
Deuteranopia (green-blind)
#7298E7
Tritanopia (blue-blind)
#CD80A1
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #cd6dea;
/* rgb */ color: rgb(205, 109, 234);
/* oklch */ color: oklch(69.2% 0.198 317.9);
Tailwind
colors: {
  custom: {
    50: '#df9af1',
    500: '#cd6dea',
    950: '#000000',
  },
}
SCSS
$custom: #cd6dea;
$custom-light: #df9af1;
$custom-dark: #000000;
JSON
{
  "hex": "#cd6dea",
  "rgb": {
    "r": 205,
    "g": 109,
    "b": 234
  },
  "hsl": {
    "h": 286.08,
    "s": 74.85,
    "l": 67.255
  },
  "oklch": {
    "l": 0.69229,
    "c": 0.19775,
    "h": 317.9
  },
  "luminance": 0.29857
}

Semantic roles & 50–950 ramp

primary
#CD6DEA
secondary
#CFEDC6
accent
#D70E3D
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E17
muted
#837E85

Preview Lab

Preview with #CD6DEA

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

Preview Lab → · Contrast checker → · Palette generator →

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