#B54FFF#B54FFF

#B54FFF is a light, highly saturated violet. Relative luminance 0.226; OKLCH L 64.0% C 0.251 H 307.2°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#B54FFF
RGBrgb(181, 79, 255)
HSLhsl(275, 100%, 65%)
HSVhsv(275, 69%, 100%)
CMYKcmyk(29%, 69%, 0%, 0%)
CIE-LABlab(54.70, 69.65, -70.46)
CIE-LCHlch(54.70, 99.08, 314.67°)
OKLaboklab(64.03% 0.1515 -0.1999)
OKLCHoklch(64.03% 0.251 307.2)
XYZxyz(39.8982, 22.6362, 96.8557)
Luminance0.2264 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54FFF #99FF4F
analogous
#5D4FFF #B54FFF #FF4FF1
triadic
#B54FFF #FFB54F #4FFFB5
tetradic
#B54FFF #FF5D4F #99FF4F #4FF1FF
square
#B54FFF #FF5D4F #99FF4F #4FF1FF
split-complementary
#B54FFF #F1FF4F #4FFF5D
monochromatic
#7B00D4 #9B12FF #B54FFF #CF8CFF #E8C9FF

Accessibility & contrast

On white

3.80
#B54FFF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#B54FFF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B54FFF
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54FFF#FFFFFF#000000##000000
##B54FFF1.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FFF
Deuteranopia (green-blind)
#1884FB
Tritanopia (blue-blind)
#A977A2
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #b54fff;
/* rgb */ color: rgb(181, 79, 255);
/* oklch */ color: oklch(64.0% 0.251 307.2);
Tailwind
colors: {
  custom: {
    50: '#d088ff',
    500: '#b54fff',
    950: '#000000',
  },
}
SCSS
$custom: #b54fff;
$custom-light: #d088ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b54fff",
  "rgb": {
    "r": 181,
    "g": 79,
    "b": 255
  },
  "hsl": {
    "h": 274.773,
    "s": 100,
    "l": 65.49
  },
  "oklch": {
    "l": 0.64028,
    "c": 0.25082,
    "h": 307.2
  },
  "luminance": 0.22636
}

Semantic roles & 50–950 ramp

primary
#B54FFF
secondary
#D0F2B7
accent
#E60060
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#150C18
muted
#837D86

Preview Lab

Preview with #B54FFF

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

Preview Lab → · Contrast checker → · Palette generator →

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