#B54EEB#B54EEB

#B54EEB is a light, highly saturated violet. Relative luminance 0.213; OKLCH L 62.6% C 0.233 H 311.6°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#B54EEB
RGBrgb(181, 78, 235)
HSLhsl(279, 80%, 61%)
HSVhsv(279, 67%, 92%)
CMYKcmyk(23%, 66.8%, 0%, 7.8%)
CIE-LABlab(53.25, 65.86, -61.64)
CIE-LCHlch(53.25, 90.21, 316.90°)
OKLaboklab(62.58% 0.1547 -0.174)
OKLCHoklch(62.58% 0.233 311.6)
XYZxyz(36.7731, 21.2716, 80.7498)
Luminance0.2127 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54EEB #84EB4E
analogous
#674EEB #B54EEB #EB4ED3
triadic
#B54EEB #EBB54E #4EEBB5
tetradic
#B54EEB #EB674E #84EB4E #4ED3EB
square
#B54EEB #EB674E #84EB4E #4ED3EB
split-complementary
#B54EEB #D3EB4E #4EEB67
monochromatic
#7713AB #9D1AE2 #B54EEB #CC85F1 #E3BCF7

Accessibility & contrast

On white

4.00
#B54EEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#B54EEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B54EEB
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54EEB#FFFFFF#000000##000000
##B54EEB1.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AF0
Deuteranopia (green-blind)
#3C81E7
Tritanopia (blue-blind)
#AE6E97
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #b54eeb;
/* rgb */ color: rgb(181, 78, 235);
/* oklch */ color: oklch(62.6% 0.233 311.6);
Tailwind
colors: {
  custom: {
    50: '#cf87f2',
    500: '#b54eeb',
    950: '#000000',
  },
}
SCSS
$custom: #b54eeb;
$custom-light: #cf87f2;
$custom-dark: #000000;
JSON
{
  "hex": "#b54eeb",
  "rgb": {
    "r": 181,
    "g": 78,
    "b": 235
  },
  "hsl": {
    "h": 279.363,
    "s": 79.695,
    "l": 61.373
  },
  "oklch": {
    "l": 0.6258,
    "c": 0.23281,
    "h": 311.6
  },
  "luminance": 0.21271
}

Semantic roles & 50–950 ramp

primary
#B54EEB
secondary
#C1E8AD
accent
#DC0952
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C17
muted
#837D85

Preview Lab

Preview with #B54EEB

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

Preview Lab → · Contrast checker → · Palette generator →

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