#B54AE5#B54AE5

#B54AE5 is a mid, highly saturated purple. Relative luminance 0.204; OKLCH L 61.8% C 0.232 H 313.4°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#B54AE5
RGBrgb(181, 74, 229)
HSLhsl(281, 75%, 59%)
HSVhsv(281, 68%, 90%)
CMYKcmyk(21%, 67.7%, 0%, 10.2%)
CIE-LABlab(52.26, 66.33, -59.85)
CIE-LCHlch(52.26, 89.34, 317.94°)
OKLaboklab(61.76% 0.1594 -0.1687)
OKLCHoklch(61.76% 0.232 313.4)
XYZxyz(35.6452, 20.3795, 76.1695)
Luminance0.2038 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54AE5 #7AE54A
analogous
#684AE5 #B54AE5 #E54AC8
triadic
#B54AE5 #E5B54A #4AE5B5
tetradic
#B54AE5 #E5684A #7AE54A #4AC8E5
square
#B54AE5 #E5684A #7AE54A #4AC8E5
split-complementary
#B54AE5 #C8E54A #4AE568
monochromatic
#74179E #9B1ED3 #B54AE5 #CB80ED #E1B5F4

Accessibility & contrast

On white

4.14
#B54AE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#B54AE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B54AE5
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54AE5#FFFFFF#000000##000000
##B54AE51.004.145.085.08
#FFFFFF4.141.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077EA
Deuteranopia (green-blind)
#3F7FE1
Tritanopia (blue-blind)
#B06A92
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #b54ae5;
/* rgb */ color: rgb(181, 74, 229);
/* oklch */ color: oklch(61.8% 0.232 313.4);
Tailwind
colors: {
  custom: {
    50: '#cf84ee',
    500: '#b54ae5',
    950: '#000000',
  },
}
SCSS
$custom: #b54ae5;
$custom-light: #cf84ee;
$custom-dark: #000000;
JSON
{
  "hex": "#b54ae5",
  "rgb": {
    "r": 181,
    "g": 74,
    "b": 229
  },
  "hsl": {
    "h": 281.419,
    "s": 74.879,
    "l": 59.412
  },
  "oklch": {
    "l": 0.61757,
    "c": 0.23207,
    "h": 313.4
  },
  "luminance": 0.20378
}

Semantic roles & 50–950 ramp

primary
#B54AE5
secondary
#BAE4A7
accent
#F13670
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C16
muted
#837D84

Preview Lab

Preview with #B54AE5

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

Preview Lab → · Contrast checker → · Palette generator →

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