#B530A2#B530A2

#B530A2 is a mid, highly saturated purple. Relative luminance 0.145; OKLCH L 55.3% C 0.207 H 334.5°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#B530A2
RGBrgb(181, 48, 162)
HSLhsl(309, 58%, 45%)
HSVhsv(309, 73%, 71%)
CMYKcmyk(0%, 73.5%, 10.5%, 29%)
CIE-LABlab(45.01, 64.22, -32.57)
CIE-LCHlch(45.01, 72.01, 333.11°)
OKLaboklab(55.33% 0.1868 -0.0891)
OKLCHoklch(55.33% 0.207 334.5)
XYZxyz(26.6349, 14.5486, 35.5808)
Luminance0.1455 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B530A2 #30B543
analogous
#8530B5 #B530A2 #B53060
triadic
#B530A2 #A2B530 #30A2B5
tetradic
#B530A2 #B58530 #30B543 #3060B5
square
#B530A2 #B58530 #30B543 #3060B5
split-complementary
#B530A2 #60B530 #30B585
monochromatic
#54164B #852377 #B530A2 #D151BF #DE82D1

Accessibility & contrast

On white

5.37
#B530A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#B530A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B530A2
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B530A2#FFFFFF#000000##FFFFFF
##B530A21.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5EA5
Deuteranopia (green-blind)
#5E719F
Tritanopia (blue-blind)
#BE3C66
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b530a2;
/* rgb */ color: rgb(181, 48, 162);
/* oklch */ color: oklch(55.3% 0.207 334.5);
Tailwind
colors: {
  custom: {
    50: '#cf76be',
    500: '#b530a2',
    950: '#000000',
  },
}
SCSS
$custom: #b530a2;
$custom-light: #cf76be;
$custom-dark: #000000;
JSON
{
  "hex": "#b530a2",
  "rgb": {
    "r": 181,
    "g": 48,
    "b": 162
  },
  "hsl": {
    "h": 308.571,
    "s": 58.079,
    "l": 44.902
  },
  "oklch": {
    "l": 0.55332,
    "c": 0.20701,
    "h": 334.5
  },
  "luminance": 0.14546
}

Semantic roles & 50–950 ramp

primary
#B530A2
secondary
#7AC785
accent
#E15D46
background
#FDF7FB
surface
#FAEEF7
border
#D3C9D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B530A2

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

Preview Lab → · Contrast checker → · Palette generator →

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