#CB54D6#CB54D6

#CB54D6 is a light, highly saturated purple. Relative luminance 0.239; OKLCH L 64.8% C 0.215 H 324.2°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#CB54D6
RGBrgb(203, 84, 214)
HSLhsl(295, 61%, 58%)
HSVhsv(295, 61%, 84%)
CMYKcmyk(5.1%, 60.7%, 0%, 16.1%)
CIE-LABlab(55.98, 64.23, -45.25)
CIE-LCHlch(55.98, 78.57, 324.83°)
OKLaboklab(64.79% 0.1742 -0.1255)
OKLCHoklch(64.79% 0.215 324.2)
XYZxyz(39.9355, 23.8944, 66.1139)
Luminance0.2389 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB54D6 #5FD654
analogous
#8A54D6 #CB54D6 #D654A0
triadic
#CB54D6 #D6CB54 #54D6CB
tetradic
#CB54D6 #D68A54 #5FD654 #54A0D6
square
#CB54D6 #D68A54 #5FD654 #54A0D6
split-complementary
#CB54D6 #A0D654 #54D68A
monochromatic
#85228E #B32EBF #CB54D6 #DA85E2 #E9B7EE

Accessibility & contrast

On white

3.63
#CB54D6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#CB54D6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB54D6
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB54D6#FFFFFF#000000##000000
##CB54D61.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D7DDA
Deuteranopia (green-blind)
#698BD3
Tritanopia (blue-blind)
#CF678E
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #cb54d6;
/* rgb */ color: rgb(203, 84, 214);
/* oklch */ color: oklch(64.8% 0.215 324.2);
Tailwind
colors: {
  custom: {
    50: '#de8be3',
    500: '#cb54d6',
    950: '#000000',
  },
}
SCSS
$custom: #cb54d6;
$custom-light: #de8be3;
$custom-dark: #000000;
JSON
{
  "hex": "#cb54d6",
  "rgb": {
    "r": 203,
    "g": 84,
    "b": 214
  },
  "hsl": {
    "h": 294.923,
    "s": 61.321,
    "l": 58.431
  },
  "oklch": {
    "l": 0.6479,
    "c": 0.21473,
    "h": 324.2
  },
  "luminance": 0.23892
}

Semantic roles & 50–950 ramp

primary
#CB54D6
secondary
#ADDDA9
accent
#E44351
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #CB54D6

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

Preview Lab → · Contrast checker → · Palette generator →

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