#CB54E9#CB54E9

#CB54E9 is a light, highly saturated purple. Relative luminance 0.249; OKLCH L 65.9% C 0.231 H 319.0°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#CB54E9
RGBrgb(203, 84, 233)
HSLhsl(288, 77%, 62%)
HSVhsv(288, 64%, 91%)
CMYKcmyk(12.9%, 63.9%, 0%, 8.6%)
CIE-LABlab(57.00, 67.71, -54.34)
CIE-LCHlch(57.00, 86.82, 321.25°)
OKLaboklab(65.86% 0.1746 -0.152)
OKLCHoklch(65.86% 0.231 319)
XYZxyz(42.5050, 24.9222, 79.6465)
Luminance0.2492 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB54E9 #72E954
analogous
#8054E9 #CB54E9 #E954BD
triadic
#CB54E9 #E9CB54 #54E9CB
tetradic
#CB54E9 #E98054 #72E954 #54BDE9
square
#CB54E9 #E98054 #72E954 #54BDE9
split-complementary
#CB54E9 #BDE954 #54E980
monochromatic
#8E16AC #BB1EE2 #CB54E9 #DB8AF0 #ECC0F7

Accessibility & contrast

On white

3.51
#CB54E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#CB54E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB54E9
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB54E9#FFFFFF#000000##000000
##CB54E91.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2481ED
Deuteranopia (green-blind)
#5D8DE5
Tritanopia (blue-blind)
#CB6E98
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #cb54e9;
/* rgb */ color: rgb(203, 84, 233);
/* oklch */ color: oklch(65.9% 0.231 319.0);
Tailwind
colors: {
  custom: {
    50: '#de8cf1',
    500: '#cb54e9',
    950: '#000000',
  },
}
SCSS
$custom: #cb54e9;
$custom-light: #de8cf1;
$custom-dark: #000000;
JSON
{
  "hex": "#cb54e9",
  "rgb": {
    "r": 203,
    "g": 84,
    "b": 233
  },
  "hsl": {
    "h": 287.919,
    "s": 77.202,
    "l": 62.157
  },
  "oklch": {
    "l": 0.65856,
    "c": 0.23149,
    "h": 319
  },
  "luminance": 0.2492
}

Semantic roles & 50–950 ramp

primary
#CB54E9
secondary
#BCE8B1
accent
#D90C35
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#160D17
muted
#847E85

Preview Lab

Preview with #CB54E9

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

Preview Lab → · Contrast checker → · Palette generator →

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