#B3259C#B3259C

#B3259C is a mid, highly saturated purple. Relative luminance 0.133; OKLCH L 53.9% C 0.213 H 335.9°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#B3259C
RGBrgb(179, 37, 156)
HSLhsl(310, 66%, 42%)
HSVhsv(310, 79%, 70%)
CMYKcmyk(0%, 79.3%, 12.8%, 29.8%)
CIE-LABlab(43.23, 66.15, -31.80)
CIE-LCHlch(43.23, 73.40, 334.33°)
OKLaboklab(53.89% 0.1941 -0.0869)
OKLCHoklch(53.89% 0.213 335.9)
XYZxyz(25.2531, 13.3095, 32.6851)
Luminance0.1331 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3259C #25B33C
analogous
#8325B3 #B3259C #B32555
triadic
#B3259C #9CB325 #259CB3
tetradic
#B3259C #B38325 #25B33C #2555B3
square
#B3259C #B38325 #25B33C #2555B3
split-complementary
#B3259C #55B325 #25B383
monochromatic
#4E1044 #801B70 #B3259C #D73EBE #E271CF

Accessibility & contrast

On white

5.74
#B3259C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#B3259C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B3259C
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3259C#FFFFFF#000000##FFFFFF
##B3259C1.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27599F
Deuteranopia (green-blind)
#5B6E99
Tritanopia (blue-blind)
#BC3160
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b3259c;
/* rgb */ color: rgb(179, 37, 156);
/* oklch */ color: oklch(53.9% 0.213 335.9);
Tailwind
colors: {
  custom: {
    50: '#ce71b9',
    500: '#b3259c',
    950: '#000000',
  },
}
SCSS
$custom: #b3259c;
$custom-light: #ce71b9;
$custom-dark: #000000;
JSON
{
  "hex": "#b3259c",
  "rgb": {
    "r": 179,
    "g": 37,
    "b": 156
  },
  "hsl": {
    "h": 309.718,
    "s": 65.741,
    "l": 42.353
  },
  "oklch": {
    "l": 0.53888,
    "c": 0.21267,
    "h": 335.9
  },
  "luminance": 0.13307
}

Semantic roles & 50–950 ramp

primary
#B3259C
secondary
#6BC87A
accent
#E95B3F
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B3259C

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

Preview Lab → · Contrast checker → · Palette generator →

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