#B730A6#B730A6

#B730A6 is a mid, highly saturated purple. Relative luminance 0.149; OKLCH L 55.8% C 0.211 H 333.7°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#B730A6
RGBrgb(183, 48, 166)
HSLhsl(308, 58%, 45%)
HSVhsv(308, 74%, 72%)
CMYKcmyk(0%, 73.8%, 9.3%, 28.2%)
CIE-LABlab(45.55, 65.28, -34.08)
CIE-LCHlch(45.55, 73.64, 332.43°)
OKLaboklab(55.85% 0.1891 -0.0934)
OKLCHoklch(55.85% 0.211 333.7)
XYZxyz(27.4685, 14.9367, 37.5054)
Luminance0.1493 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B730A6 #30B741
analogous
#8530B7 #B730A6 #B73062
triadic
#B730A6 #A6B730 #30A6B7
tetradic
#B730A6 #B78530 #30B741 #3062B7
square
#B730A6 #B78530 #30B741 #3062B7
split-complementary
#B730A6 #62B730 #30B785
monochromatic
#56174E #87237A #B730A6 #D252C2 #DE83D3

Accessibility & contrast

On white

5.27
#B730A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#B730A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B730A6
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B730A6#FFFFFF#000000##FFFFFF
##B730A61.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5FA9
Deuteranopia (green-blind)
#5E73A3
Tritanopia (blue-blind)
#C03D68
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b730a6;
/* rgb */ color: rgb(183, 48, 166);
/* oklch */ color: oklch(55.8% 0.211 333.7);
Tailwind
colors: {
  custom: {
    50: '#d076c1',
    500: '#b730a6',
    950: '#000000',
  },
}
SCSS
$custom: #b730a6;
$custom-light: #d076c1;
$custom-dark: #000000;
JSON
{
  "hex": "#b730a6",
  "rgb": {
    "r": 183,
    "g": 48,
    "b": 166
  },
  "hsl": {
    "h": 307.556,
    "s": 58.442,
    "l": 45.294
  },
  "oklch": {
    "l": 0.55848,
    "c": 0.21095,
    "h": 333.7
  },
  "luminance": 0.14934
}

Semantic roles & 50–950 ramp

primary
#B730A6
secondary
#7BC885
accent
#E25A46
background
#FDF7FB
surface
#FAEEF7
border
#D3C9D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B730A6

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

Preview Lab → · Contrast checker → · Palette generator →

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