#B54BE3#B54BE3

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

Color values

HEX#B54BE3
RGBrgb(181, 75, 227)
HSLhsl(282, 73%, 59%)
HSVhsv(282, 67%, 89%)
CMYKcmyk(20.3%, 67%, 0%, 11%)
CIE-LABlab(52.29, 65.51, -58.68)
CIE-LCHlch(52.29, 87.94, 318.15°)
OKLaboklab(61.74% 0.1585 -0.1652)
OKLCHoklch(61.74% 0.229 313.8)
XYZxyz(35.4349, 20.4031, 74.7297)
Luminance0.2040 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54BE3 #79E34B
analogous
#694BE3 #B54BE3 #E34BC5
triadic
#B54BE3 #E3B54B #4BE3B5
tetradic
#B54BE3 #E3694B #79E34B #4BC5E3
square
#B54BE3 #E3694B #79E34B #4BC5E3
split-complementary
#B54BE3 #C5E34B #4BE369
monochromatic
#74189B #9B20D0 #B54BE3 #CB80EB #E1B5F3

Accessibility & contrast

On white

4.13
#B54BE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##B54BE3#FFFFFF#000000##000000
##B54BE31.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077E7
Deuteranopia (green-blind)
#427FE0
Tritanopia (blue-blind)
#B16991
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #b54be3;
/* rgb */ color: rgb(181, 75, 227);
/* oklch */ color: oklch(61.7% 0.229 313.8);
Tailwind
colors: {
  custom: {
    50: '#cf85ec',
    500: '#b54be3',
    950: '#000000',
  },
}
SCSS
$custom: #b54be3;
$custom-light: #cf85ec;
$custom-dark: #000000;
JSON
{
  "hex": "#b54be3",
  "rgb": {
    "r": 181,
    "g": 75,
    "b": 227
  },
  "hsl": {
    "h": 281.842,
    "s": 73.077,
    "l": 59.216
  },
  "oklch": {
    "l": 0.61736,
    "c": 0.22897,
    "h": 313.8
  },
  "luminance": 0.20402
}

Semantic roles & 50–950 ramp

primary
#B54BE3
secondary
#B9E3A7
accent
#F03870
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C16
muted
#837D84

Preview Lab

Preview with #B54BE3

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

Preview Lab → · Contrast checker → · Palette generator →

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