#B530BA#B530BA

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

Color values

HEX#B530BA
RGBrgb(181, 48, 186)
HSLhsl(298, 59%, 46%)
HSVhsv(298, 74%, 73%)
CMYKcmyk(2.7%, 74.2%, 0%, 27.1%)
CIE-LABlab(46.29, 68.02, -44.72)
CIE-LCHlch(46.29, 81.40, 326.68°)
OKLaboklab(56.67% 0.1874 -0.1243)
OKLCHoklch(56.67% 0.225 326.5)
XYZxyz(28.9754, 15.4848, 47.9076)
Luminance0.1548 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B530BA #35BA30
analogous
#7030BA #B530BA #BA307A
triadic
#B530BA #BAB530 #30BAB5
tetradic
#B530BA #BA7030 #35BA30 #307ABA
square
#B530BA #BA7030 #35BA30 #307ABA
split-complementary
#B530BA #7ABA30 #30BA70
monochromatic
#561759 #862389 #B530BA #CE54D3 #DC85DF

Accessibility & contrast

On white

5.13
#B530BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#B530BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B530BA
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B530BA#FFFFFF#000000##FFFFFF
##B530BA1.005.134.105.13
#FFFFFF5.131.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0363BE
Deuteranopia (green-blind)
#5173B7
Tritanopia (blue-blind)
#BA4773
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b530ba;
/* rgb */ color: rgb(181, 48, 186);
/* oklch */ color: oklch(56.7% 0.225 326.5);
Tailwind
colors: {
  custom: {
    50: '#cf77cf',
    500: '#b530ba',
    950: '#000000',
  },
}
SCSS
$custom: #b530ba;
$custom-light: #cf77cf;
$custom-dark: #000000;
JSON
{
  "hex": "#b530ba",
  "rgb": {
    "r": 181,
    "g": 48,
    "b": 186
  },
  "hsl": {
    "h": 297.826,
    "s": 58.974,
    "l": 45.882
  },
  "oklch": {
    "l": 0.56665,
    "c": 0.22485,
    "h": 326.5
  },
  "luminance": 0.15483
}

Semantic roles & 50–950 ramp

primary
#B530BA
secondary
#80C97D
accent
#E2464B
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140A14
muted
#837C82

Preview Lab

Preview with #B530BA

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

Preview Lab → · Contrast checker → · Palette generator →

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