#B54FED#B54FED

#B54FED is a light, highly saturated violet. Relative luminance 0.215; OKLCH L 62.8% C 0.233 H 311.1°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#B54FED
RGBrgb(181, 79, 237)
HSLhsl(279, 81%, 62%)
HSVhsv(279, 67%, 93%)
CMYKcmyk(23.6%, 66.7%, 0%, 7.1%)
CIE-LABlab(53.53, 65.85, -62.31)
CIE-LCHlch(53.53, 90.66, 316.58°)
OKLaboklab(62.82% 0.1535 -0.1759)
OKLCHoklch(62.82% 0.233 311.1)
XYZxyz(37.1352, 21.5310, 82.3040)
Luminance0.2153 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54FED #87ED4F
analogous
#664FED #B54FED #ED4FD6
triadic
#B54FED #EDB54F #4FEDB5
tetradic
#B54FED #ED664F #87ED4F #4FD6ED
square
#B54FED #ED664F #87ED4F #4FD6ED
split-complementary
#B54FED #D6ED4F #4FED66
monochromatic
#7812B0 #9E18E7 #B54FED #CC87F3 #E4BEF8

Accessibility & contrast

On white

3.96
#B54FED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#B54FED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B54FED
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54FED#FFFFFF#000000##000000
##B54FED1.003.965.315.31
#FFFFFF3.961.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF2
Deuteranopia (green-blind)
#3B82E9
Tritanopia (blue-blind)
#AE7098
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #b54fed;
/* rgb */ color: rgb(181, 79, 237);
/* oklch */ color: oklch(62.8% 0.233 311.1);
Tailwind
colors: {
  custom: {
    50: '#cf87f4',
    500: '#b54fed',
    950: '#000000',
  },
}
SCSS
$custom: #b54fed;
$custom-light: #cf87f4;
$custom-dark: #000000;
JSON
{
  "hex": "#b54fed",
  "rgb": {
    "r": 181,
    "g": 79,
    "b": 237
  },
  "hsl": {
    "h": 278.734,
    "s": 81.443,
    "l": 61.961
  },
  "oklch": {
    "l": 0.62821,
    "c": 0.23348,
    "h": 311.1
  },
  "luminance": 0.2153
}

Semantic roles & 50–950 ramp

primary
#B54FED
secondary
#C3E9AF
accent
#DE0854
background
#FDF8FF
surface
#FAF0FE
border
#D3CBD6
text
#140C17
muted
#837D85

Preview Lab

Preview with #B54FED

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

Preview Lab → · Contrast checker → · Palette generator →

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