#CD5AF1#CD5AF1

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

Color values

HEX#CD5AF1
RGBrgb(205, 90, 241)
HSLhsl(286, 84%, 65%)
HSVhsv(286, 63%, 95%)
CMYKcmyk(14.9%, 62.7%, 0%, 5.5%)
CIE-LABlab(58.64, 67.11, -56.17)
CIE-LCHlch(58.64, 87.52, 320.07°)
OKLaboklab(67.24% 0.1701 -0.1573)
OKLCHoklch(67.24% 0.232 317.2)
XYZxyz(44.7079, 26.6441, 85.9898)
Luminance0.2664 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5AF1 #7EF15A
analogous
#815AF1 #CD5AF1 #F15ACA
triadic
#CD5AF1 #F1CD5A #5AF1CD
tetradic
#CD5AF1 #F1815A #7EF15A #5ACAF1
square
#CD5AF1 #F1815A #7EF15A #5ACAF1
split-complementary
#CD5AF1 #CAF15A #5AF181
monochromatic
#9610C0 #BC22EC #CD5AF1 #DE92F6 #EFCBFB

Accessibility & contrast

On white

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

On black

6.33
#CD5AF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5AF1
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5AF1#FFFFFF#000000##000000
##CD5AF11.003.326.336.33
#FFFFFF3.321.0021.0021.00
#0000006.3321.001.001.00
##0000006.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2786F6
Deuteranopia (green-blind)
#5E91ED
Tritanopia (blue-blind)
#CC759E
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #cd5af1;
/* rgb */ color: rgb(205, 90, 241);
/* oklch */ color: oklch(67.2% 0.232 317.2);
Tailwind
colors: {
  custom: {
    50: '#e08ff6',
    500: '#cd5af1',
    950: '#000000',
  },
}
SCSS
$custom: #cd5af1;
$custom-light: #e08ff6;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5af1",
  "rgb": {
    "r": 205,
    "g": 90,
    "b": 241
  },
  "hsl": {
    "h": 285.695,
    "s": 84.358,
    "l": 64.902
  },
  "oklch": {
    "l": 0.67242,
    "c": 0.23171,
    "h": 317.2
  },
  "luminance": 0.26642
}

Semantic roles & 50–950 ramp

primary
#CD5AF1
secondary
#C6EDBA
accent
#E10539
background
#FEF9FF
surface
#FCF1FF
border
#D5CBD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #CD5AF1

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

Preview Lab → · Contrast checker → · Palette generator →

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