#B730A2#B730A2

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

Color values

HEX#B730A2
RGBrgb(183, 48, 162)
HSLhsl(309, 58%, 45%)
HSVhsv(309, 74%, 72%)
CMYKcmyk(0%, 73.8%, 11.5%, 28.2%)
CIE-LABlab(45.35, 64.69, -32.01)
CIE-LCHlch(45.35, 72.17, 333.67°)
OKLaboklab(55.64% 0.1888 -0.0875)
OKLCHoklch(55.64% 0.208 335.1)
XYZxyz(27.1073, 14.7922, 35.6029)
Luminance0.1479 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B730A2 #30B745
analogous
#8830B7 #B730A2 #B7305F
triadic
#B730A2 #A2B730 #30A2B7
tetradic
#B730A2 #B78830 #30B745 #305FB7
square
#B730A2 #B78830 #30B745 #305FB7
split-complementary
#B730A2 #5FB730 #30B788
monochromatic
#56174C #872377 #B730A2 #D252BE #DE83D0

Accessibility & contrast

On white

5.31
#B730A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#B730A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B730A2
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B730A2#FFFFFF#000000##FFFFFF
##B730A21.005.313.965.31
#FFFFFF5.311.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305FA5
Deuteranopia (green-blind)
#60729F
Tritanopia (blue-blind)
#C03B66
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b730a2;
/* rgb */ color: rgb(183, 48, 162);
/* oklch */ color: oklch(55.6% 0.208 335.1);
Tailwind
colors: {
  custom: {
    50: '#d076be',
    500: '#b730a2',
    950: '#000000',
  },
}
SCSS
$custom: #b730a2;
$custom-light: #d076be;
$custom-dark: #000000;
JSON
{
  "hex": "#b730a2",
  "rgb": {
    "r": 183,
    "g": 48,
    "b": 162
  },
  "hsl": {
    "h": 309.333,
    "s": 58.442,
    "l": 45.294
  },
  "oklch": {
    "l": 0.5564,
    "c": 0.20811,
    "h": 335.1
  },
  "luminance": 0.1479
}

Semantic roles & 50–950 ramp

primary
#B730A2
secondary
#7BC887
accent
#E25E46
background
#FDF7FB
surface
#FAEEF7
border
#D3C9D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B730A2

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

Preview Lab → · Contrast checker → · Palette generator →

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