#CD6FEB#CD6FEB

#CD6FEB is a light, vivid purple. Relative luminance 0.303; OKLCH L 69.6% C 0.196 H 317.4°. Best body text is #000000 at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#CD6FEB
RGBrgb(205, 111, 235)
HSLhsl(285, 76%, 68%)
HSVhsv(285, 53%, 92%)
CMYKcmyk(12.8%, 52.8%, 0%, 7.8%)
CIE-LABlab(61.95, 56.14, -47.58)
CIE-LCHlch(61.95, 73.59, 319.72°)
OKLaboklab(69.56% 0.1441 -0.1324)
OKLCHoklch(69.56% 0.196 317.4)
XYZxyz(45.8545, 30.3478, 82.0234)
Luminance0.3035 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD6FEB #8DEB6F
analogous
#8F6FEB #CD6FEB #EB6FCB
triadic
#CD6FEB #EBCD6F #6FEBCD
tetradic
#CD6FEB #EB8F6F #8DEB6F #6FCBEB
square
#CD6FEB #EB8F6F #8DEB6F #6FCBEB
split-complementary
#CD6FEB #CBEB6F #6FEB8F
monochromatic
#9B1BC4 #BA39E4 #CD6FEB #E0A5F2 #F2DAFA

Accessibility & contrast

On white

2.97
#CD6FEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.07
#CD6FEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD6FEB
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD6FEB#FFFFFF#000000##000000
##CD6FEB1.002.977.077.07
#FFFFFF2.971.0021.0021.00
#0000007.0721.001.001.00
##0000007.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5590EF
Deuteranopia (green-blind)
#7399E8
Tritanopia (blue-blind)
#CC82A3
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #cd6feb;
/* rgb */ color: rgb(205, 111, 235);
/* oklch */ color: oklch(69.6% 0.196 317.4);
Tailwind
colors: {
  custom: {
    50: '#df9cf2',
    500: '#cd6feb',
    950: '#000000',
  },
}
SCSS
$custom: #cd6feb;
$custom-light: #df9cf2;
$custom-dark: #000000;
JSON
{
  "hex": "#cd6feb",
  "rgb": {
    "r": 205,
    "g": 111,
    "b": 235
  },
  "hsl": {
    "h": 285.484,
    "s": 75.61,
    "l": 67.843
  },
  "oklch": {
    "l": 0.69555,
    "c": 0.19568,
    "h": 317.4
  },
  "luminance": 0.30346
}

Semantic roles & 50–950 ramp

primary
#CD6FEB
secondary
#D1EEC8
accent
#D80E3F
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E17
muted
#837E85

Preview Lab

Preview with #CD6FEB

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

Preview Lab → · Contrast checker → · Palette generator →

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