#B54AEF#B54AEF

#B54AEF is a light, highly saturated violet. Relative luminance 0.210; OKLCH L 62.4% C 0.241 H 311.0°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#B54AEF
RGBrgb(181, 74, 239)
HSLhsl(279, 84%, 61%)
HSVhsv(279, 69%, 94%)
CMYKcmyk(24.3%, 69%, 0%, 6.3%)
CIE-LABlab(52.90, 68.37, -64.45)
CIE-LCHlch(52.90, 93.96, 316.69°)
OKLaboklab(62.41% 0.1584 -0.1822)
OKLCHoklch(62.41% 0.241 311)
XYZxyz(37.0819, 20.9542, 83.7358)
Luminance0.2095 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54AEF #84EF4A
analogous
#634AEF #B54AEF #EF4AD7
triadic
#B54AEF #EFB54A #4AEFB5
tetradic
#B54AEF #EF634A #84EF4A #4AD7EF
square
#B54AEF #EF634A #84EF4A #4AD7EF
split-complementary
#B54AEF #D7EF4A #4AEF63
monochromatic
#770FAF #9D14E7 #B54AEF #CC82F4 #E3BAF9

Accessibility & contrast

On white

4.05
#B54AEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#B54AEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B54AEF
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54AEF#FFFFFF#000000##000000
##B54AEF1.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079F4
Deuteranopia (green-blind)
#3280EB
Tritanopia (blue-blind)
#AE6E98
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #b54aef;
/* rgb */ color: rgb(181, 74, 239);
/* oklch */ color: oklch(62.4% 0.241 311.0);
Tailwind
colors: {
  custom: {
    50: '#d085f5',
    500: '#b54aef',
    950: '#000000',
  },
}
SCSS
$custom: #b54aef;
$custom-light: #d085f5;
$custom-dark: #000000;
JSON
{
  "hex": "#b54aef",
  "rgb": {
    "r": 181,
    "g": 74,
    "b": 239
  },
  "hsl": {
    "h": 278.909,
    "s": 83.756,
    "l": 61.373
  },
  "oklch": {
    "l": 0.62414,
    "c": 0.24143,
    "h": 311
  },
  "luminance": 0.20953
}

Semantic roles & 50–950 ramp

primary
#B54AEF
secondary
#C1E9AC
accent
#E00552
background
#FDF8FF
surface
#FAF0FE
border
#D3CBD6
text
#140C17
muted
#837D85

Preview Lab

Preview with #B54AEF

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

Preview Lab → · Contrast checker → · Palette generator →

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