#B546EB#B546EB

#B546EB is a mid, highly saturated purple. Relative luminance 0.202; OKLCH L 61.7% C 0.242 H 312.2°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#B546EB
RGBrgb(181, 70, 235)
HSLhsl(280, 80%, 60%)
HSVhsv(280, 70%, 92%)
CMYKcmyk(23%, 70.2%, 0%, 7.8%)
CIE-LABlab(52.07, 69.17, -63.54)
CIE-LCHlch(52.07, 93.93, 317.43°)
OKLaboklab(61.74% 0.1628 -0.1795)
OKLCHoklch(61.74% 0.242 312.2)
XYZxyz(36.2389, 20.2032, 80.5718)
Luminance0.2020 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B546EB #7CEB46
analogous
#6346EB #B546EB #EB46CE
triadic
#B546EB #EBB546 #46EBB5
tetradic
#B546EB #EB6346 #7CEB46 #46CEEB
square
#B546EB #EB6346 #7CEB46 #46CEEB
split-complementary
#B546EB #CEEB46 #46EB63
monochromatic
#7512A5 #9C18DC #B546EB #CB7DF1 #E1B4F7

Accessibility & contrast

On white

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

On black

5.04
#B546EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B546EB
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B546EB#FFFFFF#000000##000000
##B546EB1.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077F0
Deuteranopia (green-blind)
#337EE7
Tritanopia (blue-blind)
#AF6A94
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b546eb;
/* rgb */ color: rgb(181, 70, 235);
/* oklch */ color: oklch(61.7% 0.242 312.2);
Tailwind
colors: {
  custom: {
    50: '#d083f2',
    500: '#b546eb',
    950: '#000000',
  },
}
SCSS
$custom: #b546eb;
$custom-light: #d083f2;
$custom-dark: #000000;
JSON
{
  "hex": "#b546eb",
  "rgb": {
    "r": 181,
    "g": 70,
    "b": 235
  },
  "hsl": {
    "h": 280.364,
    "s": 80.488,
    "l": 59.804
  },
  "oklch": {
    "l": 0.61738,
    "c": 0.24236,
    "h": 312.2
  },
  "luminance": 0.20202
}

Semantic roles & 50–950 ramp

primary
#B546EB
secondary
#BBE6A7
accent
#F73172
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140B17
muted
#837C85

Preview Lab

Preview with #B546EB

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

Preview Lab → · Contrast checker → · Palette generator →

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