#B54EDB#B54EDB

#B54EDB is a mid, highly saturated purple. Relative luminance 0.204; OKLCH L 61.6% C 0.218 H 315.7°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#B54EDB
RGBrgb(181, 78, 219)
HSLhsl(284, 66%, 58%)
HSVhsv(284, 64%, 86%)
CMYKcmyk(17.4%, 64.4%, 0%, 14.1%)
CIE-LABlab(52.27, 62.61, -54.17)
CIE-LCHlch(52.27, 82.79, 319.13°)
OKLaboklab(61.57% 0.1556 -0.1521)
OKLCHoklch(61.57% 0.218 315.7)
XYZxyz(34.5646, 20.3882, 69.1187)
Luminance0.2039 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54EDB #74DB4E
analogous
#6E4EDB #B54EDB #DB4EBA
triadic
#B54EDB #DBB54E #4EDBB5
tetradic
#B54EDB #DB6E4E #74DB4E #4EBADB
square
#B54EDB #DB6E4E #74DB4E #4EBADB
split-complementary
#B54EDB #BADB4E #4EDB6E
monochromatic
#721E91 #9A28C4 #B54EDB #CA81E5 #E0B4F0

Accessibility & contrast

On white

4.14
#B54EDB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#B54EDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B54EDB
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54EDB#FFFFFF#000000##000000
##B54EDB1.004.145.085.08
#FFFFFF4.141.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#1177DF
Deuteranopia (green-blind)
#4D80D8
Tritanopia (blue-blind)
#B2688E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #b54edb;
/* rgb */ color: rgb(181, 78, 219);
/* oklch */ color: oklch(61.6% 0.218 315.7);
Tailwind
colors: {
  custom: {
    50: '#cf86e7',
    500: '#b54edb',
    950: '#000000',
  },
}
SCSS
$custom: #b54edb;
$custom-light: #cf86e7;
$custom-dark: #000000;
JSON
{
  "hex": "#b54edb",
  "rgb": {
    "r": 181,
    "g": 78,
    "b": 219
  },
  "hsl": {
    "h": 283.83,
    "s": 66.197,
    "l": 58.235
  },
  "oklch": {
    "l": 0.6157,
    "c": 0.21758,
    "h": 315.7
  },
  "luminance": 0.20387
}

Semantic roles & 50–950 ramp

primary
#B54EDB
secondary
#B5DEA6
accent
#E93F6D
background
#FDF8FE
surface
#FAF0FC
border
#D3CBD5
text
#140C16
muted
#837D84

Preview Lab

Preview with #B54EDB

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

Preview Lab → · Contrast checker → · Palette generator →

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