#CB56F2#CB56F2

#CB56F2 is a light, highly saturated purple. Relative luminance 0.258; OKLCH L 66.6% C 0.237 H 316.6°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#CB56F2
RGBrgb(203, 86, 242)
HSLhsl(285, 86%, 64%)
HSVhsv(285, 64%, 95%)
CMYKcmyk(16.1%, 64.5%, 0%, 5.1%)
CIE-LABlab(57.81, 68.57, -58.07)
CIE-LCHlch(57.81, 89.86, 319.74°)
OKLaboklab(66.61% 0.1722 -0.1629)
OKLCHoklch(66.61% 0.237 316.6)
XYZxyz(43.9810, 25.7646, 86.6435)
Luminance0.2576 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB56F2 #7DF256
analogous
#7D56F2 #CB56F2 #F256CB
triadic
#CB56F2 #F2CB56 #56F2CB
tetradic
#CB56F2 #F27D56 #7DF256 #56CBF2
square
#CB56F2 #F27D56 #7DF256 #56CBF2
split-complementary
#CB56F2 #CBF256 #56F27D
monochromatic
#930FBF #BA1DEE #CB56F2 #DC8FF6 #EEC8FB

Accessibility & contrast

On white

3.41
#CB56F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.15
#CB56F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB56F2
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB56F2#FFFFFF#000000##000000
##CB56F21.003.416.156.15
#FFFFFF3.411.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#1484F7
Deuteranopia (green-blind)
#588EEE
Tritanopia (blue-blind)
#C9739D
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #cb56f2;
/* rgb */ color: rgb(203, 86, 242);
/* oklch */ color: oklch(66.6% 0.237 316.6);
Tailwind
colors: {
  custom: {
    50: '#df8df7',
    500: '#cb56f2',
    950: '#000000',
  },
}
SCSS
$custom: #cb56f2;
$custom-light: #df8df7;
$custom-dark: #000000;
JSON
{
  "hex": "#cb56f2",
  "rgb": {
    "r": 203,
    "g": 86,
    "b": 242
  },
  "hsl": {
    "h": 285,
    "s": 85.714,
    "l": 64.314
  },
  "oklch": {
    "l": 0.66606,
    "c": 0.23705,
    "h": 316.6
  },
  "luminance": 0.25763
}

Semantic roles & 50–950 ramp

primary
#CB56F2
secondary
#C4EDB7
accent
#E2033B
background
#FEF9FF
surface
#FCF1FF
border
#D5CBD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #CB56F2

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

Preview Lab → · Contrast checker → · Palette generator →

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