#B0309E#B0309E

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

Color values

HEX#B0309E
RGBrgb(176, 48, 158)
HSLhsl(308, 57%, 44%)
HSVhsv(308, 73%, 69%)
CMYKcmyk(0%, 72.7%, 10.2%, 31%)
CIE-LABlab(43.97, 62.45, -31.87)
CIE-LCHlch(43.97, 70.12, 332.96°)
OKLaboklab(54.35% 0.1815 -0.0872)
OKLCHoklch(54.35% 0.201 334.3)
XYZxyz(25.1332, 13.8148, 33.6840)
Luminance0.1381 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0309E #30B042
analogous
#8230B0 #B0309E #B0305E
triadic
#B0309E #9EB030 #309EB0
tetradic
#B0309E #B08230 #30B042 #305EB0
square
#B0309E #B08230 #30B042 #305EB0
split-complementary
#B0309E #5EB030 #30B082
monochromatic
#501648 #802373 #B0309E #CF4EBD #DC7ECF

Accessibility & contrast

On white

5.58
#B0309E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B0309E
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0309E#FFFFFF#000000##FFFFFF
##B0309E1.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5CA1
Deuteranopia (green-blind)
#5C6F9B
Tritanopia (blue-blind)
#B83B64
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b0309e;
/* rgb */ color: rgb(176, 48, 158);
/* oklch */ color: oklch(54.4% 0.201 334.3);
Tailwind
colors: {
  custom: {
    50: '#cb75bb',
    500: '#b0309e',
    950: '#000000',
  },
}
SCSS
$custom: #b0309e;
$custom-light: #cb75bb;
$custom-dark: #000000;
JSON
{
  "hex": "#b0309e",
  "rgb": {
    "r": 176,
    "g": 48,
    "b": 158
  },
  "hsl": {
    "h": 308.438,
    "s": 57.143,
    "l": 43.922
  },
  "oklch": {
    "l": 0.54354,
    "c": 0.20136,
    "h": 334.3
  },
  "luminance": 0.13813
}

Semantic roles & 50–950 ramp

primary
#B0309E
secondary
#77C582
accent
#E05D47
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#140912
muted
#827B81

Preview Lab

Preview with #B0309E

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

Preview Lab → · Contrast checker → · Palette generator →

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