#CD5FD3#CD5FD3

#CD5FD3 is a light, vivid purple. Relative luminance 0.259; OKLCH L 66.2% C 0.197 H 325.5°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#CD5FD3
RGBrgb(205, 95, 211)
HSLhsl(297, 57%, 60%)
HSVhsv(297, 55%, 83%)
CMYKcmyk(2.8%, 55%, 0%, 17.3%)
CIE-LABlab(57.91, 59.28, -40.49)
CIE-LCHlch(57.91, 71.79, 325.67°)
OKLaboklab(66.21% 0.1626 -0.1118)
OKLCHoklch(66.21% 0.197 325.5)
XYZxyz(41.0260, 25.8690, 64.4476)
Luminance0.2587 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5FD3 #65D35F
analogous
#935FD3 #CD5FD3 #D35F9F
triadic
#CD5FD3 #D3CD5F #5FD3CD
tetradic
#CD5FD3 #D3935F #65D35F #5F9FD3
square
#CD5FD3 #D3935F #65D35F #5F9FD3
split-complementary
#CD5FD3 #9FD35F #5FD393
monochromatic
#8B2890 #B935C0 #CD5FD3 #DC8FE0 #EBBFED

Accessibility & contrast

On white

3.40
#CD5FD3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#CD5FD3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5FD3
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5FD3#FFFFFF#000000##000000
##CD5FD31.003.406.176.17
#FFFFFF3.401.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5082D7
Deuteranopia (green-blind)
#7490D0
Tritanopia (blue-blind)
#D26E90
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #cd5fd3;
/* rgb */ color: rgb(205, 95, 211);
/* oklch */ color: oklch(66.2% 0.197 325.5);
Tailwind
colors: {
  custom: {
    50: '#df92e1',
    500: '#cd5fd3',
    950: '#000000',
  },
}
SCSS
$custom: #cd5fd3;
$custom-light: #df92e1;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5fd3",
  "rgb": {
    "r": 205,
    "g": 95,
    "b": 211
  },
  "hsl": {
    "h": 296.897,
    "s": 56.863,
    "l": 60
  },
  "oklch": {
    "l": 0.66207,
    "c": 0.19732,
    "h": 325.5
  },
  "luminance": 0.25867
}

Semantic roles & 50–950 ramp

primary
#CD5FD3
secondary
#B3DDB1
accent
#E04850
background
#FEF9FD
surface
#FCF2FB
border
#D5CCD4
text
#150D15
muted
#847E83

Preview Lab

Preview with #CD5FD3

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

Preview Lab → · Contrast checker → · Palette generator →

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