#B54BE1#B54BE1

#B54BE1 is a mid, highly saturated purple. Relative luminance 0.203; OKLCH L 61.6% C 0.227 H 314.3°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#B54BE1
RGBrgb(181, 75, 225)
HSLhsl(282, 71%, 59%)
HSVhsv(282, 67%, 88%)
CMYKcmyk(19.6%, 66.7%, 0%, 11.8%)
CIE-LABlab(52.17, 65.11, -57.74)
CIE-LCHlch(52.17, 87.02, 318.43°)
OKLaboklab(61.61% 0.1586 -0.1625)
OKLCHoklch(61.61% 0.227 314.3)
XYZxyz(35.1605, 20.2933, 73.2844)
Luminance0.2029 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54BE1 #77E14B
analogous
#6A4BE1 #B54BE1 #E14BC2
triadic
#B54BE1 #E1B54B #4BE1B5
tetradic
#B54BE1 #E16A4B #77E14B #4BC2E1
square
#B54BE1 #E16A4B #77E14B #4BC2E1
split-complementary
#B54BE1 #C2E14B #4BE16A
monochromatic
#731998 #9B22CD #B54BE1 #CB7FEA #E0B4F2

Accessibility & contrast

On white

4.15
#B54BE1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#B54BE1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B54BE1
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54BE1#FFFFFF#000000##000000
##B54BE11.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b54be1;
/* rgb */ color: rgb(181, 75, 225);
/* oklch */ color: oklch(61.6% 0.227 314.3);
Tailwind
colors: {
  custom: {
    50: '#cf85eb',
    500: '#b54be1',
    950: '#000000',
  },
}
SCSS
$custom: #b54be1;
$custom-light: #cf85eb;
$custom-dark: #000000;
JSON
{
  "hex": "#b54be1",
  "rgb": {
    "r": 181,
    "g": 75,
    "b": 225
  },
  "hsl": {
    "h": 282.4,
    "s": 71.429,
    "l": 58.824
  },
  "oklch": {
    "l": 0.61609,
    "c": 0.2271,
    "h": 314.3
  },
  "luminance": 0.20292
}

Semantic roles & 50–950 ramp

primary
#B54BE1
secondary
#B8E1A6
accent
#EE3A6F
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C16
muted
#837D84

Preview Lab

Preview with #B54BE1

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

Preview Lab → · Contrast checker → · Palette generator →

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