#CB54D9#CB54D9

#CB54D9 is a light, highly saturated purple. Relative luminance 0.240; OKLCH L 65.0% C 0.217 H 323.4°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#CB54D9
RGBrgb(203, 84, 217)
HSLhsl(294, 64%, 59%)
HSVhsv(294, 61%, 85%)
CMYKcmyk(6.5%, 61.3%, 0%, 14.9%)
CIE-LABlab(56.14, 64.76, -46.71)
CIE-LCHlch(56.14, 79.85, 324.20°)
OKLaboklab(64.95% 0.1744 -0.1297)
OKLCHoklch(64.95% 0.217 323.4)
XYZxyz(40.3221, 24.0491, 68.1502)
Luminance0.2405 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB54D9 #62D954
analogous
#8954D9 #CB54D9 #D954A5
triadic
#CB54D9 #D9CB54 #54D9CB
tetradic
#CB54D9 #D98954 #62D954 #54A5D9
square
#CB54D9 #D98954 #62D954 #54A5D9
split-complementary
#CB54D9 #A5D954 #54D989
monochromatic
#862092 #B42CC4 #CB54D9 #DA86E4 #E9B8EF

Accessibility & contrast

On white

3.61
#CB54D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#CB54D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB54D9
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB54D9#FFFFFF#000000##000000
##CB54D91.003.615.815.81
#FFFFFF3.611.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A7EDD
Deuteranopia (green-blind)
#688BD6
Tritanopia (blue-blind)
#CE688F
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #cb54d9;
/* rgb */ color: rgb(203, 84, 217);
/* oklch */ color: oklch(65.0% 0.217 323.4);
Tailwind
colors: {
  custom: {
    50: '#de8be5',
    500: '#cb54d9',
    950: '#000000',
  },
}
SCSS
$custom: #cb54d9;
$custom-light: #de8be5;
$custom-dark: #000000;
JSON
{
  "hex": "#cb54d9",
  "rgb": {
    "r": 203,
    "g": 84,
    "b": 217
  },
  "hsl": {
    "h": 293.684,
    "s": 63.636,
    "l": 59.02
  },
  "oklch": {
    "l": 0.64953,
    "c": 0.21734,
    "h": 323.4
  },
  "luminance": 0.24047
}

Semantic roles & 50–950 ramp

primary
#CB54D9
secondary
#B0DFAA
accent
#E74153
background
#FEF8FE
surface
#FCF0FC
border
#D5CBD5
text
#160D16
muted
#847D84

Preview Lab

Preview with #CB54D9

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

Preview Lab → · Contrast checker → · Palette generator →

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