#B54CEF#B54CEF

#B54CEF is a light, highly saturated violet. Relative luminance 0.212; OKLCH L 62.6% C 0.239 H 310.9°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#B54CEF
RGBrgb(181, 76, 239)
HSLhsl(279, 84%, 62%)
HSVhsv(279, 68%, 94%)
CMYKcmyk(24.3%, 68.2%, 0%, 6.3%)
CIE-LABlab(53.20, 67.54, -63.97)
CIE-LCHlch(53.20, 93.02, 316.56°)
OKLaboklab(62.63% 0.1564 -0.1808)
OKLCHoklch(62.63% 0.239 310.9)
XYZxyz(37.2175, 21.2255, 83.7810)
Luminance0.2122 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54CEF #86EF4C
analogous
#644CEF #B54CEF #EF4CD8
triadic
#B54CEF #EFB54C #4CEFB5
tetradic
#B54CEF #EF644C #86EF4C #4CD8EF
square
#B54CEF #EF644C #86EF4C #4CD8EF
split-complementary
#B54CEF #D8EF4C #4CEF64
monochromatic
#7810B1 #9D15E9 #B54CEF #CC84F4 #E3BCF9

Accessibility & contrast

On white

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

On black

5.24
#B54CEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B54CEF
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54CEF#FFFFFF#000000##000000
##B54CEF1.004.005.245.24
#FFFFFF4.001.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AF4
Deuteranopia (green-blind)
#3581EB
Tritanopia (blue-blind)
#AD6F98
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #b54cef;
/* rgb */ color: rgb(181, 76, 239);
/* oklch */ color: oklch(62.6% 0.239 310.9);
Tailwind
colors: {
  custom: {
    50: '#d086f5',
    500: '#b54cef',
    950: '#000000',
  },
}
SCSS
$custom: #b54cef;
$custom-light: #d086f5;
$custom-dark: #000000;
JSON
{
  "hex": "#b54cef",
  "rgb": {
    "r": 181,
    "g": 76,
    "b": 239
  },
  "hsl": {
    "h": 278.65,
    "s": 83.59,
    "l": 61.765
  },
  "oklch": {
    "l": 0.62625,
    "c": 0.23906,
    "h": 310.9
  },
  "luminance": 0.21225
}

Semantic roles & 50–950 ramp

primary
#B54CEF
secondary
#C3EAAD
accent
#E00553
background
#FDF8FF
surface
#FAF0FE
border
#D3CBD6
text
#140C17
muted
#837D85

Preview Lab

Preview with #B54CEF

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

Preview Lab → · Contrast checker → · Palette generator →

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