#CD5AF6#CD5AF6

#CD5AF6 is a light, highly saturated purple. Relative luminance 0.269; OKLCH L 67.5% C 0.236 H 316.0°. Best body text is #000000 at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#CD5AF6
RGBrgb(205, 90, 246)
HSLhsl(284, 90%, 66%)
HSVhsv(284, 63%, 96%)
CMYKcmyk(16.7%, 63.4%, 0%, 3.5%)
CIE-LABlab(58.93, 68.08, -58.50)
CIE-LCHlch(58.93, 89.76, 319.33°)
OKLaboklab(67.54% 0.17 -0.1641)
OKLCHoklch(67.54% 0.236 316)
XYZxyz(45.4650, 26.9469, 89.9773)
Luminance0.2695 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5AF6 #83F65A
analogous
#7F5AF6 #CD5AF6 #F65AD1
triadic
#CD5AF6 #F6CD5A #5AF6CD
tetradic
#CD5AF6 #F67F5A #83F65A #5AD1F6
square
#CD5AF6 #F67F5A #83F65A #5AD1F6
split-complementary
#CD5AF6 #D1F65A #5AF67F
monochromatic
#980BCB #BB20F3 #CD5AF6 #DF94F9 #F0CEFC

Accessibility & contrast

On white

3.29
#CD5AF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.39
#CD5AF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5AF6
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5AF6#FFFFFF#000000##000000
##CD5AF61.003.296.396.39
#FFFFFF3.291.0021.0021.00
#0000006.3921.001.001.00
##0000006.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1C87FB
Deuteranopia (green-blind)
#5A91F2
Tritanopia (blue-blind)
#CA77A0
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #cd5af6;
/* rgb */ color: rgb(205, 90, 246);
/* oklch */ color: oklch(67.5% 0.236 316.0);
Tailwind
colors: {
  custom: {
    50: '#e090fa',
    500: '#cd5af6',
    950: '#000000',
  },
}
SCSS
$custom: #cd5af6;
$custom-light: #e090fa;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5af6",
  "rgb": {
    "r": 205,
    "g": 90,
    "b": 246
  },
  "hsl": {
    "h": 284.231,
    "s": 89.655,
    "l": 65.882
  },
  "oklch": {
    "l": 0.67537,
    "c": 0.23632,
    "h": 316
  },
  "luminance": 0.26945
}

Semantic roles & 50–950 ramp

primary
#CD5AF6
secondary
#CAF0BC
accent
#E6003C
background
#FEF9FF
surface
#FCF1FF
border
#D5CBD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #CD5AF6

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

Preview Lab → · Contrast checker → · Palette generator →

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