#CD56F5#CD56F5

#CD56F5 is a light, highly saturated purple. Relative luminance 0.262; OKLCH L 67.0% C 0.241 H 316.5°. Best body text is #000000 at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#CD56F5
RGBrgb(205, 86, 245)
HSLhsl(285, 89%, 65%)
HSVhsv(285, 65%, 96%)
CMYKcmyk(16.3%, 64.9%, 0%, 3.9%)
CIE-LABlab(58.25, 69.59, -59.02)
CIE-LCHlch(58.25, 91.25, 319.70°)
OKLaboklab(67.03% 0.1745 -0.1656)
OKLCHoklch(67.03% 0.241 316.5)
XYZxyz(44.9836, 26.2290, 89.0617)
Luminance0.2623 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD56F5 #7EF556
analogous
#7E56F5 #CD56F5 #F556CD
triadic
#CD56F5 #F5CD56 #56F5CD
tetradic
#CD56F5 #F57E56 #7EF556 #56CDF5
square
#CD56F5 #F57E56 #7EF556 #56CDF5
split-complementary
#CD56F5 #CDF556 #56F57E
monochromatic
#960CC5 #BC1CF2 #CD56F5 #DE90F8 #EFCAFC

Accessibility & contrast

On white

3.36
#CD56F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.25
#CD56F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD56F5
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD56F5#FFFFFF#000000##000000
##CD56F51.003.366.256.25
#FFFFFF3.361.0021.0021.00
#0000006.2521.001.001.00
##0000006.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0D85FA
Deuteranopia (green-blind)
#5790F1
Tritanopia (blue-blind)
#CB749F
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #cd56f5;
/* rgb */ color: rgb(205, 86, 245);
/* oklch */ color: oklch(67.0% 0.241 316.5);
Tailwind
colors: {
  custom: {
    50: '#e08df9',
    500: '#cd56f5',
    950: '#000000',
  },
}
SCSS
$custom: #cd56f5;
$custom-light: #e08df9;
$custom-dark: #000000;
JSON
{
  "hex": "#cd56f5",
  "rgb": {
    "r": 205,
    "g": 86,
    "b": 245
  },
  "hsl": {
    "h": 284.906,
    "s": 88.827,
    "l": 64.902
  },
  "oklch": {
    "l": 0.67034,
    "c": 0.24055,
    "h": 316.5
  },
  "luminance": 0.26227
}

Semantic roles & 50–950 ramp

primary
#CD56F5
secondary
#C6EFB8
accent
#E5003A
background
#FEF9FF
surface
#FCF1FF
border
#D5CBD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #CD56F5

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

Preview Lab → · Contrast checker → · Palette generator →

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