#B54AEB#B54AEB

#B54AEB is a light, highly saturated violet. Relative luminance 0.207; OKLCH L 62.1% C 0.238 H 311.9°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#B54AEB
RGBrgb(181, 74, 235)
HSLhsl(280, 80%, 61%)
HSVhsv(280, 69%, 92%)
CMYKcmyk(23%, 68.5%, 0%, 7.8%)
CIE-LABlab(52.64, 67.55, -62.62)
CIE-LCHlch(52.64, 92.11, 317.17°)
OKLaboklab(62.15% 0.1589 -0.1768)
OKLCHoklch(62.15% 0.238 311.9)
XYZxyz(36.4975, 20.7204, 80.6580)
Luminance0.2072 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54AEB #80EB4A
analogous
#644AEB #B54AEB #EB4AD0
triadic
#B54AEB #EBB54A #4AEBB5
tetradic
#B54AEB #EB644A #80EB4A #4AD0EB
square
#B54AEB #EB644A #80EB4A #4AD0EB
split-complementary
#B54AEB #D0EB4A #4AEB64
monochromatic
#7613A8 #9D19DF #B54AEB #CC81F1 #E2B8F7

Accessibility & contrast

On white

4.08
#B54AEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#B54AEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B54AEB
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54AEB#FFFFFF#000000##000000
##B54AEB1.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078F0
Deuteranopia (green-blind)
#3880E7
Tritanopia (blue-blind)
#AF6C95
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #b54aeb;
/* rgb */ color: rgb(181, 74, 235);
/* oklch */ color: oklch(62.1% 0.238 311.9);
Tailwind
colors: {
  custom: {
    50: '#d085f2',
    500: '#b54aeb',
    950: '#000000',
  },
}
SCSS
$custom: #b54aeb;
$custom-light: #d085f2;
$custom-dark: #000000;
JSON
{
  "hex": "#b54aeb",
  "rgb": {
    "r": 181,
    "g": 74,
    "b": 235
  },
  "hsl": {
    "h": 279.876,
    "s": 80.1,
    "l": 60.588
  },
  "oklch": {
    "l": 0.62148,
    "c": 0.23769,
    "h": 311.9
  },
  "luminance": 0.20719
}

Semantic roles & 50–950 ramp

primary
#B54AEB
secondary
#BEE7AA
accent
#DC0950
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C17
muted
#837D85

Preview Lab

Preview with #B54AEB

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

Preview Lab → · Contrast checker → · Palette generator →

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