#B54CE3#B54CE3

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

Color values

HEX#B54CE3
RGBrgb(181, 76, 227)
HSLhsl(282, 73%, 59%)
HSVhsv(282, 67%, 89%)
CMYKcmyk(20.3%, 66.5%, 0%, 11%)
CIE-LABlab(52.44, 65.08, -58.43)
CIE-LCHlch(52.44, 87.46, 318.08°)
OKLaboklab(61.85% 0.1574 -0.1645)
OKLCHoklch(61.85% 0.228 313.7)
XYZxyz(35.5033, 20.5398, 74.7525)
Luminance0.2054 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54CE3 #7AE34C
analogous
#6A4CE3 #B54CE3 #E34CC6
triadic
#B54CE3 #E3B54C #4CE3B5
tetradic
#B54CE3 #E36A4C #7AE34C #4CC6E3
square
#B54CE3 #E36A4C #7AE34C #4CC6E3
split-complementary
#B54CE3 #C6E34C #4CE36A
monochromatic
#74189C #9B21D1 #B54CE3 #CB81EB #E1B6F4

Accessibility & contrast

On white

4.11
#B54CE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#B54CE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B54CE3
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54CE3#FFFFFF#000000##000000
##B54CE31.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077E7
Deuteranopia (green-blind)
#4380E0
Tritanopia (blue-blind)
#B16A92
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #b54ce3;
/* rgb */ color: rgb(181, 76, 227);
/* oklch */ color: oklch(61.8% 0.228 313.7);
Tailwind
colors: {
  custom: {
    50: '#cf85ec',
    500: '#b54ce3',
    950: '#000000',
  },
}
SCSS
$custom: #b54ce3;
$custom-light: #cf85ec;
$custom-dark: #000000;
JSON
{
  "hex": "#b54ce3",
  "rgb": {
    "r": 181,
    "g": 76,
    "b": 227
  },
  "hsl": {
    "h": 281.722,
    "s": 72.947,
    "l": 59.412
  },
  "oklch": {
    "l": 0.61846,
    "c": 0.22772,
    "h": 313.7
  },
  "luminance": 0.20539
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B54CE3

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

Preview Lab → · Contrast checker → · Palette generator →

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