#B54EB7#B54EB7

#B54EB7 is a mid, vivid purple. Relative luminance 0.187; OKLCH L 59.5% C 0.184 H 326.8°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#B54EB7
RGBrgb(181, 78, 183)
HSLhsl(299, 42%, 51%)
HSVhsv(299, 57%, 72%)
CMYKcmyk(1.1%, 57.4%, 0%, 28.2%)
CIE-LABlab(50.33, 55.78, -36.58)
CIE-LCHlch(50.33, 66.70, 326.74°)
OKLaboklab(59.53% 0.1544 -0.1009)
OKLCHoklch(59.53% 0.184 326.8)
XYZxyz(30.3272, 18.6933, 46.8013)
Luminance0.1869 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54EB7 #50B74E
analogous
#804EB7 #B54EB7 #B74E84
triadic
#B54EB7 #B7B54E #4EB7B5
tetradic
#B54EB7 #B7804E #50B74E #4E84B7
square
#B54EB7 #B7804E #50B74E #4E84B7
split-complementary
#B54EB7 #84B74E #4EB780
monochromatic
#612863 #8C3A8E #B54EB7 #C77AC9 #D9A5DA

Accessibility & contrast

On white

4.43
#B54EB7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#B54EB7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B54EB7
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54EB7#FFFFFF#000000##000000
##B54EB71.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#416FBA
Deuteranopia (green-blind)
#647CB4
Tritanopia (blue-blind)
#BA5B7B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b54eb7;
/* rgb */ color: rgb(181, 78, 183);
/* oklch */ color: oklch(59.5% 0.184 326.8);
Tailwind
colors: {
  custom: {
    50: '#ce85cd',
    500: '#b54eb7',
    950: '#000000',
  },
}
SCSS
$custom: #b54eb7;
$custom-light: #ce85cd;
$custom-dark: #000000;
JSON
{
  "hex": "#b54eb7",
  "rgb": {
    "r": 181,
    "g": 78,
    "b": 183
  },
  "hsl": {
    "h": 298.857,
    "s": 42.169,
    "l": 51.176
  },
  "oklch": {
    "l": 0.59528,
    "c": 0.18447,
    "h": 326.8
  },
  "luminance": 0.18691
}

Semantic roles & 50–950 ramp

primary
#B54EB7
secondary
#9AC899
accent
#D25658
background
#FDF8FC
surface
#FAF0F9
border
#D3CBD2
text
#140B13
muted
#837C82

Preview Lab

Preview with #B54EB7

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

Preview Lab → · Contrast checker → · Palette generator →

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