#CD6AFF#CD6AFF

#CD6AFF is a light, highly saturated violet. Relative luminance 0.305; OKLCH L 70.0% C 0.223 H 312.7°. Best body text is #000000 at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#CD6AFF
RGBrgb(205, 106, 255)
HSLhsl(280, 100%, 71%)
HSVhsv(280, 58%, 100%)
CMYKcmyk(19.6%, 58.4%, 0%, 0%)
CIE-LABlab(62.09, 62.62, -58.42)
CIE-LCHlch(62.09, 85.63, 316.99°)
OKLaboklab(69.99% 0.1514 -0.164)
OKLCHoklch(69.99% 0.223 312.7)
XYZxyz(48.3777, 30.5085, 97.9286)
Luminance0.3051 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD6AFF #9CFF6A
analogous
#826AFF #CD6AFF #FF6AE6
triadic
#CD6AFF #FFCD6A #6AFFCD
tetradic
#CD6AFF #FF826A #9CFF6A #6AE6FF
square
#CD6AFF #FF826A #9CFF6A #6AE6FF
split-complementary
#CD6AFF #E6FF6A #6AFF82
monochromatic
#9F00EF #B82DFF #CD6AFF #E2A7FF #F5E0FF

Accessibility & contrast

On white

2.96
#CD6AFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.10
#CD6AFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD6AFF
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD6AFF#FFFFFF#000000##000000
##CD6AFF1.002.967.107.10
#FFFFFF2.961.0021.0021.00
#0000007.1021.001.001.00
##0000007.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3891FF
Deuteranopia (green-blind)
#6198FB
Tritanopia (blue-blind)
#C885AB
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #cd6aff;
/* rgb */ color: rgb(205, 106, 255);
/* oklch */ color: oklch(70.0% 0.223 312.7);
Tailwind
colors: {
  custom: {
    50: '#e099ff',
    500: '#cd6aff',
    950: '#000000',
  },
}
SCSS
$custom: #cd6aff;
$custom-light: #e099ff;
$custom-dark: #000000;
JSON
{
  "hex": "#cd6aff",
  "rgb": {
    "r": 205,
    "g": 106,
    "b": 255
  },
  "hsl": {
    "h": 279.866,
    "s": 100,
    "l": 70.784
  },
  "oklch": {
    "l": 0.69994,
    "c": 0.22318,
    "h": 312.7
  },
  "luminance": 0.30507
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD6AFF

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

Preview Lab → · Contrast checker → · Palette generator →

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