#B54ED2#B54ED2

#B54ED2 is a mid, highly saturated purple. Relative luminance 0.199; OKLCH L 61.0% C 0.209 H 318.1°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#B54ED2
RGBrgb(181, 78, 210)
HSLhsl(287, 59%, 56%)
HSVhsv(287, 63%, 82%)
CMYKcmyk(13.8%, 62.9%, 0%, 17.6%)
CIE-LABlab(51.75, 60.83, -49.88)
CIE-LCHlch(51.75, 78.67, 320.65°)
OKLaboklab(61.03% 0.1558 -0.1395)
OKLCHoklch(61.03% 0.209 318.1)
XYZxyz(33.4117, 19.9271, 63.0466)
Luminance0.1993 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54ED2 #6BD24E
analogous
#734ED2 #B54ED2 #D24EAD
triadic
#B54ED2 #D2B54E #4ED2B5
tetradic
#B54ED2 #D2734E #6BD24E #4EADD2
square
#B54ED2 #D2734E #6BD24E #4EADD2
split-complementary
#B54ED2 #ADD24E #4ED273
monochromatic
#6E2284 #972EB5 #B54ED2 #C97FDE #DEB0EB

Accessibility & contrast

On white

4.21
#B54ED2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#B54ED2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B54ED2
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54ED2#FFFFFF#000000##000000
##B54ED21.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2575D6
Deuteranopia (green-blind)
#547FCF
Tritanopia (blue-blind)
#B46589
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #b54ed2;
/* rgb */ color: rgb(181, 78, 210);
/* oklch */ color: oklch(61.0% 0.209 318.1);
Tailwind
colors: {
  custom: {
    50: '#ce86e0',
    500: '#b54ed2',
    950: '#000000',
  },
}
SCSS
$custom: #b54ed2;
$custom-light: #ce86e0;
$custom-dark: #000000;
JSON
{
  "hex": "#b54ed2",
  "rgb": {
    "r": 181,
    "g": 78,
    "b": 210
  },
  "hsl": {
    "h": 286.818,
    "s": 59.459,
    "l": 56.471
  },
  "oklch": {
    "l": 0.61029,
    "c": 0.2091,
    "h": 318.1
  },
  "luminance": 0.19926
}

Semantic roles & 50–950 ramp

primary
#B54ED2
secondary
#AFD9A3
accent
#E34568
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140C15
muted
#837D83

Preview Lab

Preview with #B54ED2

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

Preview Lab → · Contrast checker → · Palette generator →

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