#B54DE7#B54DE7

#B54DE7 is a light, highly saturated purple. Relative luminance 0.209; OKLCH L 62.2% C 0.230 H 312.7°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#B54DE7
RGBrgb(181, 77, 231)
HSLhsl(281, 76%, 60%)
HSVhsv(281, 67%, 91%)
CMYKcmyk(21.6%, 66.7%, 0%, 9.4%)
CIE-LABlab(52.84, 65.47, -60.04)
CIE-LCHlch(52.84, 88.83, 317.48°)
OKLaboklab(62.21% 0.1561 -0.1693)
OKLCHoklch(62.21% 0.23 312.7)
XYZxyz(36.1312, 20.9020, 77.7170)
Luminance0.2090 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54DE7 #7FE74D
analogous
#684DE7 #B54DE7 #E74DCC
triadic
#B54DE7 #E7B54D #4DE7B5
tetradic
#B54DE7 #E7684D #7FE74D #4DCCE7
square
#B54DE7 #E7684D #7FE74D #4DCCE7
split-complementary
#B54DE7 #CCE74D #4DE768
monochromatic
#7616A4 #9C1DD9 #B54DE7 #CB83EE #E2B9F6

Accessibility & contrast

On white

4.05
#B54DE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#B54DE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B54DE7
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54DE7#FFFFFF#000000##000000
##B54DE71.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079EC
Deuteranopia (green-blind)
#4080E3
Tritanopia (blue-blind)
#B06C94
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #b54de7;
/* rgb */ color: rgb(181, 77, 231);
/* oklch */ color: oklch(62.2% 0.230 312.7);
Tailwind
colors: {
  custom: {
    50: '#cf86ef',
    500: '#b54de7',
    950: '#000000',
  },
}
SCSS
$custom: #b54de7;
$custom-light: #cf86ef;
$custom-dark: #000000;
JSON
{
  "hex": "#b54de7",
  "rgb": {
    "r": 181,
    "g": 77,
    "b": 231
  },
  "hsl": {
    "h": 280.519,
    "s": 76.238,
    "l": 60.392
  },
  "oklch": {
    "l": 0.62211,
    "c": 0.23025,
    "h": 312.7
  },
  "luminance": 0.20901
}

Semantic roles & 50–950 ramp

primary
#B54DE7
secondary
#BEE5AA
accent
#D80D4F
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C17
muted
#837D85

Preview Lab

Preview with #B54DE7

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

Preview Lab → · Contrast checker → · Palette generator →

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