#CB54BF#CB54BF

#CB54BF is a light, vivid purple. Relative luminance 0.228; OKLCH L 63.6% C 0.195 H 331.7°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#CB54BF
RGBrgb(203, 84, 191)
HSLhsl(306, 53%, 56%)
HSVhsv(306, 59%, 80%)
CMYKcmyk(0%, 58.6%, 5.9%, 20.4%)
CIE-LABlab(54.87, 60.29, -33.87)
CIE-LCHlch(54.87, 69.15, 330.67°)
OKLaboklab(63.62% 0.1721 -0.0927)
OKLCHoklch(63.62% 0.195 331.7)
XYZxyz(37.2028, 22.8014, 51.7218)
Luminance0.2280 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB54BF #54CB60
analogous
#9C54CB #CB54BF #CB5484
triadic
#CB54BF #BFCB54 #54BFCB
tetradic
#CB54BF #CB9C54 #54CB60 #5484CB
square
#CB54BF #CB9C54 #54CB60 #5484CB
split-complementary
#CB54BF #84CB54 #54CB9C
monochromatic
#7E2675 #AD35A1 #CB54BF #D983D1 #E8B2E2

Accessibility & contrast

On white

3.78
#CB54BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#CB54BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB54BF
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB54BF#FFFFFF#000000##000000
##CB54BF1.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F79C2
Deuteranopia (green-blind)
#7589BC
Tritanopia (blue-blind)
#D35E82
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #cb54bf;
/* rgb */ color: rgb(203, 84, 191);
/* oklch */ color: oklch(63.6% 0.195 331.7);
Tailwind
colors: {
  custom: {
    50: '#de8bd2',
    500: '#cb54bf',
    950: '#000000',
  },
}
SCSS
$custom: #cb54bf;
$custom-light: #de8bd2;
$custom-dark: #000000;
JSON
{
  "hex": "#cb54bf",
  "rgb": {
    "r": 203,
    "g": 84,
    "b": 191
  },
  "hsl": {
    "h": 306.05,
    "s": 53.363,
    "l": 56.275
  },
  "oklch": {
    "l": 0.63615,
    "c": 0.19548,
    "h": 331.7
  },
  "luminance": 0.22799
}

Semantic roles & 50–950 ramp

primary
#CB54BF
secondary
#A5D6AA
accent
#DD5A4B
background
#FDF8FC
surface
#FBF0F9
border
#D4CBD2
text
#150C14
muted
#837D82

Preview Lab

Preview with #CB54BF

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

Preview Lab → · Contrast checker → · Palette generator →

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