#B54AE1#B54AE1

#B54AE1 is a mid, highly saturated purple. Relative luminance 0.202; OKLCH L 61.5% C 0.228 H 314.4°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#B54AE1
RGBrgb(181, 74, 225)
HSLhsl(283, 72%, 59%)
HSVhsv(283, 67%, 88%)
CMYKcmyk(19.6%, 67.1%, 0%, 11.8%)
CIE-LABlab(52.02, 65.53, -57.99)
CIE-LCHlch(52.02, 87.50, 318.49°)
OKLaboklab(61.5% 0.1597 -0.1632)
OKLCHoklch(61.5% 0.228 314.4)
XYZxyz(35.0932, 20.1587, 73.2620)
Luminance0.2016 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54AE1 #76E14A
analogous
#694AE1 #B54AE1 #E14AC1
triadic
#B54AE1 #E1B54A #4AE1B5
tetradic
#B54AE1 #E1694A #76E14A #4AC1E1
square
#B54AE1 #E1694A #76E14A #4AC1E1
split-complementary
#B54AE1 #C1E14A #4AE169
monochromatic
#731997 #9A22CC #B54AE1 #CA7EEA #E0B3F2

Accessibility & contrast

On white

4.17
#B54AE1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#B54AE1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B54AE1
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54AE1#FFFFFF#000000##000000
##B54AE11.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076E5
Deuteranopia (green-blind)
#447FDE
Tritanopia (blue-blind)
#B16890
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b54ae1;
/* rgb */ color: rgb(181, 74, 225);
/* oklch */ color: oklch(61.5% 0.228 314.4);
Tailwind
colors: {
  custom: {
    50: '#cf84eb',
    500: '#b54ae1',
    950: '#000000',
  },
}
SCSS
$custom: #b54ae1;
$custom-light: #cf84eb;
$custom-dark: #000000;
JSON
{
  "hex": "#b54ae1",
  "rgb": {
    "r": 181,
    "g": 74,
    "b": 225
  },
  "hsl": {
    "h": 282.517,
    "s": 71.564,
    "l": 58.627
  },
  "oklch": {
    "l": 0.61501,
    "c": 0.22835,
    "h": 314.4
  },
  "luminance": 0.20158
}

Semantic roles & 50–950 ramp

primary
#B54AE1
secondary
#B7E1A6
accent
#EE396E
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #B54AE1

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

Preview Lab → · Contrast checker → · Palette generator →

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