#CD5AF0#CD5AF0

#CD5AF0 is a light, highly saturated purple. Relative luminance 0.266; OKLCH L 67.2% C 0.231 H 317.5°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#CD5AF0
RGBrgb(205, 90, 240)
HSLhsl(286, 83%, 65%)
HSVhsv(286, 63%, 94%)
CMYKcmyk(14.6%, 62.5%, 0%, 5.9%)
CIE-LABlab(58.59, 66.92, -55.70)
CIE-LCHlch(58.59, 87.07, 320.23°)
OKLaboklab(67.18% 0.1701 -0.1559)
OKLCHoklch(67.18% 0.231 317.5)
XYZxyz(44.5589, 26.5845, 85.2053)
Luminance0.2658 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5AF0 #7DF05A
analogous
#825AF0 #CD5AF0 #F05AC8
triadic
#CD5AF0 #F0CD5A #5AF0CD
tetradic
#CD5AF0 #F0825A #7DF05A #5AC8F0
square
#CD5AF0 #F0825A #7DF05A #5AC8F0
split-complementary
#CD5AF0 #C8F05A #5AF082
monochromatic
#9611BE #BC22EB #CD5AF0 #DE92F5 #EFCAFA

Accessibility & contrast

On white

3.32
#CD5AF0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.32
#CD5AF0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5AF0
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5AF0#FFFFFF#000000##000000
##CD5AF01.003.326.326.32
#FFFFFF3.321.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2986F5
Deuteranopia (green-blind)
#5F91EC
Tritanopia (blue-blind)
#CC749D
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #cd5af0;
/* rgb */ color: rgb(205, 90, 240);
/* oklch */ color: oklch(67.2% 0.231 317.5);
Tailwind
colors: {
  custom: {
    50: '#e08ff5',
    500: '#cd5af0',
    950: '#000000',
  },
}
SCSS
$custom: #cd5af0;
$custom-light: #e08ff5;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5af0",
  "rgb": {
    "r": 205,
    "g": 90,
    "b": 240
  },
  "hsl": {
    "h": 286,
    "s": 83.333,
    "l": 64.706
  },
  "oklch": {
    "l": 0.67184,
    "c": 0.23078,
    "h": 317.5
  },
  "luminance": 0.26583
}

Semantic roles & 50–950 ramp

primary
#CD5AF0
secondary
#C5EDB9
accent
#E00639
background
#FEF9FF
surface
#FCF1FE
border
#D5CBD6
text
#160D17
muted
#847E85

Preview Lab

Preview with #CD5AF0

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

Preview Lab → · Contrast checker → · Palette generator →

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