#B530B2#B530B2

#B530B2 is a mid, highly saturated purple. Relative luminance 0.152; OKLCH L 56.2% C 0.219 H 329.0°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#B530B2
RGBrgb(181, 48, 178)
HSLhsl(301, 58%, 45%)
HSVhsv(301, 73%, 71%)
CMYKcmyk(0%, 73.5%, 1.7%, 29%)
CIE-LABlab(45.84, 66.71, -40.73)
CIE-LCHlch(45.84, 78.16, 328.59°)
OKLaboklab(56.2% 0.1875 -0.1127)
OKLCHoklch(56.2% 0.219 329)
XYZxyz(28.1486, 15.1541, 43.5533)
Luminance0.1515 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B530B2 #30B533
analogous
#7530B5 #B530B2 #B53070
triadic
#B530B2 #B2B530 #30B2B5
tetradic
#B530B2 #B57530 #30B533 #3070B5
square
#B530B2 #B57530 #30B533 #3070B5
split-complementary
#B530B2 #70B530 #30B575
monochromatic
#541653 #852382 #B530B2 #D151CE #DE82DC

Accessibility & contrast

On white

5.21
#B530B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#B530B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B530B2
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B530B2#FFFFFF#000000##FFFFFF
##B530B21.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A61B6
Deuteranopia (green-blind)
#5673AF
Tritanopia (blue-blind)
#BB446F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b530b2;
/* rgb */ color: rgb(181, 48, 178);
/* oklch */ color: oklch(56.2% 0.219 329.0);
Tailwind
colors: {
  custom: {
    50: '#cf76c9',
    500: '#b530b2',
    950: '#000000',
  },
}
SCSS
$custom: #b530b2;
$custom-light: #cf76c9;
$custom-dark: #000000;
JSON
{
  "hex": "#b530b2",
  "rgb": {
    "r": 181,
    "g": 48,
    "b": 178
  },
  "hsl": {
    "h": 301.353,
    "s": 58.079,
    "l": 44.902
  },
  "oklch": {
    "l": 0.56202,
    "c": 0.21875,
    "h": 329
  },
  "luminance": 0.15152
}

Semantic roles & 50–950 ramp

primary
#B530B2
secondary
#7AC77C
accent
#E14A46
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A13
muted
#837C82

Preview Lab

Preview with #B530B2

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

Preview Lab → · Contrast checker → · Palette generator →

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