#B54FF2#B54FF2

#B54FF2 is a light, highly saturated violet. Relative luminance 0.218; OKLCH L 63.1% C 0.238 H 310.0°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#B54FF2
RGBrgb(181, 79, 242)
HSLhsl(278, 86%, 63%)
HSVhsv(278, 67%, 95%)
CMYKcmyk(25.2%, 67.4%, 0%, 5.1%)
CIE-LABlab(53.84, 66.89, -64.60)
CIE-LCHlch(53.84, 92.99, 316.00°)
OKLaboklab(63.15% 0.153 -0.1827)
OKLCHoklch(63.15% 0.238 310)
XYZxyz(37.8759, 21.8273, 86.2050)
Luminance0.2183 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54FF2 #8CF24F
analogous
#634FF2 #B54FF2 #F24FDD
triadic
#B54FF2 #F2B54F #4FF2B5
tetradic
#B54FF2 #F2634F #8CF24F #4FDDF2
square
#B54FF2 #F2634F #8CF24F #4FDDF2
split-complementary
#B54FF2 #DDF24F #4FF263
monochromatic
#790EB9 #9D16EE #B54FF2 #CD88F6 #E5C1FA

Accessibility & contrast

On white

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

On black

5.37
#B54FF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B54FF2
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54FF2#FFFFFF#000000##000000
##B54FF21.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF7
Deuteranopia (green-blind)
#3482EE
Tritanopia (blue-blind)
#AD729B
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #b54ff2;
/* rgb */ color: rgb(181, 79, 242);
/* oklch */ color: oklch(63.1% 0.238 310.0);
Tailwind
colors: {
  custom: {
    50: '#d087f7',
    500: '#b54ff2',
    950: '#000000',
  },
}
SCSS
$custom: #b54ff2;
$custom-light: #d087f7;
$custom-dark: #000000;
JSON
{
  "hex": "#b54ff2",
  "rgb": {
    "r": 181,
    "g": 79,
    "b": 242
  },
  "hsl": {
    "h": 277.546,
    "s": 86.243,
    "l": 62.941
  },
  "oklch": {
    "l": 0.63149,
    "c": 0.23829,
    "h": 310
  },
  "luminance": 0.21827
}

Semantic roles & 50–950 ramp

primary
#B54FF2
secondary
#C7ECB1
accent
#E30357
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#140C17
muted
#837D85

Preview Lab

Preview with #B54FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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