#B730B2#B730B2

#B730B2 is a mid, highly saturated purple. Relative luminance 0.154; OKLCH L 56.5% C 0.220 H 329.6°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#B730B2
RGBrgb(183, 48, 178)
HSLhsl(302, 58%, 45%)
HSVhsv(302, 74%, 72%)
CMYKcmyk(0%, 73.8%, 2.7%, 28.2%)
CIE-LABlab(46.17, 67.14, -40.19)
CIE-LCHlch(46.17, 78.25, 329.10°)
OKLaboklab(56.5% 0.1896 -0.111)
OKLCHoklch(56.5% 0.22 329.6)
XYZxyz(28.6211, 15.3977, 43.5755)
Luminance0.1540 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B730B2 #30B735
analogous
#7830B7 #B730B2 #B7306F
triadic
#B730B2 #B2B730 #30B2B7
tetradic
#B730B2 #B77830 #30B735 #306FB7
square
#B730B2 #B77830 #30B735 #306FB7
split-complementary
#B730B2 #6FB730 #30B778
monochromatic
#561754 #872383 #B730B2 #D252CD #DE83DB

Accessibility & contrast

On white

5.15
#B730B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#B730B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B730B2
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B730B2#FFFFFF#000000##FFFFFF
##B730B21.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D62B6
Deuteranopia (green-blind)
#5874AF
Tritanopia (blue-blind)
#BE436F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b730b2;
/* rgb */ color: rgb(183, 48, 178);
/* oklch */ color: oklch(56.5% 0.220 329.6);
Tailwind
colors: {
  custom: {
    50: '#d076c9',
    500: '#b730b2',
    950: '#000000',
  },
}
SCSS
$custom: #b730b2;
$custom-light: #d076c9;
$custom-dark: #000000;
JSON
{
  "hex": "#b730b2",
  "rgb": {
    "r": 183,
    "g": 48,
    "b": 178
  },
  "hsl": {
    "h": 302.222,
    "s": 58.442,
    "l": 45.294
  },
  "oklch": {
    "l": 0.56501,
    "c": 0.21972,
    "h": 329.6
  },
  "luminance": 0.15396
}

Semantic roles & 50–950 ramp

primary
#B730B2
secondary
#7BC87E
accent
#E24C46
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A13
muted
#837C82

Preview Lab

Preview with #B730B2

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

Preview Lab → · Contrast checker → · Palette generator →

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