#CD6FE8#CD6FE8

#CD6FE8 is a light, vivid purple. Relative luminance 0.302; OKLCH L 69.4% C 0.193 H 318.3°. Best body text is #000000 at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#CD6FE8
RGBrgb(205, 111, 232)
HSLhsl(287, 72%, 67%)
HSVhsv(287, 52%, 91%)
CMYKcmyk(11.6%, 52.2%, 0%, 9%)
CIE-LABlab(61.81, 55.55, -46.14)
CIE-LCHlch(61.81, 72.22, 320.29°)
OKLaboklab(69.4% 0.1438 -0.1282)
OKLCHoklch(69.4% 0.193 318.3)
XYZxyz(45.4248, 30.1759, 79.7600)
Luminance0.3017 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD6FE8 #8AE86F
analogous
#916FE8 #CD6FE8 #E86FC6
triadic
#CD6FE8 #E8CD6F #6FE8CD
tetradic
#CD6FE8 #E8916F #8AE86F #6FC6E8
square
#CD6FE8 #E8916F #8AE86F #6FC6E8
split-complementary
#CD6FE8 #C6E86F #6FE891
monochromatic
#9B1EBE #BB3AE0 #CD6FE8 #DFA4F0 #F2D9F9

Accessibility & contrast

On white

2.99
#CD6FE8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.03
#CD6FE8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD6FE8
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD6FE8#FFFFFF#000000##000000
##CD6FE81.002.997.037.03
#FFFFFF2.991.0021.0021.00
#0000007.0321.001.001.00
##0000007.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#578FEC
Deuteranopia (green-blind)
#7598E5
Tritanopia (blue-blind)
#CD81A1
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #cd6fe8;
/* rgb */ color: rgb(205, 111, 232);
/* oklch */ color: oklch(69.4% 0.193 318.3);
Tailwind
colors: {
  custom: {
    50: '#df9cf0',
    500: '#cd6fe8',
    950: '#000000',
  },
}
SCSS
$custom: #cd6fe8;
$custom-light: #df9cf0;
$custom-dark: #000000;
JSON
{
  "hex": "#cd6fe8",
  "rgb": {
    "r": 205,
    "g": 111,
    "b": 232
  },
  "hsl": {
    "h": 286.612,
    "s": 72.455,
    "l": 67.255
  },
  "oklch": {
    "l": 0.69399,
    "c": 0.19268,
    "h": 318.3
  },
  "luminance": 0.30174
}

Semantic roles & 50–950 ramp

primary
#CD6FE8
secondary
#CFECC6
accent
#D5113D
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E16
muted
#837E84

Preview Lab

Preview with #CD6FE8

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

Preview Lab → · Contrast checker → · Palette generator →

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