#CB54DB#CB54DB

#CB54DB is a light, highly saturated purple. Relative luminance 0.242; OKLCH L 65.1% C 0.219 H 322.8°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#CB54DB
RGBrgb(203, 84, 219)
HSLhsl(293, 65%, 59%)
HSVhsv(293, 62%, 86%)
CMYKcmyk(7.3%, 61.6%, 0%, 14.1%)
CIE-LABlab(56.24, 65.12, -47.67)
CIE-LCHlch(56.24, 80.71, 323.80°)
OKLaboklab(65.06% 0.1744 -0.1325)
OKLCHoklch(65.06% 0.219 322.8)
XYZxyz(40.5838, 24.1538, 69.5286)
Luminance0.2415 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB54DB #64DB54
analogous
#8854DB #CB54DB #DB54A8
triadic
#CB54DB #DBCB54 #54DBCB
tetradic
#CB54DB #DB8854 #64DB54 #54A8DB
square
#CB54DB #DB8854 #64DB54 #54A8DB
split-complementary
#CB54DB #A8DB54 #54DB88
monochromatic
#871F95 #B52AC8 #CB54DB #DA87E6 #EAB9F0

Accessibility & contrast

On white

3.60
#CB54DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#CB54DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB54DB
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB54DB#FFFFFF#000000##000000
##CB54DB1.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#387EDF
Deuteranopia (green-blind)
#668CD7
Tritanopia (blue-blind)
#CE6990
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #cb54db;
/* rgb */ color: rgb(203, 84, 219);
/* oklch */ color: oklch(65.1% 0.219 322.8);
Tailwind
colors: {
  custom: {
    50: '#de8be7',
    500: '#cb54db',
    950: '#000000',
  },
}
SCSS
$custom: #cb54db;
$custom-light: #de8be7;
$custom-dark: #000000;
JSON
{
  "hex": "#cb54db",
  "rgb": {
    "r": 203,
    "g": 84,
    "b": 219
  },
  "hsl": {
    "h": 292.889,
    "s": 65.217,
    "l": 59.412
  },
  "oklch": {
    "l": 0.65063,
    "c": 0.21908,
    "h": 322.8
  },
  "luminance": 0.24152
}

Semantic roles & 50–950 ramp

primary
#CB54DB
secondary
#B1E0AB
accent
#E84054
background
#FEF8FE
surface
#FCF0FC
border
#D5CBD5
text
#160D16
muted
#847D84

Preview Lab

Preview with #CB54DB

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

Preview Lab → · Contrast checker → · Palette generator →

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