#CB54E5#CB54E5

#CB54E5 is a light, highly saturated purple. Relative luminance 0.247; OKLCH L 65.6% C 0.228 H 320.0°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#CB54E5
RGBrgb(203, 84, 229)
HSLhsl(289, 74%, 61%)
HSVhsv(289, 63%, 90%)
CMYKcmyk(11.4%, 63.3%, 0%, 10.2%)
CIE-LABlab(56.78, 66.96, -52.45)
CIE-LCHlch(56.78, 85.06, 321.93°)
OKLaboklab(65.63% 0.1746 -0.1465)
OKLCHoklch(65.63% 0.228 320)
XYZxyz(41.9400, 24.6963, 76.6712)
Luminance0.2469 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB54E5 #6EE554
analogous
#8354E5 #CB54E5 #E554B7
triadic
#CB54E5 #E5CB54 #54E5CB
tetradic
#CB54E5 #E58354 #6EE554 #54B7E5
square
#CB54E5 #E58354 #6EE554 #54B7E5
split-complementary
#CB54E5 #B7E554 #54E583
monochromatic
#8C19A5 #B921DB #CB54E5 #DB89ED #EBBEF5

Accessibility & contrast

On white

3.54
#CB54E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.94
#CB54E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB54E5
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB54E5#FFFFFF#000000##000000
##CB54E51.003.545.945.94
#FFFFFF3.541.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B80E9
Deuteranopia (green-blind)
#608CE1
Tritanopia (blue-blind)
#CC6C95
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #cb54e5;
/* rgb */ color: rgb(203, 84, 229);
/* oklch */ color: oklch(65.6% 0.228 320.0);
Tailwind
colors: {
  custom: {
    50: '#de8cee',
    500: '#cb54e5',
    950: '#000000',
  },
}
SCSS
$custom: #cb54e5;
$custom-light: #de8cee;
$custom-dark: #000000;
JSON
{
  "hex": "#cb54e5",
  "rgb": {
    "r": 203,
    "g": 84,
    "b": 229
  },
  "hsl": {
    "h": 289.241,
    "s": 73.604,
    "l": 61.373
  },
  "oklch": {
    "l": 0.65625,
    "c": 0.22792,
    "h": 320
  },
  "luminance": 0.24694
}

Semantic roles & 50–950 ramp

primary
#CB54E5
secondary
#B9E6AF
accent
#D61033
background
#FEF8FE
surface
#FCF0FD
border
#D5CBD5
text
#160D16
muted
#847D84

Preview Lab

Preview with #CB54E5

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

Preview Lab → · Contrast checker → · Palette generator →

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