#CB54D1#CB54D1

#CB54D1 is a light, highly saturated purple. Relative luminance 0.236; OKLCH L 64.5% C 0.210 H 325.7°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#CB54D1
RGBrgb(203, 84, 209)
HSLhsl(297, 58%, 57%)
HSVhsv(297, 60%, 82%)
CMYKcmyk(2.9%, 59.8%, 0%, 18%)
CIE-LABlab(55.73, 63.34, -42.81)
CIE-LCHlch(55.73, 76.45, 325.95°)
OKLaboklab(64.52% 0.1739 -0.1184)
OKLCHoklch(64.52% 0.21 325.7)
XYZxyz(39.3067, 23.6429, 62.8024)
Luminance0.2364 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB54D1 #5AD154
analogous
#8D54D1 #CB54D1 #D15499
triadic
#CB54D1 #D1CB54 #54D1CB
tetradic
#CB54D1 #D18D54 #5AD154 #5499D1
square
#CB54D1 #D18D54 #5AD154 #5499D1
split-complementary
#CB54D1 #99D154 #54D18D
monochromatic
#822486 #B031B7 #CB54D1 #DA84DE #E8B4EB

Accessibility & contrast

On white

3.67
#CB54D1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#CB54D1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB54D1
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB54D1#FFFFFF#000000##000000
##CB54D11.003.675.735.73
#FFFFFF3.671.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#417CD5
Deuteranopia (green-blind)
#6C8BCE
Tritanopia (blue-blind)
#D0658B
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #cb54d1;
/* rgb */ color: rgb(203, 84, 209);
/* oklch */ color: oklch(64.5% 0.210 325.7);
Tailwind
colors: {
  custom: {
    50: '#de8bdf',
    500: '#cb54d1',
    950: '#000000',
  },
}
SCSS
$custom: #cb54d1;
$custom-light: #de8bdf;
$custom-dark: #000000;
JSON
{
  "hex": "#cb54d1",
  "rgb": {
    "r": 203,
    "g": 84,
    "b": 209
  },
  "hsl": {
    "h": 297.12,
    "s": 57.604,
    "l": 57.451
  },
  "oklch": {
    "l": 0.64524,
    "c": 0.21042,
    "h": 325.7
  },
  "luminance": 0.23641
}

Semantic roles & 50–950 ramp

primary
#CB54D1
secondary
#AADAA7
accent
#E1474E
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#150C15
muted
#847D83

Preview Lab

Preview with #CB54D1

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

Preview Lab → · Contrast checker → · Palette generator →

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