#B54AE7#B54AE7

#B54AE7 is a mid, highly saturated purple. Relative luminance 0.205; OKLCH L 61.9% C 0.234 H 312.9°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#B54AE7
RGBrgb(181, 74, 231)
HSLhsl(281, 77%, 60%)
HSVhsv(281, 68%, 91%)
CMYKcmyk(21.6%, 68%, 0%, 9.4%)
CIE-LABlab(52.39, 66.74, -60.77)
CIE-LCHlch(52.39, 90.26, 317.68°)
OKLaboklab(61.89% 0.1592 -0.1714)
OKLCHoklch(61.89% 0.234 312.9)
XYZxyz(35.9261, 20.4919, 77.6486)
Luminance0.2049 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54AE7 #7CE74A
analogous
#674AE7 #B54AE7 #E74ACA
triadic
#B54AE7 #E7B54A #4AE7B5
tetradic
#B54AE7 #E7674A #7CE74A #4ACAE7
square
#B54AE7 #E7674A #7CE74A #4ACAE7
split-complementary
#B54AE7 #CAE74A #4AE767
monochromatic
#7515A1 #9C1DD7 #B54AE7 #CB80EE #E1B6F5

Accessibility & contrast

On white

4.12
#B54AE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#B54AE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B54AE7
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54AE7#FFFFFF#000000##000000
##B54AE71.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077EC
Deuteranopia (green-blind)
#3D7FE3
Tritanopia (blue-blind)
#B06A93
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #b54ae7;
/* rgb */ color: rgb(181, 74, 231);
/* oklch */ color: oklch(61.9% 0.234 312.9);
Tailwind
colors: {
  custom: {
    50: '#cf84ef',
    500: '#b54ae7',
    950: '#000000',
  },
}
SCSS
$custom: #b54ae7;
$custom-light: #cf84ef;
$custom-dark: #000000;
JSON
{
  "hex": "#b54ae7",
  "rgb": {
    "r": 181,
    "g": 74,
    "b": 231
  },
  "hsl": {
    "h": 280.892,
    "s": 76.585,
    "l": 59.804
  },
  "oklch": {
    "l": 0.61887,
    "c": 0.23394,
    "h": 312.9
  },
  "luminance": 0.20491
}

Semantic roles & 50–950 ramp

primary
#B54AE7
secondary
#BBE5A8
accent
#F33571
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C17
muted
#837D85

Preview Lab

Preview with #B54AE7

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

Preview Lab → · Contrast checker → · Palette generator →

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