#B54BE4#B54BE4

#B54BE4 is a mid, highly saturated purple. Relative luminance 0.205; OKLCH L 61.8% C 0.230 H 313.6°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#B54BE4
RGBrgb(181, 75, 228)
HSLhsl(282, 74%, 59%)
HSVhsv(282, 67%, 89%)
CMYKcmyk(20.6%, 67.1%, 0%, 10.6%)
CIE-LABlab(52.35, 65.71, -59.14)
CIE-LCHlch(52.35, 88.41, 318.01°)
OKLaboklab(61.8% 0.1584 -0.1666)
OKLCHoklch(61.8% 0.23 313.6)
XYZxyz(35.5733, 20.4584, 75.4587)
Luminance0.2046 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54BE4 #7AE44B
analogous
#694BE4 #B54BE4 #E44BC6
triadic
#B54BE4 #E4B54B #4BE4B5
tetradic
#B54BE4 #E4694B #7AE44B #4BC6E4
square
#B54BE4 #E4694B #7AE44B #4BC6E4
split-complementary
#B54BE4 #C6E44B #4BE469
monochromatic
#74189D #9B20D2 #B54BE4 #CB80EC #E1B5F4

Accessibility & contrast

On white

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

On black

5.09
#B54BE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B54BE4
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54BE4#FFFFFF#000000##000000
##B54BE41.004.125.095.09
#FFFFFF4.121.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077E9
Deuteranopia (green-blind)
#417FE1
Tritanopia (blue-blind)
#B06A92
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #b54be4;
/* rgb */ color: rgb(181, 75, 228);
/* oklch */ color: oklch(61.8% 0.230 313.6);
Tailwind
colors: {
  custom: {
    50: '#cf85ed',
    500: '#b54be4',
    950: '#000000',
  },
}
SCSS
$custom: #b54be4;
$custom-light: #cf85ed;
$custom-dark: #000000;
JSON
{
  "hex": "#b54be4",
  "rgb": {
    "r": 181,
    "g": 75,
    "b": 228
  },
  "hsl": {
    "h": 281.569,
    "s": 73.913,
    "l": 59.412
  },
  "oklch": {
    "l": 0.618,
    "c": 0.22991,
    "h": 313.6
  },
  "luminance": 0.20457
}

Semantic roles & 50–950 ramp

primary
#B54BE4
secondary
#BAE3A8
accent
#F13770
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C16
muted
#837D84

Preview Lab

Preview with #B54BE4

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

Preview Lab → · Contrast checker → · Palette generator →

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