#B54FD2#B54FD2

#B54FD2 is a mid, highly saturated purple. Relative luminance 0.201; OKLCH L 61.1% C 0.208 H 318.1°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#B54FD2
RGBrgb(181, 79, 210)
HSLhsl(287, 59%, 57%)
HSVhsv(287, 62%, 82%)
CMYKcmyk(13.8%, 62.4%, 0%, 17.6%)
CIE-LABlab(51.92, 60.39, -49.62)
CIE-LCHlch(51.92, 78.16, 320.59°)
OKLaboklab(61.15% 0.1546 -0.1388)
OKLCHoklch(61.15% 0.208 318.1)
XYZxyz(33.4833, 20.0702, 63.0705)
Luminance0.2007 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54FD2 #6CD24F
analogous
#744FD2 #B54FD2 #D24FAD
triadic
#B54FD2 #D2B54F #4FD2B5
tetradic
#B54FD2 #D2744F #6CD24F #4FADD2
square
#B54FD2 #D2744F #6CD24F #4FADD2
split-complementary
#B54FD2 #ADD24F #4FD274
monochromatic
#6F2285 #982EB5 #B54FD2 #C980DE #DEB0EB

Accessibility & contrast

On white

4.19
#B54FD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#B54FD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B54FD2
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54FD2#FFFFFF#000000##000000
##B54FD21.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2775D6
Deuteranopia (green-blind)
#557FCF
Tritanopia (blue-blind)
#B46689
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b54fd2;
/* rgb */ color: rgb(181, 79, 210);
/* oklch */ color: oklch(61.1% 0.208 318.1);
Tailwind
colors: {
  custom: {
    50: '#ce87e0',
    500: '#b54fd2',
    950: '#000000',
  },
}
SCSS
$custom: #b54fd2;
$custom-light: #ce87e0;
$custom-dark: #000000;
JSON
{
  "hex": "#b54fd2",
  "rgb": {
    "r": 181,
    "g": 79,
    "b": 210
  },
  "hsl": {
    "h": 286.718,
    "s": 59.276,
    "l": 56.667
  },
  "oklch": {
    "l": 0.61146,
    "c": 0.20774,
    "h": 318.1
  },
  "luminance": 0.20069
}

Semantic roles & 50–950 ramp

primary
#B54FD2
secondary
#AFD9A4
accent
#E24568
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140C15
muted
#837D83

Preview Lab

Preview with #B54FD2

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

Preview Lab → · Contrast checker → · Palette generator →

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