#CB54BC#CB54BC

#CB54BC is a light, vivid purple. Relative luminance 0.227; OKLCH L 63.5% C 0.193 H 332.8°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#CB54BC
RGBrgb(203, 84, 188)
HSLhsl(308, 53%, 56%)
HSVhsv(308, 59%, 80%)
CMYKcmyk(0%, 58.6%, 7.4%, 20.4%)
CIE-LABlab(54.73, 59.80, -32.35)
CIE-LCHlch(54.73, 67.99, 331.59°)
OKLaboklab(63.47% 0.1717 -0.0883)
OKLCHoklch(63.47% 0.193 332.8)
XYZxyz(36.8760, 22.6707, 50.0008)
Luminance0.2267 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB54BC #54CB63
analogous
#9F54CB #CB54BC #CB5481
triadic
#CB54BC #BCCB54 #54BCCB
tetradic
#CB54BC #CB9F54 #54CB63 #5481CB
square
#CB54BC #CB9F54 #54CB63 #5481CB
split-complementary
#CB54BC #81CB54 #54CB9F
monochromatic
#7E2673 #AD359E #CB54BC #D983CE #E8B2E1

Accessibility & contrast

On white

3.79
#CB54BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#CB54BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB54BC
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB54BC#FFFFFF#000000##000000
##CB54BC1.003.795.535.53
#FFFFFF3.791.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5078BF
Deuteranopia (green-blind)
#7689B9
Tritanopia (blue-blind)
#D35D80
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #cb54bc;
/* rgb */ color: rgb(203, 84, 188);
/* oklch */ color: oklch(63.5% 0.193 332.8);
Tailwind
colors: {
  custom: {
    50: '#de8bd0',
    500: '#cb54bc',
    950: '#000000',
  },
}
SCSS
$custom: #cb54bc;
$custom-light: #de8bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#cb54bc",
  "rgb": {
    "r": 203,
    "g": 84,
    "b": 188
  },
  "hsl": {
    "h": 307.563,
    "s": 53.363,
    "l": 56.275
  },
  "oklch": {
    "l": 0.63471,
    "c": 0.1931,
    "h": 332.8
  },
  "luminance": 0.22668
}

Semantic roles & 50–950 ramp

primary
#CB54BC
secondary
#A5D6AB
accent
#DD5D4B
background
#FDF8FC
surface
#FBF0F9
border
#D4CBD2
text
#150C14
muted
#837D82

Preview Lab

Preview with #CB54BC

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

Preview Lab → · Contrast checker → · Palette generator →

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