#CD6FEA#CD6FEA

#CD6FEA is a light, vivid purple. Relative luminance 0.303; OKLCH L 69.5% C 0.195 H 317.7°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#CD6FEA
RGBrgb(205, 111, 234)
HSLhsl(286, 75%, 68%)
HSVhsv(286, 53%, 92%)
CMYKcmyk(12.4%, 52.6%, 0%, 8.2%)
CIE-LABlab(61.90, 55.95, -47.10)
CIE-LCHlch(61.90, 73.13, 319.91°)
OKLaboklab(69.5% 0.144 -0.131)
OKLCHoklch(69.5% 0.195 317.7)
XYZxyz(45.7105, 30.2902, 81.2647)
Luminance0.3029 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD6FEA #8CEA6F
analogous
#906FEA #CD6FEA #EA6FC9
triadic
#CD6FEA #EACD6F #6FEACD
tetradic
#CD6FEA #EA906F #8CEA6F #6FC9EA
square
#CD6FEA #EA906F #8CEA6F #6FC9EA
split-complementary
#CD6FEA #C9EA6F #6FEA90
monochromatic
#9B1CC2 #BA3AE2 #CD6FEA #E0A4F2 #F2DAFA

Accessibility & contrast

On white

2.98
#CD6FEA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.06
#CD6FEA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD6FEA
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD6FEA#FFFFFF#000000##000000
##CD6FEA1.002.987.067.06
#FFFFFF2.981.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#558FEE
Deuteranopia (green-blind)
#7499E7
Tritanopia (blue-blind)
#CD82A2
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #cd6fea;
/* rgb */ color: rgb(205, 111, 234);
/* oklch */ color: oklch(69.5% 0.195 317.7);
Tailwind
colors: {
  custom: {
    50: '#df9cf1',
    500: '#cd6fea',
    950: '#000000',
  },
}
SCSS
$custom: #cd6fea;
$custom-light: #df9cf1;
$custom-dark: #000000;
JSON
{
  "hex": "#cd6fea",
  "rgb": {
    "r": 205,
    "g": 111,
    "b": 234
  },
  "hsl": {
    "h": 285.854,
    "s": 74.545,
    "l": 67.647
  },
  "oklch": {
    "l": 0.69503,
    "c": 0.19469,
    "h": 317.7
  },
  "luminance": 0.30289
}

Semantic roles & 50–950 ramp

primary
#CD6FEA
secondary
#D0EDC7
accent
#D70F3E
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E17
muted
#837E85

Preview Lab

Preview with #CD6FEA

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

Preview Lab → · Contrast checker → · Palette generator →

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