#B730A7#B730A7

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

Color values

HEX#B730A7
RGBrgb(183, 48, 167)
HSLhsl(307, 58%, 45%)
HSVhsv(307, 74%, 72%)
CMYKcmyk(0%, 73.8%, 8.7%, 28.2%)
CIE-LABlab(45.60, 65.44, -34.60)
CIE-LCHlch(45.60, 74.02, 332.13°)
OKLaboklab(55.9% 0.1892 -0.0949)
OKLCHoklch(55.9% 0.212 333.4)
XYZxyz(27.5606, 14.9735, 37.9904)
Luminance0.1497 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B730A7 #30B740
analogous
#8330B7 #B730A7 #B73063
triadic
#B730A7 #A7B730 #30A7B7
tetradic
#B730A7 #B78330 #30B740 #3063B7
square
#B730A7 #B78330 #30B740 #3063B7
split-complementary
#B730A7 #63B730 #30B783
monochromatic
#56174F #87237B #B730A7 #D252C3 #DE83D4

Accessibility & contrast

On white

5.26
#B730A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B730A7
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B730A7#FFFFFF#000000##FFFFFF
##B730A71.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b730a7;
/* rgb */ color: rgb(183, 48, 167);
/* oklch */ color: oklch(55.9% 0.212 333.4);
Tailwind
colors: {
  custom: {
    50: '#d076c1',
    500: '#b730a7',
    950: '#000000',
  },
}
SCSS
$custom: #b730a7;
$custom-light: #d076c1;
$custom-dark: #000000;
JSON
{
  "hex": "#b730a7",
  "rgb": {
    "r": 183,
    "g": 48,
    "b": 167
  },
  "hsl": {
    "h": 307.111,
    "s": 58.442,
    "l": 45.294
  },
  "oklch": {
    "l": 0.55901,
    "c": 0.21166,
    "h": 333.4
  },
  "luminance": 0.14971
}

Semantic roles & 50–950 ramp

primary
#B730A7
secondary
#7BC884
accent
#E25946
background
#FDF7FB
surface
#FAEEF7
border
#D3C9D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B730A7

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

Preview Lab → · Contrast checker → · Palette generator →

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