#B0309C#B0309C

#B0309C is a mid, vivid purple. Relative luminance 0.137; OKLCH L 54.3% C 0.200 H 335.1°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#B0309C
RGBrgb(176, 48, 156)
HSLhsl(309, 57%, 44%)
HSVhsv(309, 73%, 69%)
CMYKcmyk(0%, 72.7%, 11.4%, 31%)
CIE-LABlab(43.87, 62.15, -30.83)
CIE-LCHlch(43.87, 69.38, 333.62°)
OKLaboklab(54.25% 0.1813 -0.0842)
OKLCHoklch(54.25% 0.2 335.1)
XYZxyz(24.9625, 13.7465, 32.7847)
Luminance0.1374 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0309C #30B044
analogous
#8430B0 #B0309C #B0305C
triadic
#B0309C #9CB030 #309CB0
tetradic
#B0309C #B08430 #30B044 #305CB0
square
#B0309C #B08430 #30B044 #305CB0
split-complementary
#B0309C #5CB030 #30B084
monochromatic
#501647 #802371 #B0309C #CF4EBB #DC7ECD

Accessibility & contrast

On white

5.60
#B0309C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#B0309C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B0309C
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0309C#FFFFFF#000000##FFFFFF
##B0309C1.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305C9F
Deuteranopia (green-blind)
#5D6E99
Tritanopia (blue-blind)
#B93A63
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b0309c;
/* rgb */ color: rgb(176, 48, 156);
/* oklch */ color: oklch(54.3% 0.200 335.1);
Tailwind
colors: {
  custom: {
    50: '#cb75b9',
    500: '#b0309c',
    950: '#000000',
  },
}
SCSS
$custom: #b0309c;
$custom-light: #cb75b9;
$custom-dark: #000000;
JSON
{
  "hex": "#b0309c",
  "rgb": {
    "r": 176,
    "g": 48,
    "b": 156
  },
  "hsl": {
    "h": 309.375,
    "s": 57.143,
    "l": 43.922
  },
  "oklch": {
    "l": 0.54251,
    "c": 0.19992,
    "h": 335.1
  },
  "luminance": 0.13744
}

Semantic roles & 50–950 ramp

primary
#B0309C
secondary
#77C583
accent
#E05F47
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140911
muted
#827B80

Preview Lab

Preview with #B0309C

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

Preview Lab → · Contrast checker → · Palette generator →

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