#B3199F#B3199F

#B3199F is a mid, highly saturated purple. Relative luminance 0.128; OKLCH L 53.4% C 0.224 H 334.7°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#B3199F
RGBrgb(179, 25, 159)
HSLhsl(308, 75%, 40%)
HSVhsv(308, 86%, 70%)
CMYKcmyk(0%, 86%, 11.2%, 29.8%)
CIE-LABlab(42.44, 69.31, -34.85)
CIE-LCHlch(42.44, 77.58, 333.31°)
OKLaboklab(53.37% 0.2024 -0.0955)
OKLCHoklch(53.37% 0.224 334.7)
XYZxyz(25.1964, 12.7845, 33.9348)
Luminance0.1278 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3199F #19B32D
analogous
#7A19B3 #B3199F #B31952
triadic
#B3199F #9FB319 #199FB3
tetradic
#B3199F #B37A19 #19B32D #1952B3
square
#B3199F #B37A19 #19B32D #1952B3
split-complementary
#B3199F #52B319 #19B37A
monochromatic
#480A40 #7D126F #B3199F #E128C9 #E85ED7

Accessibility & contrast

On white

5.90
#B3199F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#B3199F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B3199F
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3199F#FFFFFF#000000##FFFFFF
##B3199F1.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1656A2
Deuteranopia (green-blind)
#576C9C
Tritanopia (blue-blind)
#BC2C5F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b3199f;
/* rgb */ color: rgb(179, 25, 159);
/* oklch */ color: oklch(53.4% 0.224 334.7);
Tailwind
colors: {
  custom: {
    50: '#ce6dbc',
    500: '#b3199f',
    950: '#000000',
  },
}
SCSS
$custom: #b3199f;
$custom-light: #ce6dbc;
$custom-dark: #000000;
JSON
{
  "hex": "#b3199f",
  "rgb": {
    "r": 179,
    "g": 25,
    "b": 159
  },
  "hsl": {
    "h": 307.792,
    "s": 75.49,
    "l": 40
  },
  "oklch": {
    "l": 0.53374,
    "c": 0.2238,
    "h": 334.7
  },
  "luminance": 0.12782
}

Semantic roles & 50–950 ramp

primary
#B3199F
secondary
#5BCC6A
accent
#F24E36
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140812
muted
#837B81

Preview Lab

Preview with #B3199F

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

Preview Lab → · Contrast checker → · Palette generator →

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