#B545E4#B545E4

#B545E4 is a mid, highly saturated purple. Relative luminance 0.197; OKLCH L 61.2% C 0.237 H 314.0°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#B545E4
RGBrgb(181, 69, 228)
HSLhsl(282, 75%, 58%)
HSVhsv(282, 70%, 89%)
CMYKcmyk(20.6%, 69.7%, 0%, 10.6%)
CIE-LABlab(51.48, 68.17, -60.55)
CIE-LCHlch(51.48, 91.18, 318.39°)
OKLaboklab(61.18% 0.1646 -0.1707)
OKLCHoklch(61.18% 0.237 314)
XYZxyz(35.1854, 19.6826, 75.3294)
Luminance0.1968 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B545E4 #74E445
analogous
#6545E4 #B545E4 #E445C4
triadic
#B545E4 #E4B545 #45E4B5
tetradic
#B545E4 #E46545 #74E445 #45C4E4
square
#B545E4 #E46545 #74E445 #45C4E4
split-complementary
#B545E4 #C4E445 #45E465
monochromatic
#721698 #9A1ECE #B545E4 #CA7AEC #E0B0F4

Accessibility & contrast

On white

4.25
#B545E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#B545E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B545E4
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B545E4#FFFFFF#000000##000000
##B545E41.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075E9
Deuteranopia (green-blind)
#3B7DE0
Tritanopia (blue-blind)
#B06690
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #b545e4;
/* rgb */ color: rgb(181, 69, 228);
/* oklch */ color: oklch(61.2% 0.237 314.0);
Tailwind
colors: {
  custom: {
    50: '#d082ed',
    500: '#b545e4',
    950: '#000000',
  },
}
SCSS
$custom: #b545e4;
$custom-light: #d082ed;
$custom-dark: #000000;
JSON
{
  "hex": "#b545e4",
  "rgb": {
    "r": 181,
    "g": 69,
    "b": 228
  },
  "hsl": {
    "h": 282.264,
    "s": 74.648,
    "l": 58.235
  },
  "oklch": {
    "l": 0.61175,
    "c": 0.23713,
    "h": 314
  },
  "luminance": 0.19681
}

Semantic roles & 50–950 ramp

primary
#B545E4
secondary
#B5E2A3
accent
#F1376E
background
#FDF8FE
surface
#FAEFFD
border
#D3CAD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #B545E4

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

Preview Lab → · Contrast checker → · Palette generator →

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