#B54EEA#B54EEA

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

Color values

HEX#B54EEA
RGBrgb(181, 78, 234)
HSLhsl(280, 79%, 61%)
HSVhsv(280, 67%, 92%)
CMYKcmyk(22.6%, 66.7%, 0%, 8.2%)
CIE-LABlab(53.18, 65.66, -61.18)
CIE-LCHlch(53.18, 89.74, 317.02°)
OKLaboklab(62.52% 0.1548 -0.1726)
OKLCHoklch(62.52% 0.232 311.9)
XYZxyz(36.6290, 21.2140, 79.9911)
Luminance0.2121 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54EEA #83EA4E
analogous
#674EEA #B54EEA #EA4ED1
triadic
#B54EEA #EAB54E #4EEAB5
tetradic
#B54EEA #EA674E #83EA4E #4ED1EA
square
#B54EEA #EA674E #83EA4E #4ED1EA
split-complementary
#B54EEA #D1EA4E #4EEA67
monochromatic
#7714A9 #9D1BE0 #B54EEA #CC85F0 #E3BBF7

Accessibility & contrast

On white

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

On black

5.24
#B54EEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B54EEA
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54EEA#FFFFFF#000000##000000
##B54EEA1.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AEF
Deuteranopia (green-blind)
#3E81E6
Tritanopia (blue-blind)
#AF6E96
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #b54eea;
/* rgb */ color: rgb(181, 78, 234);
/* oklch */ color: oklch(62.5% 0.232 311.9);
Tailwind
colors: {
  custom: {
    50: '#cf87f1',
    500: '#b54eea',
    950: '#000000',
  },
}
SCSS
$custom: #b54eea;
$custom-light: #cf87f1;
$custom-dark: #000000;
JSON
{
  "hex": "#b54eea",
  "rgb": {
    "r": 181,
    "g": 78,
    "b": 234
  },
  "hsl": {
    "h": 279.615,
    "s": 78.788,
    "l": 61.176
  },
  "oklch": {
    "l": 0.62515,
    "c": 0.23185,
    "h": 311.9
  },
  "luminance": 0.21213
}

Semantic roles & 50–950 ramp

primary
#B54EEA
secondary
#C1E7AD
accent
#DB0A51
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C17
muted
#837D85

Preview Lab

Preview with #B54EEA

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

Preview Lab → · Contrast checker → · Palette generator →

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