#B2289E#B2289E

#B2289E is a mid, highly saturated purple. Relative luminance 0.135; OKLCH L 54.0% C 0.211 H 334.9°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#B2289E
RGBrgb(178, 40, 158)
HSLhsl(309, 63%, 43%)
HSVhsv(309, 78%, 70%)
CMYKcmyk(0%, 77.5%, 11.2%, 30.2%)
CIE-LABlab(43.44, 65.39, -32.68)
CIE-LCHlch(43.44, 73.11, 333.45°)
OKLaboklab(54.04% 0.1908 -0.0894)
OKLCHoklch(54.04% 0.211 334.9)
XYZxyz(25.2908, 13.4535, 33.6059)
Luminance0.1345 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2289E #28B23C
analogous
#8128B2 #B2289E #B22859
triadic
#B2289E #9EB228 #289EB2
tetradic
#B2289E #B28128 #28B23C #2859B2
square
#B2289E #B28128 #28B23C #2859B2
split-complementary
#B2289E #59B228 #28B281
monochromatic
#4E1245 #801D72 #B2289E #D543BF #E075D0

Accessibility & contrast

On white

5.69
#B2289E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#B2289E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B2289E
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2289E#FFFFFF#000000##FFFFFF
##B2289E1.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#275AA1
Deuteranopia (green-blind)
#5B6E9B
Tritanopia (blue-blind)
#BB3561
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b2289e;
/* rgb */ color: rgb(178, 40, 158);
/* oklch */ color: oklch(54.0% 0.211 334.9);
Tailwind
colors: {
  custom: {
    50: '#cd72bb',
    500: '#b2289e',
    950: '#000000',
  },
}
SCSS
$custom: #b2289e;
$custom-light: #cd72bb;
$custom-dark: #000000;
JSON
{
  "hex": "#b2289e",
  "rgb": {
    "r": 178,
    "g": 40,
    "b": 158
  },
  "hsl": {
    "h": 308.696,
    "s": 63.303,
    "l": 42.745
  },
  "oklch": {
    "l": 0.5404,
    "c": 0.21074,
    "h": 334.9
  },
  "luminance": 0.13451
}

Semantic roles & 50–950 ramp

primary
#B2289E
secondary
#6FC77B
accent
#E65941
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B2289E

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

Preview Lab → · Contrast checker → · Palette generator →

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