#CB54D5#CB54D5

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

Color values

HEX#CB54D5
RGBrgb(203, 84, 213)
HSLhsl(295, 61%, 58%)
HSVhsv(295, 61%, 84%)
CMYKcmyk(4.7%, 60.6%, 0%, 16.5%)
CIE-LABlab(55.93, 64.05, -44.77)
CIE-LCHlch(55.93, 78.14, 325.05°)
OKLaboklab(64.74% 0.1742 -0.1241)
OKLCHoklch(64.74% 0.214 324.5)
XYZxyz(39.8082, 23.8435, 65.4434)
Luminance0.2384 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB54D5 #5ED554
analogous
#8A54D5 #CB54D5 #D5549E
triadic
#CB54D5 #D5CB54 #54D5CB
tetradic
#CB54D5 #D58A54 #5ED554 #549ED5
square
#CB54D5 #D58A54 #5ED554 #549ED5
split-complementary
#CB54D5 #9ED554 #54D58A
monochromatic
#84228C #B22EBD #CB54D5 #DA85E1 #E9B6ED

Accessibility & contrast

On white

3.64
#CB54D5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#CB54D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB54D5
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB54D5#FFFFFF#000000##000000
##CB54D51.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E7DD9
Deuteranopia (green-blind)
#6A8BD2
Tritanopia (blue-blind)
#CF668D
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #cb54d5;
/* rgb */ color: rgb(203, 84, 213);
/* oklch */ color: oklch(64.7% 0.214 324.5);
Tailwind
colors: {
  custom: {
    50: '#de8be2',
    500: '#cb54d5',
    950: '#000000',
  },
}
SCSS
$custom: #cb54d5;
$custom-light: #de8be2;
$custom-dark: #000000;
JSON
{
  "hex": "#cb54d5",
  "rgb": {
    "r": 203,
    "g": 84,
    "b": 213
  },
  "hsl": {
    "h": 295.349,
    "s": 60.563,
    "l": 58.235
  },
  "oklch": {
    "l": 0.64737,
    "c": 0.21386,
    "h": 324.5
  },
  "luminance": 0.23841
}

Semantic roles & 50–950 ramp

primary
#CB54D5
secondary
#ADDCA9
accent
#E44450
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#150C15
muted
#847D83

Preview Lab

Preview with #CB54D5

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

Preview Lab → · Contrast checker → · Palette generator →

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