#B0339F#B0339F

#B0339F is a mid, vivid purple. Relative luminance 0.141; OKLCH L 54.7% C 0.199 H 334.0°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#B0339F
RGBrgb(176, 51, 159)
HSLhsl(308, 55%, 45%)
HSVhsv(308, 71%, 69%)
CMYKcmyk(0%, 71%, 9.7%, 31%)
CIE-LABlab(44.38, 61.57, -31.82)
CIE-LCHlch(44.38, 69.31, 332.67°)
OKLaboklab(54.67% 0.1785 -0.0871)
OKLCHoklch(54.67% 0.199 334)
XYZxyz(25.3465, 14.1031, 34.1814)
Luminance0.1410 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0339F #33B044
analogous
#8333B0 #B0339F #B03361
triadic
#B0339F #9FB033 #339FB0
tetradic
#B0339F #B08333 #33B044 #3361B0
square
#B0339F #B08333 #33B044 #3361B0
split-complementary
#B0339F #61B033 #33B083
monochromatic
#511849 #812574 #B0339F #CD53BD #DB82CF

Accessibility & contrast

On white

5.50
#B0339F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#B0339F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B0339F
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0339F#FFFFFF#000000##FFFFFF
##B0339F1.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305DA2
Deuteranopia (green-blind)
#5D6F9C
Tritanopia (blue-blind)
#B83E65
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b0339f;
/* rgb */ color: rgb(176, 51, 159);
/* oklch */ color: oklch(54.7% 0.199 334.0);
Tailwind
colors: {
  custom: {
    50: '#cb76bc',
    500: '#b0339f',
    950: '#000000',
  },
}
SCSS
$custom: #b0339f;
$custom-light: #cb76bc;
$custom-dark: #000000;
JSON
{
  "hex": "#b0339f",
  "rgb": {
    "r": 176,
    "g": 51,
    "b": 159
  },
  "hsl": {
    "h": 308.16,
    "s": 55.066,
    "l": 44.51
  },
  "oklch": {
    "l": 0.54669,
    "c": 0.19864,
    "h": 334
  },
  "luminance": 0.14101
}

Semantic roles & 50–950 ramp

primary
#B0339F
secondary
#7BC485
accent
#DE5E49
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#140912
muted
#827B81

Preview Lab

Preview with #B0339F

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

Preview Lab → · Contrast checker → · Palette generator →

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