#B530BD#B530BD

#B530BD is a mid, highly saturated purple. Relative luminance 0.156; OKLCH L 56.8% C 0.227 H 325.5°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#B530BD
RGBrgb(181, 48, 189)
HSLhsl(297, 59%, 46%)
HSVhsv(297, 75%, 74%)
CMYKcmyk(4.2%, 74.6%, 0%, 25.9%)
CIE-LABlab(46.46, 68.52, -46.20)
CIE-LCHlch(46.46, 82.64, 326.01°)
OKLaboklab(56.84% 0.1873 -0.1286)
OKLCHoklch(56.84% 0.227 325.5)
XYZxyz(29.2977, 15.6137, 49.6049)
Luminance0.1561 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B530BD #38BD30
analogous
#6F30BD #B530BD #BD307F
triadic
#B530BD #BDB530 #30BDB5
tetradic
#B530BD #BD6F30 #38BD30 #307FBD
square
#B530BD #BD6F30 #38BD30 #307FBD
split-complementary
#B530BD #7FBD30 #30BD6F
monochromatic
#58175B #86248C #B530BD #CD56D4 #DB87E0

Accessibility & contrast

On white

5.09
#B530BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#B530BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B530BD
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B530BD#FFFFFF#000000##FFFFFF
##B530BD1.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C1
Deuteranopia (green-blind)
#4F74BA
Tritanopia (blue-blind)
#B94975
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b530bd;
/* rgb */ color: rgb(181, 48, 189);
/* oklch */ color: oklch(56.8% 0.227 325.5);
Tailwind
colors: {
  custom: {
    50: '#cf77d1',
    500: '#b530bd',
    950: '#000000',
  },
}
SCSS
$custom: #b530bd;
$custom-light: #cf77d1;
$custom-dark: #000000;
JSON
{
  "hex": "#b530bd",
  "rgb": {
    "r": 181,
    "g": 48,
    "b": 189
  },
  "hsl": {
    "h": 296.596,
    "s": 59.494,
    "l": 46.471
  },
  "oklch": {
    "l": 0.56843,
    "c": 0.22717,
    "h": 325.5
  },
  "luminance": 0.15612
}

Semantic roles & 50–950 ramp

primary
#B530BD
secondary
#83CA7F
accent
#E3454E
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140A14
muted
#837C82

Preview Lab

Preview with #B530BD

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

Preview Lab → · Contrast checker → · Palette generator →

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