#CD56F1#CD56F1

#CD56F1 is a light, highly saturated purple. Relative luminance 0.260; OKLCH L 66.8% C 0.237 H 317.5°. Best body text is #000000 at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#CD56F1
RGBrgb(205, 86, 241)
HSLhsl(286, 85%, 64%)
HSVhsv(286, 64%, 95%)
CMYKcmyk(14.9%, 64.3%, 0%, 5.5%)
CIE-LABlab(58.03, 68.82, -57.16)
CIE-LCHlch(58.03, 89.47, 320.29°)
OKLaboklab(66.8% 0.1746 -0.1602)
OKLCHoklch(66.8% 0.237 317.5)
XYZxyz(44.3795, 25.9874, 85.8804)
Luminance0.2599 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD56F1 #7AF156
analogous
#8056F1 #CD56F1 #F156C7
triadic
#CD56F1 #F1CD56 #56F1CD
tetradic
#CD56F1 #F18056 #7AF156 #56C7F1
square
#CD56F1 #F18056 #7AF156 #56C7F1
split-complementary
#CD56F1 #C7F156 #56F180
monochromatic
#9510BD #BC1DEC #CD56F1 #DE8FF6 #EEC7FA

Accessibility & contrast

On white

3.39
#CD56F1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.20
#CD56F1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD56F1
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD56F1#FFFFFF#000000##000000
##CD56F11.003.396.206.20
#FFFFFF3.391.0021.0021.00
#0000006.2021.001.001.00
##0000006.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#1B84F6
Deuteranopia (green-blind)
#5B8FED
Tritanopia (blue-blind)
#CC729C
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #cd56f1;
/* rgb */ color: rgb(205, 86, 241);
/* oklch */ color: oklch(66.8% 0.237 317.5);
Tailwind
colors: {
  custom: {
    50: '#e08df6',
    500: '#cd56f1',
    950: '#000000',
  },
}
SCSS
$custom: #cd56f1;
$custom-light: #e08df6;
$custom-dark: #000000;
JSON
{
  "hex": "#cd56f1",
  "rgb": {
    "r": 205,
    "g": 86,
    "b": 241
  },
  "hsl": {
    "h": 286.065,
    "s": 84.699,
    "l": 64.118
  },
  "oklch": {
    "l": 0.66796,
    "c": 0.23693,
    "h": 317.5
  },
  "luminance": 0.25986
}

Semantic roles & 50–950 ramp

primary
#CD56F1
secondary
#C3ECB6
accent
#E10438
background
#FEF9FF
surface
#FCF1FF
border
#D5CBD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #CD56F1

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

Preview Lab → · Contrast checker → · Palette generator →

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