#B54BF1#B54BF1

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

Color values

HEX#B54BF1
RGBrgb(181, 75, 241)
HSLhsl(278, 86%, 62%)
HSVhsv(278, 69%, 95%)
CMYKcmyk(24.9%, 68.9%, 0%, 5.5%)
CIE-LABlab(53.18, 68.37, -65.12)
CIE-LCHlch(53.18, 94.42, 316.40°)
OKLaboklab(62.65% 0.1572 -0.1842)
OKLCHoklch(62.65% 0.242 310.5)
XYZxyz(37.4463, 21.2076, 85.3229)
Luminance0.2121 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54BF1 #87F14B
analogous
#624BF1 #B54BF1 #F14BDA
triadic
#B54BF1 #F1B54B #4BF1B5
tetradic
#B54BF1 #F1624B #87F14B #4BDAF1
square
#B54BF1 #F1624B #87F14B #4BDAF1
split-complementary
#B54BF1 #DAF14B #4BF162
monochromatic
#780EB4 #9E12EC #B54BF1 #CC84F5 #E4BDFA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B54BF1#FFFFFF#000000##000000
##B54BF11.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)
#007AF6
Deuteranopia (green-blind)
#3081ED
Tritanopia (blue-blind)
#AD6F99
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #b54bf1;
/* rgb */ color: rgb(181, 75, 241);
/* oklch */ color: oklch(62.7% 0.242 310.5);
Tailwind
colors: {
  custom: {
    50: '#d085f6',
    500: '#b54bf1',
    950: '#000000',
  },
}
SCSS
$custom: #b54bf1;
$custom-light: #d085f6;
$custom-dark: #000000;
JSON
{
  "hex": "#b54bf1",
  "rgb": {
    "r": 181,
    "g": 75,
    "b": 241
  },
  "hsl": {
    "h": 278.313,
    "s": 85.567,
    "l": 61.961
  },
  "oklch": {
    "l": 0.62652,
    "c": 0.24213,
    "h": 310.5
  },
  "luminance": 0.21207
}

Semantic roles & 50–950 ramp

primary
#B54BF1
secondary
#C3EBAD
accent
#E20354
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#140C17
muted
#837D85

Preview Lab

Preview with #B54BF1

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

Preview Lab → · Contrast checker → · Palette generator →

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