#CD6FE2#CD6FE2

#CD6FE2 is a light, vivid purple. Relative luminance 0.298; OKLCH L 69.1% C 0.187 H 320.1°. Best body text is #000000 at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#CD6FE2
RGBrgb(205, 111, 226)
HSLhsl(289, 66%, 66%)
HSVhsv(289, 51%, 89%)
CMYKcmyk(9.3%, 50.9%, 0%, 11.4%)
CIE-LABlab(61.52, 54.38, -43.25)
CIE-LCHlch(61.52, 69.48, 321.50°)
OKLaboklab(69.09% 0.1432 -0.1199)
OKLCHoklch(69.09% 0.187 320.1)
XYZxyz(44.5871, 29.8408, 75.3480)
Luminance0.2984 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD6FE2 #84E26F
analogous
#936FE2 #CD6FE2 #E26FBE
triadic
#CD6FE2 #E2CD6F #6FE2CD
tetradic
#CD6FE2 #E2936F #84E26F #6FBEE2
square
#CD6FE2 #E2936F #84E26F #6FBEE2
split-complementary
#CD6FE2 #BEE26F #6FE293
monochromatic
#9924B3 #BB3CD8 #CD6FE2 #DFA2EC #F0D5F7

Accessibility & contrast

On white

3.01
#CD6FE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.97
#CD6FE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD6FE2
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD6FE2#FFFFFF#000000##000000
##CD6FE21.003.016.976.97
#FFFFFF3.011.0021.0021.00
#0000006.9721.001.001.00
##0000006.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B8EE6
Deuteranopia (green-blind)
#7898DF
Tritanopia (blue-blind)
#CE7F9E
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #cd6fe2;
/* rgb */ color: rgb(205, 111, 226);
/* oklch */ color: oklch(69.1% 0.187 320.1);
Tailwind
colors: {
  custom: {
    50: '#de9ceb',
    500: '#cd6fe2',
    950: '#000000',
  },
}
SCSS
$custom: #cd6fe2;
$custom-light: #de9ceb;
$custom-dark: #000000;
JSON
{
  "hex": "#cd6fe2",
  "rgb": {
    "r": 205,
    "g": 111,
    "b": 226
  },
  "hsl": {
    "h": 289.043,
    "s": 66.474,
    "l": 66.078
  },
  "oklch": {
    "l": 0.69091,
    "c": 0.18672,
    "h": 320.1
  },
  "luminance": 0.29839
}

Semantic roles & 50–950 ramp

primary
#CD6FE2
secondary
#CAE9C4
accent
#CE1739
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E16
muted
#837E84

Preview Lab

Preview with #CD6FE2

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

Preview Lab → · Contrast checker → · Palette generator →

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