#B730A8#B730A8

#B730A8 is a mid, highly saturated purple. Relative luminance 0.150; OKLCH L 56.0% C 0.212 H 333.0°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#B730A8
RGBrgb(183, 48, 168)
HSLhsl(307, 58%, 45%)
HSVhsv(307, 74%, 72%)
CMYKcmyk(0%, 73.8%, 8.2%, 28.2%)
CIE-LABlab(45.65, 65.59, -35.11)
CIE-LCHlch(45.65, 74.39, 331.84°)
OKLaboklab(55.95% 0.1893 -0.0964)
OKLCHoklch(55.95% 0.212 333)
XYZxyz(27.6534, 15.0107, 38.4791)
Luminance0.1501 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B730A8 #30B73F
analogous
#8330B7 #B730A8 #B73064
triadic
#B730A8 #A8B730 #30A8B7
tetradic
#B730A8 #B78330 #30B73F #3064B7
square
#B730A8 #B78330 #30B73F #3064B7
split-complementary
#B730A8 #64B730 #30B783
monochromatic
#56174F #87237B #B730A8 #D252C4 #DE83D4

Accessibility & contrast

On white

5.25
#B730A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#B730A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B730A8
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B730A8#FFFFFF#000000##FFFFFF
##B730A81.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A60AB
Deuteranopia (green-blind)
#5D73A5
Tritanopia (blue-blind)
#BF3E69
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b730a8;
/* rgb */ color: rgb(183, 48, 168);
/* oklch */ color: oklch(56.0% 0.212 333.0);
Tailwind
colors: {
  custom: {
    50: '#d076c2',
    500: '#b730a8',
    950: '#000000',
  },
}
SCSS
$custom: #b730a8;
$custom-light: #d076c2;
$custom-dark: #000000;
JSON
{
  "hex": "#b730a8",
  "rgb": {
    "r": 183,
    "g": 48,
    "b": 168
  },
  "hsl": {
    "h": 306.667,
    "s": 58.442,
    "l": 45.294
  },
  "oklch": {
    "l": 0.55954,
    "c": 0.21238,
    "h": 333
  },
  "luminance": 0.15008
}

Semantic roles & 50–950 ramp

primary
#B730A8
secondary
#7BC884
accent
#E25746
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140912
muted
#837B81

Preview Lab

Preview with #B730A8

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

Preview Lab → · Contrast checker → · Palette generator →

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