#CB54C0#CB54C0

#CB54C0 is a light, vivid purple. Relative luminance 0.228; OKLCH L 63.7% C 0.196 H 331.3°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#CB54C0
RGBrgb(203, 84, 192)
HSLhsl(306, 53%, 56%)
HSVhsv(306, 59%, 80%)
CMYKcmyk(0%, 58.6%, 5.4%, 20.4%)
CIE-LABlab(54.91, 60.45, -34.37)
CIE-LCHlch(54.91, 69.54, 330.38°)
OKLaboklab(63.66% 0.1722 -0.0941)
OKLCHoklch(63.66% 0.196 331.3)
XYZxyz(37.3132, 22.8455, 52.3033)
Luminance0.2284 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB54C0 #54CB5F
analogous
#9B54CB #CB54C0 #CB5485
triadic
#CB54C0 #C0CB54 #54C0CB
tetradic
#CB54C0 #CB9B54 #54CB5F #5485CB
square
#CB54C0 #CB9B54 #54CB5F #5485CB
split-complementary
#CB54C0 #85CB54 #54CB9B
monochromatic
#7E2676 #AD35A2 #CB54C0 #D983D1 #E8B2E3

Accessibility & contrast

On white

3.77
#CB54C0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#CB54C0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB54C0
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB54C0#FFFFFF#000000##000000
##CB54C01.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E79C3
Deuteranopia (green-blind)
#7489BD
Tritanopia (blue-blind)
#D35F82
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #cb54c0;
/* rgb */ color: rgb(203, 84, 192);
/* oklch */ color: oklch(63.7% 0.196 331.3);
Tailwind
colors: {
  custom: {
    50: '#de8bd3',
    500: '#cb54c0',
    950: '#000000',
  },
}
SCSS
$custom: #cb54c0;
$custom-light: #de8bd3;
$custom-dark: #000000;
JSON
{
  "hex": "#cb54c0",
  "rgb": {
    "r": 203,
    "g": 84,
    "b": 192
  },
  "hsl": {
    "h": 305.546,
    "s": 53.363,
    "l": 56.275
  },
  "oklch": {
    "l": 0.63663,
    "c": 0.19628,
    "h": 331.3
  },
  "luminance": 0.22843
}

Semantic roles & 50–950 ramp

primary
#CB54C0
secondary
#A5D6A9
accent
#DD594B
background
#FEF8FD
surface
#FCF0FA
border
#D5CBD3
text
#150C14
muted
#847D83

Preview Lab

Preview with #CB54C0

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

Preview Lab → · Contrast checker → · Palette generator →

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