#B3289E#B3289E

#B3289E is a mid, highly saturated purple. Relative luminance 0.136; OKLCH L 54.2% C 0.211 H 335.2°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#B3289E
RGBrgb(179, 40, 158)
HSLhsl(309, 63%, 43%)
HSVhsv(309, 78%, 70%)
CMYKcmyk(0%, 77.7%, 11.7%, 29.8%)
CIE-LABlab(43.61, 65.62, -32.39)
CIE-LCHlch(43.61, 73.18, 333.73°)
OKLaboklab(54.2% 0.1918 -0.0886)
OKLCHoklch(54.2% 0.211 335.2)
XYZxyz(25.5211, 13.5722, 33.6167)
Luminance0.1357 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3289E #28B33D
analogous
#8228B3 #B3289E #B32858
triadic
#B3289E #9EB328 #289EB3
tetradic
#B3289E #B38228 #28B33D #2858B3
square
#B3289E #B38228 #28B33D #2858B3
split-complementary
#B3289E #58B328 #28B382
monochromatic
#4F1246 #811D72 #B3289E #D543BF #E075D0

Accessibility & contrast

On white

5.65
#B3289E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#B3289E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B3289E
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3289E#FFFFFF#000000##FFFFFF
##B3289E1.005.653.715.65
#FFFFFF5.651.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285AA1
Deuteranopia (green-blind)
#5C6E9B
Tritanopia (blue-blind)
#BC3461
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b3289e;
/* rgb */ color: rgb(179, 40, 158);
/* oklch */ color: oklch(54.2% 0.211 335.2);
Tailwind
colors: {
  custom: {
    50: '#ce72bb',
    500: '#b3289e',
    950: '#000000',
  },
}
SCSS
$custom: #b3289e;
$custom-light: #ce72bb;
$custom-dark: #000000;
JSON
{
  "hex": "#b3289e",
  "rgb": {
    "r": 179,
    "g": 40,
    "b": 158
  },
  "hsl": {
    "h": 309.065,
    "s": 63.47,
    "l": 42.941
  },
  "oklch": {
    "l": 0.54198,
    "c": 0.21127,
    "h": 335.2
  },
  "luminance": 0.1357
}

Semantic roles & 50–950 ramp

primary
#B3289E
secondary
#6FC87D
accent
#E65A41
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B3289E

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

Preview Lab → · Contrast checker → · Palette generator →

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