#CB56F0#CB56F0

#CB56F0 is a light, highly saturated purple. Relative luminance 0.256; OKLCH L 66.5% C 0.235 H 317.1°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#CB56F0
RGBrgb(203, 86, 240)
HSLhsl(286, 84%, 64%)
HSVhsv(286, 64%, 94%)
CMYKcmyk(15.4%, 64.2%, 0%, 5.9%)
CIE-LABlab(57.70, 68.19, -57.14)
CIE-LCHlch(57.70, 88.96, 320.04°)
OKLaboklab(66.49% 0.1723 -0.1602)
OKLCHoklch(66.49% 0.235 317.1)
XYZxyz(43.6823, 25.6451, 85.0702)
Luminance0.2564 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB56F0 #7BF056
analogous
#7E56F0 #CB56F0 #F056C8
triadic
#CB56F0 #F0CB56 #56F0CB
tetradic
#CB56F0 #F07E56 #7BF056 #56C8F0
square
#CB56F0 #F07E56 #7BF056 #56C8F0
split-complementary
#CB56F0 #C8F056 #56F07E
monochromatic
#9211BB #BA1EEB #CB56F0 #DC8EF5 #EEC6FA

Accessibility & contrast

On white

3.43
#CB56F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.13
#CB56F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB56F0
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB56F0#FFFFFF#000000##000000
##CB56F01.003.436.136.13
#FFFFFF3.431.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#1A83F5
Deuteranopia (green-blind)
#598EEC
Tritanopia (blue-blind)
#C9729C
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #cb56f0;
/* rgb */ color: rgb(203, 86, 240);
/* oklch */ color: oklch(66.5% 0.235 317.1);
Tailwind
colors: {
  custom: {
    50: '#df8df6',
    500: '#cb56f0',
    950: '#000000',
  },
}
SCSS
$custom: #cb56f0;
$custom-light: #df8df6;
$custom-dark: #000000;
JSON
{
  "hex": "#cb56f0",
  "rgb": {
    "r": 203,
    "g": 86,
    "b": 240
  },
  "hsl": {
    "h": 285.584,
    "s": 83.696,
    "l": 63.922
  },
  "oklch": {
    "l": 0.66487,
    "c": 0.23523,
    "h": 317.1
  },
  "luminance": 0.25643
}

Semantic roles & 50–950 ramp

primary
#CB56F0
secondary
#C3ECB6
accent
#E0053A
background
#FEF9FF
surface
#FCF1FE
border
#D5CBD6
text
#160D17
muted
#847E85

Preview Lab

Preview with #CB56F0

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

Preview Lab → · Contrast checker → · Palette generator →

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