#B548E6#B548E6

#B548E6 is a mid, highly saturated purple. Relative luminance 0.202; OKLCH L 61.6% C 0.235 H 313.3°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#B548E6
RGBrgb(181, 72, 230)
HSLhsl(281, 76%, 59%)
HSVhsv(281, 69%, 90%)
CMYKcmyk(21.3%, 68.7%, 0%, 9.8%)
CIE-LABlab(52.03, 67.36, -60.78)
CIE-LCHlch(52.03, 90.73, 317.94°)
OKLaboklab(61.61% 0.1614 -0.1714)
OKLCHoklch(61.61% 0.235 313.3)
XYZxyz(35.6539, 20.1727, 76.8631)
Luminance0.2017 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B548E6 #79E648
analogous
#6648E6 #B548E6 #E648C8
triadic
#B548E6 #E6B548 #48E6B5
tetradic
#B548E6 #E66648 #79E648 #48C8E6
square
#B548E6 #E66648 #79E648 #48C8E6
split-complementary
#B548E6 #C8E648 #48E666
monochromatic
#74169E #9B1DD4 #B548E6 #CB7EED #E1B4F5

Accessibility & contrast

On white

4.17
#B548E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#B548E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B548E6
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B548E6#FFFFFF#000000##000000
##B548E61.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076EB
Deuteranopia (green-blind)
#3C7FE2
Tritanopia (blue-blind)
#B06992
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b548e6;
/* rgb */ color: rgb(181, 72, 230);
/* oklch */ color: oklch(61.6% 0.235 313.3);
Tailwind
colors: {
  custom: {
    50: '#cf83ef',
    500: '#b548e6',
    950: '#000000',
  },
}
SCSS
$custom: #b548e6;
$custom-light: #cf83ef;
$custom-dark: #000000;
JSON
{
  "hex": "#b548e6",
  "rgb": {
    "r": 181,
    "g": 72,
    "b": 230
  },
  "hsl": {
    "h": 281.392,
    "s": 75.962,
    "l": 59.216
  },
  "oklch": {
    "l": 0.61611,
    "c": 0.23543,
    "h": 313.3
  },
  "luminance": 0.20172
}

Semantic roles & 50–950 ramp

primary
#B548E6
secondary
#B9E4A6
accent
#F33570
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #B548E6

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

Preview Lab → · Contrast checker → · Palette generator →

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