#CD6CFE#CD6CFE

#CD6CFE is a light, highly saturated violet. Relative luminance 0.309; OKLCH L 70.2% C 0.219 H 312.8°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#CD6CFE
RGBrgb(205, 108, 254)
HSLhsl(280, 99%, 71%)
HSVhsv(280, 57%, 100%)
CMYKcmyk(19.3%, 57.5%, 0%, 0.4%)
CIE-LABlab(62.39, 61.46, -57.39)
CIE-LCHlch(62.39, 84.08, 316.96°)
OKLaboklab(70.19% 0.149 -0.161)
OKLCHoklch(70.19% 0.219 312.8)
XYZxyz(48.4257, 30.8613, 97.1526)
Luminance0.3086 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD6CFE #9DFE6C
analogous
#846CFE #CD6CFE #FE6CE6
triadic
#CD6CFE #FECD6C #6CFECD
tetradic
#CD6CFE #FE846C #9DFE6C #6CE6FE
square
#CD6CFE #FE846C #9DFE6C #6CE6FE
split-complementary
#CD6CFE #E6FE6C #6CFE84
monochromatic
#9F02EE #B82FFE #CD6CFE #E2A9FE #F5E1FF

Accessibility & contrast

On white

2.93
#CD6CFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.17
#CD6CFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD6CFE
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD6CFE#FFFFFF#000000##000000
##CD6CFE1.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E92FF
Deuteranopia (green-blind)
#6499FA
Tritanopia (blue-blind)
#C886AB
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #cd6cfe;
/* rgb */ color: rgb(205, 108, 254);
/* oklch */ color: oklch(70.2% 0.219 312.8);
Tailwind
colors: {
  custom: {
    50: '#df9aff',
    500: '#cd6cfe',
    950: '#000000',
  },
}
SCSS
$custom: #cd6cfe;
$custom-light: #df9aff;
$custom-dark: #000000;
JSON
{
  "hex": "#cd6cfe",
  "rgb": {
    "r": 205,
    "g": 108,
    "b": 254
  },
  "hsl": {
    "h": 279.863,
    "s": 98.649,
    "l": 70.98
  },
  "oklch": {
    "l": 0.70195,
    "c": 0.21933,
    "h": 312.8
  },
  "luminance": 0.3086
}

Semantic roles & 50–950 ramp

primary
#CD6CFE
secondary
#DDF6CF
accent
#E6004D
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160E18
muted
#847E86

Preview Lab

Preview with #CD6CFE

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

Preview Lab → · Contrast checker → · Palette generator →

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