#B54DE5#B54DE5

#B54DE5 is a light, highly saturated purple. Relative luminance 0.208; OKLCH L 62.1% C 0.228 H 313.2°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#B54DE5
RGBrgb(181, 77, 229)
HSLhsl(281, 75%, 60%)
HSVhsv(281, 66%, 90%)
CMYKcmyk(21%, 66.4%, 0%, 10.2%)
CIE-LABlab(52.72, 65.06, -59.12)
CIE-LCHlch(52.72, 87.91, 317.74°)
OKLaboklab(62.08% 0.1562 -0.1665)
OKLCHoklch(62.08% 0.228 313.2)
XYZxyz(35.8503, 20.7897, 76.2379)
Luminance0.2079 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54DE5 #7DE54D
analogous
#694DE5 #B54DE5 #E54DC9
triadic
#B54DE5 #E5B54D #4DE5B5
tetradic
#B54DE5 #E5694D #7DE54D #4DC9E5
square
#B54DE5 #E5694D #7DE54D #4DC9E5
split-complementary
#B54DE5 #C9E54D #4DE569
monochromatic
#7517A0 #9C1FD6 #B54DE5 #CB82ED #E1B8F5

Accessibility & contrast

On white

4.07
#B54DE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#B54DE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B54DE5
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54DE5#FFFFFF#000000##000000
##B54DE51.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078EA
Deuteranopia (green-blind)
#4280E2
Tritanopia (blue-blind)
#B06C93
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #b54de5;
/* rgb */ color: rgb(181, 77, 229);
/* oklch */ color: oklch(62.1% 0.228 313.2);
Tailwind
colors: {
  custom: {
    50: '#cf86ee',
    500: '#b54de5',
    950: '#000000',
  },
}
SCSS
$custom: #b54de5;
$custom-light: #cf86ee;
$custom-dark: #000000;
JSON
{
  "hex": "#b54de5",
  "rgb": {
    "r": 181,
    "g": 77,
    "b": 229
  },
  "hsl": {
    "h": 281.053,
    "s": 74.51,
    "l": 60
  },
  "oklch": {
    "l": 0.62083,
    "c": 0.22834,
    "h": 313.2
  },
  "luminance": 0.20789
}

Semantic roles & 50–950 ramp

primary
#B54DE5
secondary
#BCE4AA
accent
#F13772
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C16
muted
#837D84

Preview Lab

Preview with #B54DE5

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

Preview Lab → · Contrast checker → · Palette generator →

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