#CD6BEB#CD6BEB

#CD6BEB is a light, highly saturated purple. Relative luminance 0.295; OKLCH L 69.0% C 0.202 H 317.7°. Best body text is #000000 at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#CD6BEB
RGBrgb(205, 107, 235)
HSLhsl(286, 76%, 67%)
HSVhsv(286, 54%, 92%)
CMYKcmyk(12.8%, 54.5%, 0%, 7.8%)
CIE-LABlab(61.22, 58.10, -48.74)
CIE-LCHlch(61.22, 75.84, 320.01°)
OKLaboklab(69.01% 0.1493 -0.1358)
OKLCHoklch(69.01% 0.202 317.7)
XYZxyz(45.4278, 29.4944, 81.8812)
Luminance0.2949 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD6BEB #89EB6B
analogous
#8D6BEB #CD6BEB #EB6BC9
triadic
#CD6BEB #EBCD6B #6BEBCD
tetradic
#CD6BEB #EB8D6B #89EB6B #6BC9EB
square
#CD6BEB #EB8D6B #89EB6B #6BC9EB
split-complementary
#CD6BEB #C9EB6B #6BEB8D
monochromatic
#9A1AC1 #BB35E4 #CD6BEB #DFA1F2 #F1D7FA

Accessibility & contrast

On white

3.04
#CD6BEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.90
#CD6BEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD6BEB
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD6BEB#FFFFFF#000000##000000
##CD6BEB1.003.046.906.90
#FFFFFF3.041.0021.0021.00
#0000006.9021.001.001.00
##0000006.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F8DEF
Deuteranopia (green-blind)
#7097E8
Tritanopia (blue-blind)
#CC7FA1
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #cd6beb;
/* rgb */ color: rgb(205, 107, 235);
/* oklch */ color: oklch(69.0% 0.202 317.7);
Tailwind
colors: {
  custom: {
    50: '#df99f2',
    500: '#cd6beb',
    950: '#000000',
  },
}
SCSS
$custom: #cd6beb;
$custom-light: #df99f2;
$custom-dark: #000000;
JSON
{
  "hex": "#cd6beb",
  "rgb": {
    "r": 205,
    "g": 107,
    "b": 235
  },
  "hsl": {
    "h": 285.938,
    "s": 76.19,
    "l": 67.059
  },
  "oklch": {
    "l": 0.69013,
    "c": 0.20179,
    "h": 317.7
  },
  "luminance": 0.29493
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD6BEB

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

Preview Lab → · Contrast checker → · Palette generator →

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