#CB54D4#CB54D4

#CB54D4 is a light, highly saturated purple. Relative luminance 0.238; OKLCH L 64.7% C 0.213 H 324.8°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#CB54D4
RGBrgb(203, 84, 212)
HSLhsl(296, 60%, 58%)
HSVhsv(296, 60%, 83%)
CMYKcmyk(4.2%, 60.4%, 0%, 16.9%)
CIE-LABlab(55.88, 63.87, -44.28)
CIE-LCHlch(55.88, 77.72, 325.27°)
OKLaboklab(64.68% 0.1741 -0.1227)
OKLCHoklch(64.68% 0.213 324.8)
XYZxyz(39.6816, 23.7929, 64.7770)
Luminance0.2379 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB54D4 #5DD454
analogous
#8B54D4 #CB54D4 #D4549D
triadic
#CB54D4 #D4CB54 #54D4CB
tetradic
#CB54D4 #D48B54 #5DD454 #549DD4
square
#CB54D4 #D48B54 #5DD454 #549DD4
split-complementary
#CB54D4 #9DD454 #54D48B
monochromatic
#83238B #B22FBC #CB54D4 #DA85E0 #E9B6ED

Accessibility & contrast

On white

3.65
#CB54D4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#CB54D4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB54D4
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB54D4#FFFFFF#000000##000000
##CB54D41.003.655.765.76
#FFFFFF3.651.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F7DD8
Deuteranopia (green-blind)
#6B8BD1
Tritanopia (blue-blind)
#CF668C
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #cb54d4;
/* rgb */ color: rgb(203, 84, 212);
/* oklch */ color: oklch(64.7% 0.213 324.8);
Tailwind
colors: {
  custom: {
    50: '#de8be2',
    500: '#cb54d4',
    950: '#000000',
  },
}
SCSS
$custom: #cb54d4;
$custom-light: #de8be2;
$custom-dark: #000000;
JSON
{
  "hex": "#cb54d4",
  "rgb": {
    "r": 203,
    "g": 84,
    "b": 212
  },
  "hsl": {
    "h": 295.781,
    "s": 59.813,
    "l": 58.039
  },
  "oklch": {
    "l": 0.64683,
    "c": 0.213,
    "h": 324.8
  },
  "luminance": 0.23791
}

Semantic roles & 50–950 ramp

primary
#CB54D4
secondary
#ACDBA8
accent
#E34550
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#150C15
muted
#847D83

Preview Lab

Preview with #CB54D4

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

Preview Lab → · Contrast checker → · Palette generator →

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