#B530BB#B530BB

#B530BB is a mid, highly saturated purple. Relative luminance 0.155; OKLCH L 56.7% C 0.226 H 326.1°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#B530BB
RGBrgb(181, 48, 187)
HSLhsl(297, 59%, 46%)
HSVhsv(297, 74%, 73%)
CMYKcmyk(3.2%, 74.3%, 0%, 26.7%)
CIE-LABlab(46.35, 68.18, -45.21)
CIE-LCHlch(46.35, 81.81, 326.45°)
OKLaboklab(56.72% 0.1874 -0.1257)
OKLCHoklch(56.72% 0.226 326.1)
XYZxyz(29.0821, 15.5275, 48.4694)
Luminance0.1553 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B530BB #36BB30
analogous
#6F30BB #B530BB #BB307B
triadic
#B530BB #BBB530 #30BBB5
tetradic
#B530BB #BB6F30 #36BB30 #307BBB
square
#B530BB #BB6F30 #36BB30 #307BBB
split-complementary
#B530BB #7BBB30 #30BB6F
monochromatic
#57175A #86238A #B530BB #CE55D3 #DC86E0

Accessibility & contrast

On white

5.12
#B530BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#B530BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B530BB
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B530BB#FFFFFF#000000##FFFFFF
##B530BB1.005.124.115.12
#FFFFFF5.121.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063BF
Deuteranopia (green-blind)
#5173B8
Tritanopia (blue-blind)
#BA4874
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b530bb;
/* rgb */ color: rgb(181, 48, 187);
/* oklch */ color: oklch(56.7% 0.226 326.1);
Tailwind
colors: {
  custom: {
    50: '#cf77d0',
    500: '#b530bb',
    950: '#000000',
  },
}
SCSS
$custom: #b530bb;
$custom-light: #cf77d0;
$custom-dark: #000000;
JSON
{
  "hex": "#b530bb",
  "rgb": {
    "r": 181,
    "g": 48,
    "b": 187
  },
  "hsl": {
    "h": 297.41,
    "s": 59.149,
    "l": 46.078
  },
  "oklch": {
    "l": 0.56724,
    "c": 0.22562,
    "h": 326.1
  },
  "luminance": 0.15526
}

Semantic roles & 50–950 ramp

primary
#B530BB
secondary
#81C97D
accent
#E2454C
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140A14
muted
#837C82

Preview Lab

Preview with #B530BB

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

Preview Lab → · Contrast checker → · Palette generator →

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