#CD6DFE#CD6DFE

#CD6DFE is a light, highly saturated violet. Relative luminance 0.311; OKLCH L 70.3% C 0.218 H 312.7°. Best body text is #000000 at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#CD6DFE
RGBrgb(205, 109, 254)
HSLhsl(280, 99%, 71%)
HSVhsv(280, 57%, 100%)
CMYKcmyk(19.3%, 57.1%, 0%, 0.4%)
CIE-LABlab(62.57, 60.98, -57.10)
CIE-LCHlch(62.57, 83.54, 316.88°)
OKLaboklab(70.33% 0.1478 -0.1601)
OKLCHoklch(70.33% 0.218 312.7)
XYZxyz(48.5318, 31.0734, 97.1879)
Luminance0.3107 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD6DFE #9EFE6D
analogous
#846DFE #CD6DFE #FE6DE6
triadic
#CD6DFE #FECD6D #6DFECD
tetradic
#CD6DFE #FE846D #9EFE6D #6DE6FE
square
#CD6DFE #FE846D #9EFE6D #6DE6FE
split-complementary
#CD6DFE #E6FE6D #6DFE84
monochromatic
#9F02EF #B830FE #CD6DFE #E2AAFE #F5E1FF

Accessibility & contrast

On white

2.91
#CD6DFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.21
#CD6DFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD6DFE
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD6DFE#FFFFFF#000000##000000
##CD6DFE1.002.917.217.21
#FFFFFF2.911.0021.0021.00
#0000007.2121.001.001.00
##0000007.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4092FF
Deuteranopia (green-blind)
#6599FA
Tritanopia (blue-blind)
#C887AB
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #cd6dfe;
/* rgb */ color: rgb(205, 109, 254);
/* oklch */ color: oklch(70.3% 0.218 312.7);
Tailwind
colors: {
  custom: {
    50: '#df9bff',
    500: '#cd6dfe',
    950: '#000000',
  },
}
SCSS
$custom: #cd6dfe;
$custom-light: #df9bff;
$custom-dark: #000000;
JSON
{
  "hex": "#cd6dfe",
  "rgb": {
    "r": 205,
    "g": 109,
    "b": 254
  },
  "hsl": {
    "h": 279.724,
    "s": 98.639,
    "l": 71.176
  },
  "oklch": {
    "l": 0.70326,
    "c": 0.21789,
    "h": 312.7
  },
  "luminance": 0.31072
}

Semantic roles & 50–950 ramp

primary
#CD6DFE
secondary
#DDF6D0
accent
#E6004E
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160E18
muted
#847E86

Preview Lab

Preview with #CD6DFE

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

Preview Lab → · Contrast checker → · Palette generator →

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