#B54CCC#B54CCC

#B54CCC is a mid, highly saturated purple. Relative luminance 0.194; OKLCH L 60.4% C 0.206 H 320.0°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#B54CCC
RGBrgb(181, 76, 204)
HSLhsl(289, 56%, 55%)
HSVhsv(289, 63%, 80%)
CMYKcmyk(11.3%, 62.7%, 0%, 20%)
CIE-LABlab(51.10, 60.56, -47.49)
CIE-LCHlch(51.10, 76.96, 321.89°)
OKLaboklab(60.45% 0.1581 -0.1325)
OKLCHoklch(60.45% 0.206 320)
XYZxyz(32.5382, 19.3538, 59.1368)
Luminance0.1935 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54CCC #63CC4C
analogous
#754CCC #B54CCC #CC4CA3
triadic
#B54CCC #CCB54C #4CCCB5
tetradic
#B54CCC #CC754C #63CC4C #4CA3CC
square
#B54CCC #CC754C #63CC4C #4CA3CC
split-complementary
#B54CCC #A3CC4C #4CCC75
monochromatic
#6B237B #9431AA #B54CCC #C97CDA #DCABE7

Accessibility & contrast

On white

4.31
#B54CCC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#B54CCC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B54CCC
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54CCC#FFFFFF#000000##000000
##B54CCC1.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A72D0
Deuteranopia (green-blind)
#577DC9
Tritanopia (blue-blind)
#B66185
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b54ccc;
/* rgb */ color: rgb(181, 76, 204);
/* oklch */ color: oklch(60.4% 0.206 320.0);
Tailwind
colors: {
  custom: {
    50: '#ce85dc',
    500: '#b54ccc',
    950: '#000000',
  },
}
SCSS
$custom: #b54ccc;
$custom-light: #ce85dc;
$custom-dark: #000000;
JSON
{
  "hex": "#b54ccc",
  "rgb": {
    "r": 181,
    "g": 76,
    "b": 204
  },
  "hsl": {
    "h": 289.219,
    "s": 55.652,
    "l": 54.902
  },
  "oklch": {
    "l": 0.60446,
    "c": 0.20628,
    "h": 320
  },
  "luminance": 0.19352
}

Semantic roles & 50–950 ramp

primary
#B54CCC
secondary
#A9D59F
accent
#DF4964
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140B15
muted
#837C83

Preview Lab

Preview with #B54CCC

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

Preview Lab → · Contrast checker → · Palette generator →

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