#CD6CEB#CD6CEB

#CD6CEB is a light, highly saturated purple. Relative luminance 0.297; OKLCH L 69.1% C 0.200 H 317.6°. Best body text is #000000 at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#CD6CEB
RGBrgb(205, 108, 235)
HSLhsl(286, 76%, 67%)
HSVhsv(286, 54%, 92%)
CMYKcmyk(12.8%, 54%, 0%, 7.8%)
CIE-LABlab(61.40, 57.62, -48.46)
CIE-LCHlch(61.40, 75.28, 319.94°)
OKLaboklab(69.15% 0.148 -0.1349)
OKLCHoklch(69.15% 0.2 317.6)
XYZxyz(45.5327, 29.7041, 81.9161)
Luminance0.2970 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD6CEB #8AEB6C
analogous
#8E6CEB #CD6CEB #EB6CC9
triadic
#CD6CEB #EBCD6C #6CEBCD
tetradic
#CD6CEB #EB8E6C #8AEB6C #6CC9EB
square
#CD6CEB #EB8E6C #8AEB6C #6CC9EB
split-complementary
#CD6CEB #C9EB6C #6CEB8E
monochromatic
#9B1AC2 #BB36E4 #CD6CEB #DFA2F2 #F2D8FA

Accessibility & contrast

On white

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

On black

6.94
#CD6CEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD6CEB
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD6CEB#FFFFFF#000000##000000
##CD6CEB1.003.036.946.94
#FFFFFF3.031.0021.0021.00
#0000006.9421.001.001.00
##0000006.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#508EEF
Deuteranopia (green-blind)
#7197E8
Tritanopia (blue-blind)
#CC80A2
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #cd6ceb;
/* rgb */ color: rgb(205, 108, 235);
/* oklch */ color: oklch(69.1% 0.200 317.6);
Tailwind
colors: {
  custom: {
    50: '#df9af2',
    500: '#cd6ceb',
    950: '#000000',
  },
}
SCSS
$custom: #cd6ceb;
$custom-light: #df9af2;
$custom-dark: #000000;
JSON
{
  "hex": "#cd6ceb",
  "rgb": {
    "r": 205,
    "g": 108,
    "b": 235
  },
  "hsl": {
    "h": 285.827,
    "s": 76.048,
    "l": 67.255
  },
  "oklch": {
    "l": 0.69147,
    "c": 0.20028,
    "h": 317.6
  },
  "luminance": 0.29702
}

Semantic roles & 50–950 ramp

primary
#CD6CEB
secondary
#CFEDC5
accent
#D80D3D
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#150E17
muted
#847E85

Preview Lab

Preview with #CD6CEB

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

Preview Lab → · Contrast checker → · Palette generator →

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