#CB54D7#CB54D7

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

Color values

HEX#CB54D7
RGBrgb(203, 84, 215)
HSLhsl(295, 62%, 59%)
HSVhsv(295, 61%, 84%)
CMYKcmyk(5.6%, 60.9%, 0%, 15.7%)
CIE-LABlab(56.03, 64.40, -45.74)
CIE-LCHlch(56.03, 78.99, 324.62°)
OKLaboklab(64.84% 0.1743 -0.1269)
OKLCHoklch(64.84% 0.216 323.9)
XYZxyz(40.0636, 23.9457, 66.7885)
Luminance0.2394 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB54D7 #60D754
analogous
#8954D7 #CB54D7 #D754A1
triadic
#CB54D7 #D7CB54 #54D7CB
tetradic
#CB54D7 #D78954 #60D754 #54A1D7
square
#CB54D7 #D78954 #60D754 #54A1D7
split-complementary
#CB54D7 #A1D754 #54D789
monochromatic
#85218F #B32DC1 #CB54D7 #DA86E3 #E9B7EE

Accessibility & contrast

On white

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

On black

5.79
#CB54D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB54D7
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB54D7#FFFFFF#000000##000000
##CB54D71.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cb54d7;
/* rgb */ color: rgb(203, 84, 215);
/* oklch */ color: oklch(64.8% 0.216 323.9);
Tailwind
colors: {
  custom: {
    50: '#de8be4',
    500: '#cb54d7',
    950: '#000000',
  },
}
SCSS
$custom: #cb54d7;
$custom-light: #de8be4;
$custom-dark: #000000;
JSON
{
  "hex": "#cb54d7",
  "rgb": {
    "r": 203,
    "g": 84,
    "b": 215
  },
  "hsl": {
    "h": 294.504,
    "s": 62.085,
    "l": 58.627
  },
  "oklch": {
    "l": 0.64844,
    "c": 0.2156,
    "h": 323.9
  },
  "luminance": 0.23943
}

Semantic roles & 50–950 ramp

primary
#CB54D7
secondary
#AEDDA9
accent
#E54352
background
#FEF8FE
surface
#FCF0FC
border
#D5CBD5
text
#160D15
muted
#847D84

Preview Lab

Preview with #CB54D7

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

Preview Lab → · Contrast checker → · Palette generator →

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