#CD56F9#CD56F9

#CD56F9 is a light, highly saturated purple. Relative luminance 0.265; OKLCH L 67.3% C 0.244 H 315.5°. Best body text is #000000 at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#CD56F9
RGBrgb(205, 86, 249)
HSLhsl(284, 93%, 66%)
HSVhsv(284, 65%, 98%)
CMYKcmyk(17.7%, 65.5%, 0%, 2.4%)
CIE-LABlab(58.49, 70.36, -60.87)
CIE-LCHlch(58.49, 93.04, 319.14°)
OKLaboklab(67.28% 0.1743 -0.171)
OKLCHoklch(67.28% 0.244 315.5)
XYZxyz(45.6008, 26.4759, 92.3124)
Luminance0.2647 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD56F9 #82F956
analogous
#7B56F9 #CD56F9 #F956D3
triadic
#CD56F9 #F9CD56 #56F9CD
tetradic
#CD56F9 #F97B56 #82F956 #56D3F9
square
#CD56F9 #F97B56 #82F956 #56D3F9
split-complementary
#CD56F9 #D3F956 #56F97B
monochromatic
#9807CD #BC1BF7 #CD56F9 #DE91FB #F0CCFD

Accessibility & contrast

On white

3.34
#CD56F9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.29
#CD56F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD56F9
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD56F9#FFFFFF#000000##000000
##CD56F91.003.346.296.29
#FFFFFF3.341.0021.0021.00
#0000006.2921.001.001.00
##0000006.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0086FE
Deuteranopia (green-blind)
#5490F5
Tritanopia (blue-blind)
#CA75A1
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #cd56f9;
/* rgb */ color: rgb(205, 86, 249);
/* oklch */ color: oklch(67.3% 0.244 315.5);
Tailwind
colors: {
  custom: {
    50: '#e08dfc',
    500: '#cd56f9',
    950: '#000000',
  },
}
SCSS
$custom: #cd56f9;
$custom-light: #e08dfc;
$custom-dark: #000000;
JSON
{
  "hex": "#cd56f9",
  "rgb": {
    "r": 205,
    "g": 86,
    "b": 249
  },
  "hsl": {
    "h": 283.804,
    "s": 93.143,
    "l": 65.686
  },
  "oklch": {
    "l": 0.67276,
    "c": 0.24419,
    "h": 315.5
  },
  "luminance": 0.26474
}

Semantic roles & 50–950 ramp

primary
#CD56F9
secondary
#C9F1BA
accent
#E6003E
background
#FEF9FF
surface
#FCF1FF
border
#D5CBD7
text
#160D18
muted
#847E86

Preview Lab

Preview with #CD56F9

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

Preview Lab → · Contrast checker → · Palette generator →

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