#CB54BD#CB54BD

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

Color values

HEX#CB54BD
RGBrgb(203, 84, 189)
HSLhsl(307, 53%, 56%)
HSVhsv(307, 59%, 80%)
CMYKcmyk(0%, 58.6%, 6.9%, 20.4%)
CIE-LABlab(54.78, 59.96, -32.86)
CIE-LCHlch(54.78, 68.37, 331.28°)
OKLaboklab(63.52% 0.1719 -0.0898)
OKLCHoklch(63.52% 0.194 332.4)
XYZxyz(36.9842, 22.7139, 50.5705)
Luminance0.2271 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB54BD #54CB62
analogous
#9E54CB #CB54BD #CB5482
triadic
#CB54BD #BDCB54 #54BDCB
tetradic
#CB54BD #CB9E54 #54CB62 #5482CB
square
#CB54BD #CB9E54 #54CB62 #5482CB
split-complementary
#CB54BD #82CB54 #54CB9E
monochromatic
#7E2674 #AD359F #CB54BD #D983CF #E8B2E1

Accessibility & contrast

On white

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

On black

5.54
#CB54BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB54BD
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB54BD#FFFFFF#000000##000000
##CB54BD1.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5078C0
Deuteranopia (green-blind)
#7689BA
Tritanopia (blue-blind)
#D35E81
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #cb54bd;
/* rgb */ color: rgb(203, 84, 189);
/* oklch */ color: oklch(63.5% 0.194 332.4);
Tailwind
colors: {
  custom: {
    50: '#de8bd1',
    500: '#cb54bd',
    950: '#000000',
  },
}
SCSS
$custom: #cb54bd;
$custom-light: #de8bd1;
$custom-dark: #000000;
JSON
{
  "hex": "#cb54bd",
  "rgb": {
    "r": 203,
    "g": 84,
    "b": 189
  },
  "hsl": {
    "h": 307.059,
    "s": 53.363,
    "l": 56.275
  },
  "oklch": {
    "l": 0.63519,
    "c": 0.19389,
    "h": 332.4
  },
  "luminance": 0.22711
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB54BD

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

Preview Lab → · Contrast checker → · Palette generator →

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