#CB56E3#CB56E3

#CB56E3 is a light, highly saturated purple. Relative luminance 0.249; OKLCH L 65.7% C 0.223 H 320.5°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#CB56E3
RGBrgb(203, 86, 227)
HSLhsl(290, 72%, 61%)
HSVhsv(290, 62%, 89%)
CMYKcmyk(10.6%, 62.1%, 0%, 11%)
CIE-LABlab(56.98, 65.73, -51.01)
CIE-LCHlch(56.98, 83.20, 322.19°)
OKLaboklab(65.73% 0.1723 -0.1423)
OKLCHoklch(65.73% 0.223 320.5)
XYZxyz(41.8199, 24.9001, 75.2615)
Luminance0.2490 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB56E3 #6EE356
analogous
#8556E3 #CB56E3 #E356B5
triadic
#CB56E3 #E3CB56 #56E3CB
tetradic
#CB56E3 #E38556 #6EE356 #56B5E3
square
#CB56E3 #E38556 #6EE356 #56B5E3
split-complementary
#CB56E3 #B5E356 #56E385
monochromatic
#8C1BA4 #B924D8 #CB56E3 #DB8BEC #EBBFF4

Accessibility & contrast

On white

3.51
#CB56E3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#CB56E3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB56E3
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB56E3#FFFFFF#000000##000000
##CB56E31.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3281E7
Deuteranopia (green-blind)
#638DDF
Tritanopia (blue-blind)
#CC6D95
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #cb56e3;
/* rgb */ color: rgb(203, 86, 227);
/* oklch */ color: oklch(65.7% 0.223 320.5);
Tailwind
colors: {
  custom: {
    50: '#de8dec',
    500: '#cb56e3',
    950: '#000000',
  },
}
SCSS
$custom: #cb56e3;
$custom-light: #de8dec;
$custom-dark: #000000;
JSON
{
  "hex": "#cb56e3",
  "rgb": {
    "r": 203,
    "g": 86,
    "b": 227
  },
  "hsl": {
    "h": 289.787,
    "s": 71.574,
    "l": 61.373
  },
  "oklch": {
    "l": 0.65734,
    "c": 0.22347,
    "h": 320.5
  },
  "luminance": 0.24898
}

Semantic roles & 50–950 ramp

primary
#CB56E3
secondary
#B9E5B0
accent
#D41233
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #CB56E3

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

Preview Lab → · Contrast checker → · Palette generator →

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