#CB54CB#CB54CB

#CB54CB is a light, highly saturated purple. Relative luminance 0.233; OKLCH L 64.2% C 0.205 H 327.6°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#CB54CB
RGBrgb(203, 84, 203)
HSLhsl(300, 53%, 56%)
HSVhsv(300, 59%, 80%)
CMYKcmyk(0%, 58.6%, 0%, 20.4%)
CIE-LABlab(55.43, 62.30, -39.86)
CIE-LCHlch(55.43, 73.96, 327.39°)
OKLaboklab(64.21% 0.1735 -0.1099)
OKLCHoklch(64.21% 0.205 327.6)
XYZxyz(38.5778, 23.3514, 58.9637)
Luminance0.2335 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB54CB #54CB54
analogous
#9054CB #CB54CB #CB5490
triadic
#CB54CB #CBCB54 #54CBCB
tetradic
#CB54CB #CB9054 #54CB54 #5490CB
square
#CB54CB #CB9054 #54CB54 #5490CB
split-complementary
#CB54CB #90CB54 #54CB90
monochromatic
#7E267E #AD35AD #CB54CB #D983D9 #E8B2E8

Accessibility & contrast

On white

3.70
#CB54CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#CB54CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB54CB
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB54CB#FFFFFF#000000##000000
##CB54CB1.003.705.675.67
#FFFFFF3.701.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#467BCF
Deuteranopia (green-blind)
#6F8AC8
Tritanopia (blue-blind)
#D16388
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #cb54cb;
/* rgb */ color: rgb(203, 84, 203);
/* oklch */ color: oklch(64.2% 0.205 327.6);
Tailwind
colors: {
  custom: {
    50: '#de8bdb',
    500: '#cb54cb',
    950: '#000000',
  },
}
SCSS
$custom: #cb54cb;
$custom-light: #de8bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#cb54cb",
  "rgb": {
    "r": 203,
    "g": 84,
    "b": 203
  },
  "hsl": {
    "h": 300,
    "s": 53.363,
    "l": 56.275
  },
  "oklch": {
    "l": 0.64212,
    "c": 0.20534,
    "h": 327.6
  },
  "luminance": 0.23349
}

Semantic roles & 50–950 ramp

primary
#CB54CB
secondary
#A5D6A5
accent
#DD4B4B
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#150C15
muted
#847D83

Preview Lab

Preview with #CB54CB

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

Preview Lab → · Contrast checker → · Palette generator →

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