#B0339E#B0339E

#B0339E is a mid, vivid purple. Relative luminance 0.141; OKLCH L 54.6% C 0.198 H 334.4°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#B0339E
RGBrgb(176, 51, 158)
HSLhsl(309, 55%, 45%)
HSVhsv(309, 71%, 69%)
CMYKcmyk(0%, 71%, 10.2%, 31%)
CIE-LABlab(44.33, 61.42, -31.30)
CIE-LCHlch(44.33, 68.94, 332.99°)
OKLaboklab(54.62% 0.1785 -0.0856)
OKLCHoklch(54.62% 0.198 334.4)
XYZxyz(25.2601, 14.0685, 33.7262)
Luminance0.1407 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0339E #33B045
analogous
#8433B0 #B0339E #B03360
triadic
#B0339E #9EB033 #339EB0
tetradic
#B0339E #B08433 #33B045 #3360B0
square
#B0339E #B08433 #33B045 #3360B0
split-complementary
#B0339E #60B033 #33B084
monochromatic
#511849 #812573 #B0339E #CD53BC #DB82CE

Accessibility & contrast

On white

5.51
#B0339E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#B0339E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B0339E
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0339E#FFFFFF#000000##FFFFFF
##B0339E1.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315DA1
Deuteranopia (green-blind)
#5D6F9B
Tritanopia (blue-blind)
#B83D65
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b0339e;
/* rgb */ color: rgb(176, 51, 158);
/* oklch */ color: oklch(54.6% 0.198 334.4);
Tailwind
colors: {
  custom: {
    50: '#cb76bb',
    500: '#b0339e',
    950: '#000000',
  },
}
SCSS
$custom: #b0339e;
$custom-light: #cb76bb;
$custom-dark: #000000;
JSON
{
  "hex": "#b0339e",
  "rgb": {
    "r": 176,
    "g": 51,
    "b": 158
  },
  "hsl": {
    "h": 308.64,
    "s": 55.066,
    "l": 44.51
  },
  "oklch": {
    "l": 0.54618,
    "c": 0.19791,
    "h": 334.4
  },
  "luminance": 0.14066
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B0339E

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

Preview Lab → · Contrast checker → · Palette generator →

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