#B0399F#B0399F

#B0399F is a mid, vivid purple. Relative luminance 0.147; OKLCH L 55.2% C 0.191 H 334.1°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#B0399F
RGBrgb(176, 57, 159)
HSLhsl(309, 51%, 46%)
HSVhsv(309, 68%, 69%)
CMYKcmyk(0%, 67.6%, 9.7%, 31%)
CIE-LABlab(45.17, 59.36, -30.59)
CIE-LCHlch(45.17, 66.78, 332.74°)
OKLaboklab(55.24% 0.172 -0.0836)
OKLCHoklch(55.24% 0.191 334.1)
XYZxyz(25.6258, 14.6617, 34.2745)
Luminance0.1466 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0399F #39B04A
analogous
#8539B0 #B0399F #B03964
triadic
#B0399F #9FB039 #399FB0
tetradic
#B0399F #B08539 #39B04A #3964B0
square
#B0399F #B08539 #39B04A #3964B0
split-complementary
#B0399F #64B039 #39B085
monochromatic
#541B4B #822A75 #B0399F #CA5CBA #D98ACE

Accessibility & contrast

On white

5.34
#B0399F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#B0399F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B0399F
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0399F#FFFFFF#000000##FFFFFF
##B0399F1.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3760A2
Deuteranopia (green-blind)
#5F719C
Tritanopia (blue-blind)
#B84267
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b0399f;
/* rgb */ color: rgb(176, 57, 159);
/* oklch */ color: oklch(55.2% 0.191 334.1);
Tailwind
colors: {
  custom: {
    50: '#cb79bb',
    500: '#b0399f',
    950: '#000000',
  },
}
SCSS
$custom: #b0399f;
$custom-light: #cb79bb;
$custom-dark: #000000;
JSON
{
  "hex": "#b0399f",
  "rgb": {
    "r": 176,
    "g": 57,
    "b": 159
  },
  "hsl": {
    "h": 308.571,
    "s": 51.073,
    "l": 45.686
  },
  "oklch": {
    "l": 0.55239,
    "c": 0.19127,
    "h": 334.1
  },
  "luminance": 0.1466
}

Semantic roles & 50–950 ramp

primary
#B0399F
secondary
#81C48B
accent
#DB614D
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#140A12
muted
#827C81

Preview Lab

Preview with #B0399F

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

Preview Lab → · Contrast checker → · Palette generator →

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