#CB54BB#CB54BB

#CB54BB is a light, vivid purple. Relative luminance 0.226; OKLCH L 63.4% C 0.192 H 333.1°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#CB54BB
RGBrgb(203, 84, 187)
HSLhsl(308, 53%, 56%)
HSVhsv(308, 59%, 80%)
CMYKcmyk(0%, 58.6%, 7.9%, 20.4%)
CIE-LABlab(54.69, 59.64, -31.84)
CIE-LCHlch(54.69, 67.60, 331.90°)
OKLaboklab(63.42% 0.1716 -0.0869)
OKLCHoklch(63.42% 0.192 333.1)
XYZxyz(36.7686, 22.6277, 49.4351)
Luminance0.2263 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB54BB #54CB64
analogous
#A054CB #CB54BB #CB5480
triadic
#CB54BB #BBCB54 #54BBCB
tetradic
#CB54BB #CBA054 #54CB64 #5480CB
square
#CB54BB #CBA054 #54CB64 #5480CB
split-complementary
#CB54BB #80CB54 #54CBA0
monochromatic
#7E2672 #AD359D #CB54BB #D983CE #E8B2E0

Accessibility & contrast

On white

3.80
#CB54BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CB54BB#FFFFFF#000000##000000
##CB54BB1.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5178BE
Deuteranopia (green-blind)
#7689B8
Tritanopia (blue-blind)
#D35D80
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #cb54bb;
/* rgb */ color: rgb(203, 84, 187);
/* oklch */ color: oklch(63.4% 0.192 333.1);
Tailwind
colors: {
  custom: {
    50: '#de8bcf',
    500: '#cb54bb',
    950: '#000000',
  },
}
SCSS
$custom: #cb54bb;
$custom-light: #de8bcf;
$custom-dark: #000000;
JSON
{
  "hex": "#cb54bb",
  "rgb": {
    "r": 203,
    "g": 84,
    "b": 187
  },
  "hsl": {
    "h": 308.067,
    "s": 53.363,
    "l": 56.275
  },
  "oklch": {
    "l": 0.63424,
    "c": 0.1923,
    "h": 333.1
  },
  "luminance": 0.22625
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB54BB

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

Preview Lab → · Contrast checker → · Palette generator →

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