#B54DEB#B54DEB

#B54DEB is a light, highly saturated violet. Relative luminance 0.211; OKLCH L 62.5% C 0.234 H 311.7°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#B54DEB
RGBrgb(181, 77, 235)
HSLhsl(279, 80%, 61%)
HSVhsv(279, 67%, 92%)
CMYKcmyk(23%, 67.2%, 0%, 7.8%)
CIE-LABlab(53.09, 66.29, -61.89)
CIE-LCHlch(53.09, 90.69, 316.97°)
OKLaboklab(62.47% 0.1558 -0.1747)
OKLCHoklch(62.47% 0.234 311.7)
XYZxyz(36.7026, 21.1306, 80.7263)
Luminance0.2113 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54DEB #83EB4D
analogous
#664DEB #B54DEB #EB4DD2
triadic
#B54DEB #EBB54D #4DEBB5
tetradic
#B54DEB #EB664D #83EB4D #4DD2EB
square
#B54DEB #EB664D #83EB4D #4DD2EB
split-complementary
#B54DEB #D2EB4D #4DEB66
monochromatic
#7713AA #9D19E1 #B54DEB #CC84F1 #E3BBF7

Accessibility & contrast

On white

4.02
#B54DEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#B54DEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B54DEB
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54DEB#FFFFFF#000000##000000
##B54DEB1.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AF0
Deuteranopia (green-blind)
#3B81E7
Tritanopia (blue-blind)
#AE6E96
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #b54deb;
/* rgb */ color: rgb(181, 77, 235);
/* oklch */ color: oklch(62.5% 0.234 311.7);
Tailwind
colors: {
  custom: {
    50: '#cf86f2',
    500: '#b54deb',
    950: '#000000',
  },
}
SCSS
$custom: #b54deb;
$custom-light: #cf86f2;
$custom-dark: #000000;
JSON
{
  "hex": "#b54deb",
  "rgb": {
    "r": 181,
    "g": 77,
    "b": 235
  },
  "hsl": {
    "h": 279.494,
    "s": 79.798,
    "l": 61.176
  },
  "oklch": {
    "l": 0.6247,
    "c": 0.23405,
    "h": 311.7
  },
  "luminance": 0.2113
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B54DEB

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

Preview Lab → · Contrast checker → · Palette generator →

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