#B54EE9#B54EE9

#B54EE9 is a light, highly saturated violet. Relative luminance 0.212; OKLCH L 62.5% C 0.231 H 312.1°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#B54EE9
RGBrgb(181, 78, 233)
HSLhsl(280, 78%, 61%)
HSVhsv(280, 67%, 91%)
CMYKcmyk(22.3%, 66.5%, 0%, 8.6%)
CIE-LABlab(53.12, 65.45, -60.72)
CIE-LCHlch(53.12, 89.28, 317.15°)
OKLaboklab(62.45% 0.1548 -0.1713)
OKLCHoklch(62.45% 0.231 312.1)
XYZxyz(36.4858, 21.1567, 79.2366)
Luminance0.2116 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54EE9 #82E94E
analogous
#674EE9 #B54EE9 #E94ECF
triadic
#B54EE9 #E9B54E #4EE9B5
tetradic
#B54EE9 #E9674E #82E94E #4ECFE9
square
#B54EE9 #E9674E #82E94E #4ECFE9
split-complementary
#B54EE9 #CFE94E #4EE967
monochromatic
#7615A8 #9D1CDE #B54EE9 #CC84F0 #E3BBF7

Accessibility & contrast

On white

4.01
#B54EE9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#B54EE9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B54EE9
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54EE9#FFFFFF#000000##000000
##B54EE91.004.015.235.23
#FFFFFF4.011.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AEE
Deuteranopia (green-blind)
#3F81E5
Tritanopia (blue-blind)
#AF6E95
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #b54ee9;
/* rgb */ color: rgb(181, 78, 233);
/* oklch */ color: oklch(62.5% 0.231 312.1);
Tailwind
colors: {
  custom: {
    50: '#cf87f1',
    500: '#b54ee9',
    950: '#000000',
  },
}
SCSS
$custom: #b54ee9;
$custom-light: #cf87f1;
$custom-dark: #000000;
JSON
{
  "hex": "#b54ee9",
  "rgb": {
    "r": 181,
    "g": 78,
    "b": 233
  },
  "hsl": {
    "h": 279.871,
    "s": 77.889,
    "l": 60.98
  },
  "oklch": {
    "l": 0.62451,
    "c": 0.23089,
    "h": 312.1
  },
  "luminance": 0.21156
}

Semantic roles & 50–950 ramp

primary
#B54EE9
secondary
#C0E7AC
accent
#DA0B51
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C17
muted
#837D85

Preview Lab

Preview with #B54EE9

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

Preview Lab → · Contrast checker → · Palette generator →

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