#CD6CDB#CD6CDB

#CD6CDB is a light, vivid purple. Relative luminance 0.288; OKLCH L 68.3% C 0.185 H 322.4°. Best body text is #000000 at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#CD6CDB
RGBrgb(205, 108, 219)
HSLhsl(292, 61%, 64%)
HSVhsv(292, 51%, 86%)
CMYKcmyk(6.4%, 50.7%, 0%, 14.1%)
CIE-LABlab(60.62, 54.53, -40.74)
CIE-LCHlch(60.62, 68.07, 323.24°)
OKLaboklab(68.32% 0.1464 -0.1126)
OKLCHoklch(68.32% 0.185 322.4)
XYZxyz(43.3242, 28.8207, 70.2850)
Luminance0.2882 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD6CDB #7ADB6C
analogous
#966CDB #CD6CDB #DB6CB2
triadic
#CD6CDB #DBCD6C #6CDBCD
tetradic
#CD6CDB #DB966C #7ADB6C #6CB2DB
square
#CD6CDB #DB966C #7ADB6C #6CB2DB
split-complementary
#CD6CDB #B2DB6C #6CDB96
monochromatic
#9528A4 #BC3BCF #CD6CDB #DE9DE7 #EECEF3

Accessibility & contrast

On white

3.10
#CD6CDB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.76
#CD6CDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD6CDB
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD6CDB#FFFFFF#000000##000000
##CD6CDB1.003.106.766.76
#FFFFFF3.101.0021.0021.00
#0000006.7621.001.001.00
##0000006.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B8BDF
Deuteranopia (green-blind)
#7996D8
Tritanopia (blue-blind)
#D07A9A
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #cd6cdb;
/* rgb */ color: rgb(205, 108, 219);
/* oklch */ color: oklch(68.3% 0.185 322.4);
Tailwind
colors: {
  custom: {
    50: '#de9ae6',
    500: '#cd6cdb',
    950: '#000000',
  },
}
SCSS
$custom: #cd6cdb;
$custom-light: #de9ae6;
$custom-dark: #000000;
JSON
{
  "hex": "#cd6cdb",
  "rgb": {
    "r": 205,
    "g": 108,
    "b": 219
  },
  "hsl": {
    "h": 292.432,
    "s": 60.656,
    "l": 64.118
  },
  "oklch": {
    "l": 0.68324,
    "c": 0.18465,
    "h": 322.4
  },
  "luminance": 0.28819
}

Semantic roles & 50–950 ramp

primary
#CD6CDB
secondary
#C3E5BE
accent
#C81D33
background
#FDF9FE
surface
#FBF2FC
border
#D4CCD5
text
#150E16
muted
#837E84

Preview Lab

Preview with #CD6CDB

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

Preview Lab → · Contrast checker → · Palette generator →

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