#B534C9#B534C9

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

Color values

HEX#B534C9
RGBrgb(181, 52, 201)
HSLhsl(292, 59%, 50%)
HSVhsv(292, 74%, 79%)
CMYKcmyk(10%, 74.1%, 0%, 21.2%)
CIE-LABlab(47.62, 69.29, -51.31)
CIE-LCHlch(47.62, 86.23, 323.48°)
OKLaboklab(57.9% 0.1831 -0.1435)
OKLCHoklch(57.9% 0.233 321.9)
XYZxyz(30.8255, 16.4985, 56.8079)
Luminance0.1650 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B534C9 #48C934
analogous
#6A34C9 #B534C9 #C93493
triadic
#B534C9 #C9B534 #34C9B5
tetradic
#B534C9 #C96A34 #48C934 #3493C9
square
#B534C9 #C96A34 #48C934 #3493C9
split-complementary
#B534C9 #93C934 #34C96A
monochromatic
#5D1B68 #892798 #B534C9 #C763D7 #D994E3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B534C9#FFFFFF#000000##FFFFFF
##B534C91.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)
#0068CD
Deuteranopia (green-blind)
#4976C6
Tritanopia (blue-blind)
#B7517D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #b534c9;
/* rgb */ color: rgb(181, 52, 201);
/* oklch */ color: oklch(57.9% 0.233 321.9);
Tailwind
colors: {
  custom: {
    50: '#cf79da',
    500: '#b534c9',
    950: '#000000',
  },
}
SCSS
$custom: #b534c9;
$custom-light: #cf79da;
$custom-dark: #000000;
JSON
{
  "hex": "#b534c9",
  "rgb": {
    "r": 181,
    "g": 52,
    "b": 201
  },
  "hsl": {
    "h": 291.946,
    "s": 58.893,
    "l": 49.608
  },
  "oklch": {
    "l": 0.57895,
    "c": 0.23263,
    "h": 321.9
  },
  "luminance": 0.16497
}

Semantic roles & 50–950 ramp

primary
#B534C9
secondary
#93CE8A
accent
#E2465B
background
#FDF7FD
surface
#FAEEFB
border
#D3C9D4
text
#140A15
muted
#837C83

Preview Lab

Preview with #B534C9

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

Preview Lab → · Contrast checker → · Palette generator →

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