#CD6CFF#CD6CFF

#CD6CFF is a light, highly saturated violet. Relative luminance 0.309; OKLCH L 70.3% C 0.220 H 312.6°. Best body text is #000000 at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#CD6CFF
RGBrgb(205, 108, 255)
HSLhsl(280, 100%, 71%)
HSVhsv(280, 58%, 100%)
CMYKcmyk(19.6%, 57.6%, 0%, 0%)
CIE-LABlab(62.44, 61.66, -57.85)
CIE-LCHlch(62.44, 84.55, 316.83°)
OKLaboklab(70.25% 0.149 -0.1623)
OKLCHoklch(70.25% 0.22 312.6)
XYZxyz(48.5862, 30.9255, 97.9981)
Luminance0.3092 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD6CFF #9EFF6C
analogous
#836CFF #CD6CFF #FF6CE7
triadic
#CD6CFF #FFCD6C #6CFFCD
tetradic
#CD6CFF #FF836C #9EFF6C #6CE7FF
square
#CD6CFF #FF836C #9EFF6C #6CE7FF
split-complementary
#CD6CFF #E7FF6C #6CFF83
monochromatic
#9F00F1 #B82FFF #CD6CFF #E2A9FF #F5E0FF

Accessibility & contrast

On white

2.92
#CD6CFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.18
#CD6CFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD6CFF
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD6CFF#FFFFFF#000000##000000
##CD6CFF1.002.927.187.18
#FFFFFF2.921.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D92FF
Deuteranopia (green-blind)
#6399FB
Tritanopia (blue-blind)
#C886AC
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #cd6cff;
/* rgb */ color: rgb(205, 108, 255);
/* oklch */ color: oklch(70.3% 0.220 312.6);
Tailwind
colors: {
  custom: {
    50: '#df9aff',
    500: '#cd6cff',
    950: '#000000',
  },
}
SCSS
$custom: #cd6cff;
$custom-light: #df9aff;
$custom-dark: #000000;
JSON
{
  "hex": "#cd6cff",
  "rgb": {
    "r": 205,
    "g": 108,
    "b": 255
  },
  "hsl": {
    "h": 279.592,
    "s": 100,
    "l": 71.176
  },
  "oklch": {
    "l": 0.70252,
    "c": 0.22034,
    "h": 312.6
  },
  "luminance": 0.30924
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD6CFF

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

Preview Lab → · Contrast checker → · Palette generator →

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