#B54CEC#B54CEC

#B54CEC is a light, highly saturated violet. Relative luminance 0.210; OKLCH L 62.4% C 0.236 H 311.6°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#B54CEC
RGBrgb(181, 76, 236)
HSLhsl(279, 81%, 61%)
HSVhsv(279, 68%, 93%)
CMYKcmyk(23.3%, 67.8%, 0%, 7.5%)
CIE-LABlab(53.00, 66.92, -62.59)
CIE-LCHlch(53.00, 91.63, 316.91°)
OKLaboklab(62.43% 0.1567 -0.1767)
OKLCHoklch(62.43% 0.236 311.6)
XYZxyz(36.7780, 21.0497, 81.4662)
Luminance0.2105 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54CEC #83EC4C
analogous
#654CEC #B54CEC #EC4CD3
triadic
#B54CEC #ECB54C #4CECB5
tetradic
#B54CEC #EC654C #83EC4C #4CD3EC
square
#B54CEC #EC654C #83EC4C #4CD3EC
split-complementary
#B54CEC #D3EC4C #4CEC65
monochromatic
#7712AB #9D18E3 #B54CEC #CC83F2 #E3BBF8

Accessibility & contrast

On white

4.03
#B54CEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#B54CEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B54CEC
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54CEC#FFFFFF#000000##000000
##B54CEC1.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AF1
Deuteranopia (green-blind)
#3981E8
Tritanopia (blue-blind)
#AE6E96
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #b54cec;
/* rgb */ color: rgb(181, 76, 236);
/* oklch */ color: oklch(62.4% 0.236 311.6);
Tailwind
colors: {
  custom: {
    50: '#d086f3',
    500: '#b54cec',
    950: '#000000',
  },
}
SCSS
$custom: #b54cec;
$custom-light: #d086f3;
$custom-dark: #000000;
JSON
{
  "hex": "#b54cec",
  "rgb": {
    "r": 181,
    "g": 76,
    "b": 236
  },
  "hsl": {
    "h": 279.375,
    "s": 80.808,
    "l": 61.176
  },
  "oklch": {
    "l": 0.62427,
    "c": 0.23621,
    "h": 311.6
  },
  "luminance": 0.21049
}

Semantic roles & 50–950 ramp

primary
#B54CEC
secondary
#C1E8AC
accent
#DD0851
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C17
muted
#837D85

Preview Lab

Preview with #B54CEC

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

Preview Lab → · Contrast checker → · Palette generator →

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