#B730A1#B730A1

#B730A1 is a mid, highly saturated purple. Relative luminance 0.148; OKLCH L 55.6% C 0.207 H 335.5°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#B730A1
RGBrgb(183, 48, 161)
HSLhsl(310, 58%, 45%)
HSVhsv(310, 74%, 72%)
CMYKcmyk(0%, 73.8%, 12%, 28.2%)
CIE-LABlab(45.30, 64.54, -31.49)
CIE-LCHlch(45.30, 71.81, 333.99°)
OKLaboklab(55.59% 0.1888 -0.086)
OKLCHoklch(55.59% 0.207 335.5)
XYZxyz(27.0188, 14.7568, 35.1367)
Luminance0.1475 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B730A1 #30B746
analogous
#8A30B7 #B730A1 #B7305D
triadic
#B730A1 #A1B730 #30A1B7
tetradic
#B730A1 #B78A30 #30B746 #305DB7
square
#B730A1 #B78A30 #30B746 #305DB7
split-complementary
#B730A1 #5DB730 #30B78A
monochromatic
#56174C #872376 #B730A1 #D252BD #DE83D0

Accessibility & contrast

On white

5.32
#B730A1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#B730A1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B730A1
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B730A1#FFFFFF#000000##FFFFFF
##B730A11.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315EA4
Deuteranopia (green-blind)
#60729E
Tritanopia (blue-blind)
#C03A65
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b730a1;
/* rgb */ color: rgb(183, 48, 161);
/* oklch */ color: oklch(55.6% 0.207 335.5);
Tailwind
colors: {
  custom: {
    50: '#d076bd',
    500: '#b730a1',
    950: '#000000',
  },
}
SCSS
$custom: #b730a1;
$custom-light: #d076bd;
$custom-dark: #000000;
JSON
{
  "hex": "#b730a1",
  "rgb": {
    "r": 183,
    "g": 48,
    "b": 161
  },
  "hsl": {
    "h": 309.778,
    "s": 58.442,
    "l": 45.294
  },
  "oklch": {
    "l": 0.55589,
    "c": 0.20742,
    "h": 335.5
  },
  "luminance": 0.14754
}

Semantic roles & 50–950 ramp

primary
#B730A1
secondary
#7BC888
accent
#E25F46
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B730A1

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

Preview Lab → · Contrast checker → · Palette generator →

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