#CD5AF3#CD5AF3

#CD5AF3 is a light, highly saturated purple. Relative luminance 0.268; OKLCH L 67.4% C 0.234 H 316.7°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#CD5AF3
RGBrgb(205, 90, 243)
HSLhsl(285, 86%, 65%)
HSVhsv(285, 63%, 95%)
CMYKcmyk(15.6%, 63%, 0%, 4.7%)
CIE-LABlab(58.76, 67.50, -57.10)
CIE-LCHlch(58.76, 88.41, 319.77°)
OKLaboklab(67.36% 0.1701 -0.16)
OKLCHoklch(67.36% 0.234 316.7)
XYZxyz(45.0083, 26.7643, 87.5718)
Luminance0.2676 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5AF3 #80F35A
analogous
#805AF3 #CD5AF3 #F35ACD
triadic
#CD5AF3 #F3CD5A #5AF3CD
tetradic
#CD5AF3 #F3805A #80F35A #5ACDF3
square
#CD5AF3 #F3805A #80F35A #5ACDF3
split-complementary
#CD5AF3 #CDF35A #5AF380
monochromatic
#970EC4 #BC21EF #CD5AF3 #DE93F7 #F0CCFB

Accessibility & contrast

On white

3.31
#CD5AF3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.35
#CD5AF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5AF3
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5AF3#FFFFFF#000000##000000
##CD5AF31.003.316.356.35
#FFFFFF3.311.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2386F8
Deuteranopia (green-blind)
#5C91EF
Tritanopia (blue-blind)
#CB769F
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #cd5af3;
/* rgb */ color: rgb(205, 90, 243);
/* oklch */ color: oklch(67.4% 0.234 316.7);
Tailwind
colors: {
  custom: {
    50: '#e090f8',
    500: '#cd5af3',
    950: '#000000',
  },
}
SCSS
$custom: #cd5af3;
$custom-light: #e090f8;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5af3",
  "rgb": {
    "r": 205,
    "g": 90,
    "b": 243
  },
  "hsl": {
    "h": 285.098,
    "s": 86.441,
    "l": 65.294
  },
  "oklch": {
    "l": 0.67359,
    "c": 0.23355,
    "h": 316.7
  },
  "luminance": 0.26763
}

Semantic roles & 50–950 ramp

primary
#CD5AF3
secondary
#C7EEBB
accent
#E3033A
background
#FEF9FF
surface
#FCF1FF
border
#D5CBD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #CD5AF3

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

Preview Lab → · Contrast checker → · Palette generator →

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