#B54BF2#B54BF2

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

Color values

HEX#B54BF2
RGBrgb(181, 75, 242)
HSLhsl(278, 87%, 62%)
HSVhsv(278, 69%, 95%)
CMYKcmyk(25.2%, 69%, 0%, 5.1%)
CIE-LABlab(53.24, 68.58, -65.57)
CIE-LCHlch(53.24, 94.88, 316.28°)
OKLaboklab(62.72% 0.1571 -0.1855)
OKLCHoklch(62.72% 0.243 310.3)
XYZxyz(37.5960, 21.2675, 86.1117)
Luminance0.2127 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54BF2 #88F24B
analogous
#624BF2 #B54BF2 #F24BDB
triadic
#B54BF2 #F2B54B #4BF2B5
tetradic
#B54BF2 #F2624B #88F24B #4BDBF2
square
#B54BF2 #F2624B #88F24B #4BDBF2
split-complementary
#B54BF2 #DBF24B #4BF262
monochromatic
#780DB5 #9E12EE #B54BF2 #CC84F6 #E4BDFA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B54BF2#FFFFFF#000000##000000
##B54BF21.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)
#007AF7
Deuteranopia (green-blind)
#2E81EE
Tritanopia (blue-blind)
#AD6F99
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #b54bf2;
/* rgb */ color: rgb(181, 75, 242);
/* oklch */ color: oklch(62.7% 0.243 310.3);
Tailwind
colors: {
  custom: {
    50: '#d085f7',
    500: '#b54bf2',
    950: '#000000',
  },
}
SCSS
$custom: #b54bf2;
$custom-light: #d085f7;
$custom-dark: #000000;
JSON
{
  "hex": "#b54bf2",
  "rgb": {
    "r": 181,
    "g": 75,
    "b": 242
  },
  "hsl": {
    "h": 278.084,
    "s": 86.528,
    "l": 62.157
  },
  "oklch": {
    "l": 0.62719,
    "c": 0.24308,
    "h": 310.3
  },
  "luminance": 0.21267
}

Semantic roles & 50–950 ramp

primary
#B54BF2
secondary
#C4EBAE
accent
#E30254
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#140C17
muted
#837D85

Preview Lab

Preview with #B54BF2

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

Preview Lab → · Contrast checker → · Palette generator →

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