#CD56FD#CD56FD

#CD56FD is a light, highly saturated purple. Relative luminance 0.267; OKLCH L 67.5% C 0.248 H 314.6°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#CD56FD
RGBrgb(205, 86, 253)
HSLhsl(283, 98%, 66%)
HSVhsv(283, 66%, 99%)
CMYKcmyk(19%, 66%, 0%, 0.8%)
CIE-LABlab(58.72, 71.14, -62.70)
CIE-LCHlch(58.72, 94.83, 318.61°)
OKLaboklab(67.52% 0.1741 -0.1764)
OKLCHoklch(67.52% 0.248 314.6)
XYZxyz(46.2313, 26.7281, 95.6332)
Luminance0.2673 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD56FD #86FD56
analogous
#7A56FD #CD56FD #FD56DA
triadic
#CD56FD #FDCD56 #56FDCD
tetradic
#CD56FD #FD7A56 #86FD56 #56DAFD
square
#CD56FD #FD7A56 #86FD56 #56DAFD
split-complementary
#CD56FD #DAFD56 #56FD7A
monochromatic
#9903D6 #BB1AFC #CD56FD #DF92FE #F1CFFE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CD56FD#FFFFFF#000000##000000
##CD56FD1.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)
#0087FF
Deuteranopia (green-blind)
#5090F9
Tritanopia (blue-blind)
#C977A3
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #cd56fd;
/* rgb */ color: rgb(205, 86, 253);
/* oklch */ color: oklch(67.5% 0.248 314.6);
Tailwind
colors: {
  custom: {
    50: '#e08eff',
    500: '#cd56fd',
    950: '#000000',
  },
}
SCSS
$custom: #cd56fd;
$custom-light: #e08eff;
$custom-dark: #000000;
JSON
{
  "hex": "#cd56fd",
  "rgb": {
    "r": 205,
    "g": 86,
    "b": 253
  },
  "hsl": {
    "h": 282.754,
    "s": 97.661,
    "l": 66.471
  },
  "oklch": {
    "l": 0.67521,
    "c": 0.24784,
    "h": 314.6
  },
  "luminance": 0.26727
}

Semantic roles & 50–950 ramp

primary
#CD56FD
secondary
#CCF2BC
accent
#E60042
background
#FEF9FF
surface
#FCF1FF
border
#D5CBD7
text
#160D18
muted
#847E86

Preview Lab

Preview with #CD56FD

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

Preview Lab → · Contrast checker → · Palette generator →

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