#CB54C2#CB54C2

#CB54C2 is a light, vivid purple. Relative luminance 0.229; OKLCH L 63.8% C 0.198 H 330.7°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#CB54C2
RGBrgb(203, 84, 194)
HSLhsl(305, 53%, 56%)
HSVhsv(305, 59%, 80%)
CMYKcmyk(0%, 58.6%, 4.4%, 20.4%)
CIE-LABlab(55.01, 60.78, -35.38)
CIE-LCHlch(55.01, 70.33, 329.80°)
OKLaboklab(63.76% 0.1725 -0.097)
OKLCHoklch(63.76% 0.198 330.7)
XYZxyz(37.5363, 22.9348, 53.4783)
Luminance0.2293 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB54C2 #54CB5D
analogous
#9954CB #CB54C2 #CB5487
triadic
#CB54C2 #C2CB54 #54C2CB
tetradic
#CB54C2 #CB9954 #54CB5D #5487CB
square
#CB54C2 #CB9954 #54CB5D #5487CB
split-complementary
#CB54C2 #87CB54 #54CB99
monochromatic
#7E2678 #AD35A4 #CB54C2 #D983D3 #E8B2E3

Accessibility & contrast

On white

3.76
#CB54C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#CB54C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB54C2
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB54C2#FFFFFF#000000##000000
##CB54C21.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D79C5
Deuteranopia (green-blind)
#738ABF
Tritanopia (blue-blind)
#D25F83
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #cb54c2;
/* rgb */ color: rgb(203, 84, 194);
/* oklch */ color: oklch(63.8% 0.198 330.7);
Tailwind
colors: {
  custom: {
    50: '#de8bd5',
    500: '#cb54c2',
    950: '#000000',
  },
}
SCSS
$custom: #cb54c2;
$custom-light: #de8bd5;
$custom-dark: #000000;
JSON
{
  "hex": "#cb54c2",
  "rgb": {
    "r": 203,
    "g": 84,
    "b": 194
  },
  "hsl": {
    "h": 304.538,
    "s": 53.363,
    "l": 56.275
  },
  "oklch": {
    "l": 0.63761,
    "c": 0.1979,
    "h": 330.7
  },
  "luminance": 0.22932
}

Semantic roles & 50–950 ramp

primary
#CB54C2
secondary
#A5D6A9
accent
#DD564B
background
#FEF8FD
surface
#FCF0FA
border
#D5CBD3
text
#150C14
muted
#847D83

Preview Lab

Preview with #CB54C2

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

Preview Lab → · Contrast checker → · Palette generator →

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