#B523E2#B523E2

#B523E2 is a mid, highly saturated purple. Relative luminance 0.165; OKLCH L 58.4% C 0.267 H 315.9°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#B523E2
RGBrgb(181, 35, 226)
HSLhsl(286, 77%, 51%)
HSVhsv(286, 85%, 89%)
CMYKcmyk(19.9%, 84.5%, 0%, 11.4%)
CIE-LABlab(47.65, 78.43, -65.60)
CIE-LCHlch(47.65, 102.25, 320.09°)
OKLaboklab(58.43% 0.1916 -0.1853)
OKLCHoklch(58.43% 0.267 315.9)
XYZxyz(33.3824, 16.5182, 73.3667)
Luminance0.1652 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B523E2 #50E223
analogous
#5523E2 #B523E2 #E223AF
triadic
#B523E2 #E2B523 #23E2B5
tetradic
#B523E2 #E25523 #50E223 #23AFE2
square
#B523E2 #E25523 #50E223 #23AFE2
split-complementary
#B523E2 #AFE223 #23E255
monochromatic
#61107A #8C17B1 #B523E2 #C759E9 #D98FF0

Accessibility & contrast

On white

4.88
#B523E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#B523E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B523E2
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B523E2#FFFFFF#000000##FFFFFF
##B523E21.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069E7
Deuteranopia (green-blind)
#1B75DE
Tritanopia (blue-blind)
#B25588
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #b523e2;
/* rgb */ color: rgb(181, 35, 226);
/* oklch */ color: oklch(58.4% 0.267 315.9);
Tailwind
colors: {
  custom: {
    50: '#d174ec',
    500: '#b523e2',
    950: '#000000',
  },
}
SCSS
$custom: #b523e2;
$custom-light: #d174ec;
$custom-dark: #000000;
JSON
{
  "hex": "#b523e2",
  "rgb": {
    "r": 181,
    "g": 35,
    "b": 226
  },
  "hsl": {
    "h": 285.864,
    "s": 76.707,
    "l": 51.176
  },
  "oklch": {
    "l": 0.58432,
    "c": 0.26655,
    "h": 315.9
  },
  "luminance": 0.16517
}

Semantic roles & 50–950 ramp

primary
#B523E2
secondary
#9ADB86
accent
#F33561
background
#FDF7FE
surface
#FAEEFD
border
#D3C9D5
text
#150A16
muted
#837C84

Preview Lab

Preview with #B523E2

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

Preview Lab → · Contrast checker → · Palette generator →

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