#CD6FE4#CD6FE4

#CD6FE4 is a light, vivid purple. Relative luminance 0.299; OKLCH L 69.2% C 0.189 H 319.5°. Best body text is #000000 at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#CD6FE4
RGBrgb(205, 111, 228)
HSLhsl(288, 68%, 66%)
HSVhsv(288, 51%, 89%)
CMYKcmyk(10.1%, 51.3%, 0%, 10.6%)
CIE-LABlab(61.61, 54.77, -44.22)
CIE-LCHlch(61.61, 70.39, 321.08°)
OKLaboklab(69.19% 0.1434 -0.1227)
OKLCHoklch(69.19% 0.189 319.5)
XYZxyz(44.8631, 29.9512, 76.8017)
Luminance0.2995 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD6FE4 #86E46F
analogous
#936FE4 #CD6FE4 #E46FC1
triadic
#CD6FE4 #E4CD6F #6FE4CD
tetradic
#CD6FE4 #E4936F #86E46F #6FC1E4
square
#CD6FE4 #E4936F #86E46F #6FC1E4
split-complementary
#CD6FE4 #C1E46F #6FE493
monochromatic
#9922B6 #BB3BDA #CD6FE4 #DFA3EE #F1D6F7

Accessibility & contrast

On white

3.00
#CD6FE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.99
#CD6FE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD6FE4
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD6FE4#FFFFFF#000000##000000
##CD6FE41.003.006.996.99
#FFFFFF3.001.0021.0021.00
#0000006.9921.001.001.00
##0000006.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A8EE8
Deuteranopia (green-blind)
#7798E1
Tritanopia (blue-blind)
#CE809F
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #cd6fe4;
/* rgb */ color: rgb(205, 111, 228);
/* oklch */ color: oklch(69.2% 0.189 319.5);
Tailwind
colors: {
  custom: {
    50: '#df9ced',
    500: '#cd6fe4',
    950: '#000000',
  },
}
SCSS
$custom: #cd6fe4;
$custom-light: #df9ced;
$custom-dark: #000000;
JSON
{
  "hex": "#cd6fe4",
  "rgb": {
    "r": 205,
    "g": 111,
    "b": 228
  },
  "hsl": {
    "h": 288.205,
    "s": 68.421,
    "l": 66.471
  },
  "oklch": {
    "l": 0.69193,
    "c": 0.1887,
    "h": 319.5
  },
  "luminance": 0.29949
}

Semantic roles & 50–950 ramp

primary
#CD6FE4
secondary
#CCEAC4
accent
#D0153A
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E16
muted
#837E84

Preview Lab

Preview with #CD6FE4

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

Preview Lab → · Contrast checker → · Palette generator →

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