#CD6DFF#CD6DFF

#CD6DFF is a light, highly saturated violet. Relative luminance 0.311; OKLCH L 70.4% C 0.219 H 312.5°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#CD6DFF
RGBrgb(205, 109, 255)
HSLhsl(279, 100%, 71%)
HSVhsv(279, 57%, 100%)
CMYKcmyk(19.6%, 57.3%, 0%, 0%)
CIE-LABlab(62.62, 61.18, -57.57)
CIE-LCHlch(62.62, 84.01, 316.74°)
OKLaboklab(70.38% 0.1478 -0.1615)
OKLCHoklch(70.38% 0.219 312.5)
XYZxyz(48.6923, 31.1376, 98.0335)
Luminance0.3114 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD6DFF #9FFF6D
analogous
#846DFF #CD6DFF #FF6DE8
triadic
#CD6DFF #FFCD6D #6DFFCD
tetradic
#CD6DFF #FF846D #9FFF6D #6DE8FF
square
#CD6DFF #FF846D #9FFF6D #6DE8FF
split-complementary
#CD6DFF #E8FF6D #6DFF84
monochromatic
#9F00F2 #B830FF #CD6DFF #E2AAFF #F5E0FF

Accessibility & contrast

On white

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

On black

7.23
#CD6DFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD6DFF
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD6DFF#FFFFFF#000000##000000
##CD6DFF1.002.917.237.23
#FFFFFF2.911.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F92FF
Deuteranopia (green-blind)
#649AFB
Tritanopia (blue-blind)
#C887AC
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #cd6dff;
/* rgb */ color: rgb(205, 109, 255);
/* oklch */ color: oklch(70.4% 0.219 312.5);
Tailwind
colors: {
  custom: {
    50: '#df9bff',
    500: '#cd6dff',
    950: '#000000',
  },
}
SCSS
$custom: #cd6dff;
$custom-light: #df9bff;
$custom-dark: #000000;
JSON
{
  "hex": "#cd6dff",
  "rgb": {
    "r": 205,
    "g": 109,
    "b": 255
  },
  "hsl": {
    "h": 279.452,
    "s": 100,
    "l": 71.373
  },
  "oklch": {
    "l": 0.70383,
    "c": 0.21891,
    "h": 312.5
  },
  "luminance": 0.31136
}

Semantic roles & 50–950 ramp

primary
#CD6DFF
secondary
#DEF7D1
accent
#E6004F
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160E18
muted
#847E86

Preview Lab

Preview with #CD6DFF

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

Preview Lab → · Contrast checker → · Palette generator →

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