#B54BFC#B54BFC

#B54BFC is a light, highly saturated violet. Relative luminance 0.219; OKLCH L 63.4% C 0.253 H 308.1°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#B54BFC
RGBrgb(181, 75, 252)
HSLhsl(276, 97%, 64%)
HSVhsv(276, 70%, 99%)
CMYKcmyk(28.2%, 70.2%, 0%, 1.2%)
CIE-LABlab(53.90, 70.67, -70.07)
CIE-LCHlch(53.90, 99.52, 315.24°)
OKLaboklab(63.4% 0.1558 -0.1987)
OKLCHoklch(63.4% 0.253 308.1)
XYZxyz(39.1392, 21.8848, 94.2389)
Luminance0.2188 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54BFC #92FC4B
analogous
#5D4BFC #B54BFC #FC4BEB
triadic
#B54BFC #FCB54B #4BFCB5
tetradic
#B54BFC #FC5D4B #92FC4B #4BEBFC
square
#B54BFC #FC5D4B #92FC4B #4BEBFC
split-complementary
#B54BFC #EBFC4B #4BFC5D
monochromatic
#7A03C9 #9C0FFB #B54BFC #CE87FD #E6C3FE

Accessibility & contrast

On white

3.91
#B54BFC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#B54BFC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B54BFC
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54BFC#FFFFFF#000000##000000
##B54BFC1.003.915.385.38
#FFFFFF3.911.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DFF
Deuteranopia (green-blind)
#1782F8
Tritanopia (blue-blind)
#AA739F
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #b54bfc;
/* rgb */ color: rgb(181, 75, 252);
/* oklch */ color: oklch(63.4% 0.253 308.1);
Tailwind
colors: {
  custom: {
    50: '#d086fe',
    500: '#b54bfc',
    950: '#000000',
  },
}
SCSS
$custom: #b54bfc;
$custom-light: #d086fe;
$custom-dark: #000000;
JSON
{
  "hex": "#b54bfc",
  "rgb": {
    "r": 181,
    "g": 75,
    "b": 252
  },
  "hsl": {
    "h": 275.932,
    "s": 96.721,
    "l": 64.118
  },
  "oklch": {
    "l": 0.63402,
    "c": 0.25251,
    "h": 308.1
  },
  "luminance": 0.21884
}

Semantic roles & 50–950 ramp

primary
#B54BFC
secondary
#CBF0B3
accent
#E6005C
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#150C18
muted
#837D86

Preview Lab

Preview with #B54BFC

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

Preview Lab → · Contrast checker → · Palette generator →

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