#B530A8#B530A8

#B530A8 is a mid, highly saturated purple. Relative luminance 0.148; OKLCH L 55.6% C 0.211 H 332.4°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#B530A8
RGBrgb(181, 48, 168)
HSLhsl(306, 58%, 45%)
HSVhsv(306, 73%, 71%)
CMYKcmyk(0%, 73.5%, 7.2%, 29%)
CIE-LABlab(45.31, 65.13, -35.66)
CIE-LCHlch(45.31, 74.26, 331.30°)
OKLaboklab(55.65% 0.1872 -0.098)
OKLCHoklch(55.65% 0.211 332.4)
XYZxyz(27.1810, 14.7671, 38.4570)
Luminance0.1477 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B530A8 #30B53D
analogous
#8030B5 #B530A8 #B53065
triadic
#B530A8 #A8B530 #30A8B5
tetradic
#B530A8 #B58030 #30B53D #3065B5
square
#B530A8 #B58030 #30B53D #3065B5
split-complementary
#B530A8 #65B530 #30B580
monochromatic
#54164E #85237B #B530A8 #D151C4 #DE82D5

Accessibility & contrast

On white

5.31
#B530A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#B530A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B530A8
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B530A8#FFFFFF#000000##FFFFFF
##B530A81.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285FAB
Deuteranopia (green-blind)
#5C72A5
Tritanopia (blue-blind)
#BD3F69
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b530a8;
/* rgb */ color: rgb(181, 48, 168);
/* oklch */ color: oklch(55.6% 0.211 332.4);
Tailwind
colors: {
  custom: {
    50: '#cf76c2',
    500: '#b530a8',
    950: '#000000',
  },
}
SCSS
$custom: #b530a8;
$custom-light: #cf76c2;
$custom-dark: #000000;
JSON
{
  "hex": "#b530a8",
  "rgb": {
    "r": 181,
    "g": 48,
    "b": 168
  },
  "hsl": {
    "h": 305.865,
    "s": 58.079,
    "l": 44.902
  },
  "oklch": {
    "l": 0.55649,
    "c": 0.21133,
    "h": 332.4
  },
  "luminance": 0.14765
}

Semantic roles & 50–950 ramp

primary
#B530A8
secondary
#7AC781
accent
#E15646
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140912
muted
#837B81

Preview Lab

Preview with #B530A8

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

Preview Lab → · Contrast checker → · Palette generator →

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