#CB54C8#CB54C8

#CB54C8 is a light, highly saturated purple. Relative luminance 0.232; OKLCH L 64.1% C 0.203 H 328.6°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#CB54C8
RGBrgb(203, 84, 200)
HSLhsl(302, 53%, 56%)
HSVhsv(302, 59%, 80%)
CMYKcmyk(0%, 58.6%, 1.5%, 20.4%)
CIE-LABlab(55.29, 61.79, -38.37)
CIE-LCHlch(55.29, 72.73, 328.16°)
OKLaboklab(64.06% 0.1732 -0.1056)
OKLCHoklch(64.06% 0.203 328.6)
XYZxyz(38.2238, 23.2098, 57.0990)
Luminance0.2321 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB54C8 #54CB57
analogous
#9354CB #CB54C8 #CB548D
triadic
#CB54C8 #C8CB54 #54C8CB
tetradic
#CB54C8 #CB9354 #54CB57 #548DCB
square
#CB54C8 #CB9354 #54CB57 #548DCB
split-complementary
#CB54C8 #8DCB54 #54CB93
monochromatic
#7E267C #AD35AA #CB54C8 #D983D7 #E8B2E6

Accessibility & contrast

On white

3.72
#CB54C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#CB54C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB54C8
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB54C8#FFFFFF#000000##000000
##CB54C81.003.725.645.64
#FFFFFF3.721.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#497ACC
Deuteranopia (green-blind)
#718AC5
Tritanopia (blue-blind)
#D16286
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #cb54c8;
/* rgb */ color: rgb(203, 84, 200);
/* oklch */ color: oklch(64.1% 0.203 328.6);
Tailwind
colors: {
  custom: {
    50: '#de8bd9',
    500: '#cb54c8',
    950: '#000000',
  },
}
SCSS
$custom: #cb54c8;
$custom-light: #de8bd9;
$custom-dark: #000000;
JSON
{
  "hex": "#cb54c8",
  "rgb": {
    "r": 203,
    "g": 84,
    "b": 200
  },
  "hsl": {
    "h": 301.513,
    "s": 53.363,
    "l": 56.275
  },
  "oklch": {
    "l": 0.64059,
    "c": 0.20283,
    "h": 328.6
  },
  "luminance": 0.23207
}

Semantic roles & 50–950 ramp

primary
#CB54C8
secondary
#A5D6A6
accent
#DD4F4B
background
#FEF8FD
surface
#FCF0FA
border
#D5CBD3
text
#150C14
muted
#847D83

Preview Lab

Preview with #CB54C8

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

Preview Lab → · Contrast checker → · Palette generator →

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