#B0309D#B0309D

#B0309D is a mid, highly saturated purple. Relative luminance 0.138; OKLCH L 54.3% C 0.201 H 334.7°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#B0309D
RGBrgb(176, 48, 157)
HSLhsl(309, 57%, 44%)
HSVhsv(309, 73%, 69%)
CMYKcmyk(0%, 72.7%, 10.8%, 31%)
CIE-LABlab(43.92, 62.30, -31.35)
CIE-LCHlch(43.92, 69.75, 333.29°)
OKLaboklab(54.3% 0.1814 -0.0857)
OKLCHoklch(54.3% 0.201 334.7)
XYZxyz(25.0475, 13.7805, 33.2325)
Luminance0.1378 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0309D #30B043
analogous
#8330B0 #B0309D #B0305D
triadic
#B0309D #9DB030 #309DB0
tetradic
#B0309D #B08330 #30B043 #305DB0
square
#B0309D #B08330 #30B043 #305DB0
split-complementary
#B0309D #5DB030 #30B083
monochromatic
#501647 #802372 #B0309D #CF4EBC #DC7ECE

Accessibility & contrast

On white

5.59
#B0309D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#B0309D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B0309D
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0309D#FFFFFF#000000##FFFFFF
##B0309D1.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5CA0
Deuteranopia (green-blind)
#5C6F9A
Tritanopia (blue-blind)
#B93B63
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b0309d;
/* rgb */ color: rgb(176, 48, 157);
/* oklch */ color: oklch(54.3% 0.201 334.7);
Tailwind
colors: {
  custom: {
    50: '#cb75ba',
    500: '#b0309d',
    950: '#000000',
  },
}
SCSS
$custom: #b0309d;
$custom-light: #cb75ba;
$custom-dark: #000000;
JSON
{
  "hex": "#b0309d",
  "rgb": {
    "r": 176,
    "g": 48,
    "b": 157
  },
  "hsl": {
    "h": 308.906,
    "s": 57.143,
    "l": 43.922
  },
  "oklch": {
    "l": 0.54303,
    "c": 0.20064,
    "h": 334.7
  },
  "luminance": 0.13778
}

Semantic roles & 50–950 ramp

primary
#B0309D
secondary
#77C583
accent
#E05E47
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#140911
muted
#827B80

Preview Lab

Preview with #B0309D

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

Preview Lab → · Contrast checker → · Palette generator →

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