#CD5AFA#CD5AFA

#CD5AFA is a light, highly saturated purple. Relative luminance 0.272; OKLCH L 67.8% C 0.240 H 315.1°. Best body text is #000000 at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#CD5AFA
RGBrgb(205, 90, 250)
HSLhsl(283, 94%, 67%)
HSVhsv(283, 64%, 98%)
CMYKcmyk(18%, 64%, 0%, 2%)
CIE-LABlab(59.15, 68.86, -60.35)
CIE-LCHlch(59.15, 91.57, 318.77°)
OKLaboklab(67.78% 0.1699 -0.1695)
OKLCHoklch(67.78% 0.24 315.1)
XYZxyz(46.0855, 27.1952, 93.2455)
Luminance0.2719 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5AFA #87FA5A
analogous
#7D5AFA #CD5AFA #FA5AD7
triadic
#CD5AFA #FACD5A #5AFACD
tetradic
#CD5AFA #FA7D5A #87FA5A #5AD7FA
square
#CD5AFA #FA7D5A #87FA5A #5AD7FA
split-complementary
#CD5AFA #D7FA5A #5AFA7D
monochromatic
#9A06D3 #BB1FF8 #CD5AFA #DF95FC #F1D1FE

Accessibility & contrast

On white

3.26
#CD5AFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.44
#CD5AFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5AFA
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5AFA#FFFFFF#000000##000000
##CD5AFA1.003.266.446.44
#FFFFFF3.261.0021.0021.00
#0000006.4421.001.001.00
##0000006.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0F88FF
Deuteranopia (green-blind)
#5791F6
Tritanopia (blue-blind)
#CA78A3
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #cd5afa;
/* rgb */ color: rgb(205, 90, 250);
/* oklch */ color: oklch(67.8% 0.240 315.1);
Tailwind
colors: {
  custom: {
    50: '#e090fd',
    500: '#cd5afa',
    950: '#000000',
  },
}
SCSS
$custom: #cd5afa;
$custom-light: #e090fd;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5afa",
  "rgb": {
    "r": 205,
    "g": 90,
    "b": 250
  },
  "hsl": {
    "h": 283.125,
    "s": 94.118,
    "l": 66.667
  },
  "oklch": {
    "l": 0.67776,
    "c": 0.24003,
    "h": 315.1
  },
  "luminance": 0.27194
}

Semantic roles & 50–950 ramp

primary
#CD5AFA
secondary
#CDF2BE
accent
#E60041
background
#FEF9FF
surface
#FCF1FF
border
#D5CBD7
text
#160D18
muted
#847E86

Preview Lab

Preview with #CD5AFA

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

Preview Lab → · Contrast checker → · Palette generator →

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