#CB56F1#CB56F1

#CB56F1 is a light, highly saturated purple. Relative luminance 0.257; OKLCH L 66.5% C 0.236 H 316.8°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#CB56F1
RGBrgb(203, 86, 241)
HSLhsl(285, 85%, 64%)
HSVhsv(285, 64%, 95%)
CMYKcmyk(15.8%, 64.3%, 0%, 5.5%)
CIE-LABlab(57.76, 68.38, -57.60)
CIE-LCHlch(57.76, 89.41, 319.89°)
OKLaboklab(66.55% 0.1722 -0.1615)
OKLCHoklch(66.55% 0.236 316.8)
XYZxyz(43.8312, 25.7047, 85.8547)
Luminance0.2570 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB56F1 #7CF156
analogous
#7E56F1 #CB56F1 #F156CA
triadic
#CB56F1 #F1CB56 #56F1CB
tetradic
#CB56F1 #F17E56 #7CF156 #56CAF1
square
#CB56F1 #F17E56 #7CF156 #56CAF1
split-complementary
#CB56F1 #CAF156 #56F17E
monochromatic
#9210BD #BA1DEC #CB56F1 #DC8FF6 #EEC7FA

Accessibility & contrast

On white

3.42
#CB56F1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.14
#CB56F1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB56F1
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB56F1#FFFFFF#000000##000000
##CB56F11.003.426.146.14
#FFFFFF3.421.0021.0021.00
#0000006.1421.001.001.00
##0000006.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#1783F6
Deuteranopia (green-blind)
#598EED
Tritanopia (blue-blind)
#C9729C
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #cb56f1;
/* rgb */ color: rgb(203, 86, 241);
/* oklch */ color: oklch(66.5% 0.236 316.8);
Tailwind
colors: {
  custom: {
    50: '#df8df6',
    500: '#cb56f1',
    950: '#000000',
  },
}
SCSS
$custom: #cb56f1;
$custom-light: #df8df6;
$custom-dark: #000000;
JSON
{
  "hex": "#cb56f1",
  "rgb": {
    "r": 203,
    "g": 86,
    "b": 241
  },
  "hsl": {
    "h": 285.29,
    "s": 84.699,
    "l": 64.118
  },
  "oklch": {
    "l": 0.66546,
    "c": 0.23614,
    "h": 316.8
  },
  "luminance": 0.25703
}

Semantic roles & 50–950 ramp

primary
#CB56F1
secondary
#C4ECB6
accent
#E1043A
background
#FEF9FF
surface
#FCF1FF
border
#D5CBD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #CB56F1

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

Preview Lab → · Contrast checker → · Palette generator →

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