#CB55E2#CB55E2

#CB55E2 is a light, highly saturated purple. Relative luminance 0.247; OKLCH L 65.6% C 0.224 H 320.8°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#CB55E2
RGBrgb(203, 85, 226)
HSLhsl(290, 71%, 61%)
HSVhsv(290, 62%, 89%)
CMYKcmyk(10.2%, 62.4%, 0%, 11.4%)
CIE-LABlab(56.77, 65.98, -50.78)
CIE-LCHlch(56.77, 83.26, 322.41°)
OKLaboklab(65.57% 0.1735 -0.1416)
OKLCHoklch(65.57% 0.224 320.8)
XYZxyz(41.6030, 24.6865, 74.5103)
Luminance0.2468 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB55E2 #6CE255
analogous
#8455E2 #CB55E2 #E255B2
triadic
#CB55E2 #E2CB55 #55E2CB
tetradic
#CB55E2 #E28455 #6CE255 #55B2E2
square
#CB55E2 #E28455 #6CE255 #55B2E2
split-complementary
#CB55E2 #B2E255 #55E284
monochromatic
#8B1BA1 #B924D5 #CB55E2 #DB89EB #EBBEF4

Accessibility & contrast

On white

3.54
#CB55E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.94
#CB55E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB55E2
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB55E2#FFFFFF#000000##000000
##CB55E21.003.545.945.94
#FFFFFF3.541.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3180E6
Deuteranopia (green-blind)
#638DDE
Tritanopia (blue-blind)
#CC6C94
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #cb55e2;
/* rgb */ color: rgb(203, 85, 226);
/* oklch */ color: oklch(65.6% 0.224 320.8);
Tailwind
colors: {
  custom: {
    50: '#de8cec',
    500: '#cb55e2',
    950: '#000000',
  },
}
SCSS
$custom: #cb55e2;
$custom-light: #de8cec;
$custom-dark: #000000;
JSON
{
  "hex": "#cb55e2",
  "rgb": {
    "r": 203,
    "g": 85,
    "b": 226
  },
  "hsl": {
    "h": 290.213,
    "s": 70.854,
    "l": 60.98
  },
  "oklch": {
    "l": 0.65565,
    "c": 0.22392,
    "h": 320.8
  },
  "luminance": 0.24684
}

Semantic roles & 50–950 ramp

primary
#CB55E2
secondary
#B7E4AF
accent
#D31332
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #CB55E2

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

Preview Lab → · Contrast checker → · Palette generator →

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