#CB56FD#CB56FD

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

Color values

HEX#CB56FD
RGBrgb(203, 86, 253)
HSLhsl(282, 98%, 66%)
HSVhsv(282, 66%, 99%)
CMYKcmyk(19.8%, 66%, 0%, 0.8%)
CIE-LABlab(58.46, 70.72, -63.14)
CIE-LCHlch(58.46, 94.81, 318.24°)
OKLaboklab(67.28% 0.1717 -0.1777)
OKLCHoklch(67.28% 0.247 314)
XYZxyz(45.6830, 26.4454, 95.6075)
Luminance0.2644 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB56FD #88FD56
analogous
#7856FD #CB56FD #FD56DC
triadic
#CB56FD #FDCB56 #56FDCB
tetradic
#CB56FD #FD7856 #88FD56 #56DCFD
square
#CB56FD #FD7856 #88FD56 #56DCFD
split-complementary
#CB56FD #DCFD56 #56FD78
monochromatic
#9703D6 #B81AFC #CB56FD #DE92FE #F0CFFE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CB56FD#FFFFFF#000000##000000
##CB56FD1.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)
#0086FF
Deuteranopia (green-blind)
#4E8FF9
Tritanopia (blue-blind)
#C677A3
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #cb56fd;
/* rgb */ color: rgb(203, 86, 253);
/* oklch */ color: oklch(67.3% 0.247 314.0);
Tailwind
colors: {
  custom: {
    50: '#df8dff',
    500: '#cb56fd',
    950: '#000000',
  },
}
SCSS
$custom: #cb56fd;
$custom-light: #df8dff;
$custom-dark: #000000;
JSON
{
  "hex": "#cb56fd",
  "rgb": {
    "r": 203,
    "g": 86,
    "b": 253
  },
  "hsl": {
    "h": 282.036,
    "s": 97.661,
    "l": 66.471
  },
  "oklch": {
    "l": 0.67276,
    "c": 0.24714,
    "h": 314
  },
  "luminance": 0.26444
}

Semantic roles & 50–950 ramp

primary
#CB56FD
secondary
#CDF2BC
accent
#E60045
background
#FEF9FF
surface
#FCF1FF
border
#D5CBD7
text
#160D18
muted
#847E86

Preview Lab

Preview with #CB56FD

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

Preview Lab → · Contrast checker → · Palette generator →

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