#CD56FA#CD56FA

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

Color values

HEX#CD56FA
RGBrgb(205, 86, 250)
HSLhsl(284, 94%, 66%)
HSVhsv(284, 66%, 98%)
CMYKcmyk(18%, 65.6%, 0%, 2%)
CIE-LABlab(58.54, 70.56, -61.33)
CIE-LCHlch(58.54, 93.48, 319.00°)
OKLaboklab(67.34% 0.1743 -0.1724)
OKLCHoklch(67.34% 0.245 315.3)
XYZxyz(45.7572, 26.5385, 93.1361)
Luminance0.2654 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD56FA #83FA56
analogous
#7B56FA #CD56FA #FA56D5
triadic
#CD56FA #FACD56 #56FACD
tetradic
#CD56FA #FA7B56 #83FA56 #56D5FA
square
#CD56FA #FA7B56 #83FA56 #56D5FA
split-complementary
#CD56FA #D5FA56 #56FA7B
monochromatic
#9806CF #BB1BF8 #CD56FA #DF91FC #F0CDFE

Accessibility & contrast

On white

3.33
#CD56FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.31
#CD56FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD56FA
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD56FA#FFFFFF#000000##000000
##CD56FA1.003.336.316.31
#FFFFFF3.331.0021.0021.00
#0000006.3121.001.001.00
##0000006.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0086FF
Deuteranopia (green-blind)
#5390F6
Tritanopia (blue-blind)
#CA76A1
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #cd56fa;
/* rgb */ color: rgb(205, 86, 250);
/* oklch */ color: oklch(67.3% 0.245 315.3);
Tailwind
colors: {
  custom: {
    50: '#e08efd',
    500: '#cd56fa',
    950: '#000000',
  },
}
SCSS
$custom: #cd56fa;
$custom-light: #e08efd;
$custom-dark: #000000;
JSON
{
  "hex": "#cd56fa",
  "rgb": {
    "r": 205,
    "g": 86,
    "b": 250
  },
  "hsl": {
    "h": 283.537,
    "s": 94.253,
    "l": 65.882
  },
  "oklch": {
    "l": 0.67337,
    "c": 0.24511,
    "h": 315.3
  },
  "luminance": 0.26537
}

Semantic roles & 50–950 ramp

primary
#CD56FA
secondary
#CAF1BB
accent
#E6003F
background
#FEF9FF
surface
#FCF1FF
border
#D5CBD7
text
#160D18
muted
#847E86

Preview Lab

Preview with #CD56FA

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

Preview Lab → · Contrast checker → · Palette generator →

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