#CB54B8#CB54B8

#CB54B8 is a light, vivid purple. Relative luminance 0.225; OKLCH L 63.3% C 0.190 H 334.3°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#CB54B8
RGBrgb(203, 84, 184)
HSLhsl(310, 53%, 56%)
HSVhsv(310, 59%, 80%)
CMYKcmyk(0%, 58.6%, 9.4%, 20.4%)
CIE-LABlab(54.55, 59.15, -30.32)
CIE-LCHlch(54.55, 66.47, 332.86°)
OKLaboklab(63.28% 0.1711 -0.0825)
OKLCHoklch(63.28% 0.19 334.3)
XYZxyz(36.4508, 22.5006, 47.7613)
Luminance0.2250 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB54B8 #54CB67
analogous
#A354CB #CB54B8 #CB547D
triadic
#CB54B8 #B8CB54 #54B8CB
tetradic
#CB54B8 #CBA354 #54CB67 #547DCB
square
#CB54B8 #CBA354 #54CB67 #547DCB
split-complementary
#CB54B8 #7DCB54 #54CBA3
monochromatic
#7E2670 #AD359A #CB54B8 #D983CB #E8B2DF

Accessibility & contrast

On white

3.82
#CB54B8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#CB54B8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB54B8
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB54B8#FFFFFF#000000##000000
##CB54B81.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5377BB
Deuteranopia (green-blind)
#7889B5
Tritanopia (blue-blind)
#D45C7E
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #cb54b8;
/* rgb */ color: rgb(203, 84, 184);
/* oklch */ color: oklch(63.3% 0.190 334.3);
Tailwind
colors: {
  custom: {
    50: '#de8bcd',
    500: '#cb54b8',
    950: '#000000',
  },
}
SCSS
$custom: #cb54b8;
$custom-light: #de8bcd;
$custom-dark: #000000;
JSON
{
  "hex": "#cb54b8",
  "rgb": {
    "r": 203,
    "g": 84,
    "b": 184
  },
  "hsl": {
    "h": 309.58,
    "s": 53.363,
    "l": 56.275
  },
  "oklch": {
    "l": 0.63283,
    "c": 0.18997,
    "h": 334.3
  },
  "luminance": 0.22498
}

Semantic roles & 50–950 ramp

primary
#CB54B8
secondary
#A5D6AD
accent
#DD624B
background
#FDF8FC
surface
#FBF0F9
border
#D4CBD2
text
#150C13
muted
#837D82

Preview Lab

Preview with #CB54B8

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

Preview Lab → · Contrast checker → · Palette generator →

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