#B2289F#B2289F

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

Color values

HEX#B2289F
RGBrgb(178, 40, 159)
HSLhsl(308, 63%, 43%)
HSVhsv(308, 78%, 70%)
CMYKcmyk(0%, 77.5%, 10.7%, 30.2%)
CIE-LABlab(43.49, 65.54, -33.20)
CIE-LCHlch(43.49, 73.47, 333.14°)
OKLaboklab(54.09% 0.1909 -0.0909)
OKLCHoklch(54.09% 0.211 334.5)
XYZxyz(25.3772, 13.4880, 34.0611)
Luminance0.1349 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2289F #28B23B
analogous
#8028B2 #B2289F #B2285A
triadic
#B2289F #9FB228 #289FB2
tetradic
#B2289F #B28028 #28B23B #285AB2
square
#B2289F #B28028 #28B23B #285AB2
split-complementary
#B2289F #5AB228 #28B280
monochromatic
#4E1246 #801D72 #B2289F #D543C1 #E075D1

Accessibility & contrast

On white

5.68
#B2289F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#B2289F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B2289F
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2289F#FFFFFF#000000##FFFFFF
##B2289F1.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265AA2
Deuteranopia (green-blind)
#5A6E9C
Tritanopia (blue-blind)
#BB3562
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b2289f;
/* rgb */ color: rgb(178, 40, 159);
/* oklch */ color: oklch(54.1% 0.211 334.5);
Tailwind
colors: {
  custom: {
    50: '#cd72bc',
    500: '#b2289f',
    950: '#000000',
  },
}
SCSS
$custom: #b2289f;
$custom-light: #cd72bc;
$custom-dark: #000000;
JSON
{
  "hex": "#b2289f",
  "rgb": {
    "r": 178,
    "g": 40,
    "b": 159
  },
  "hsl": {
    "h": 308.261,
    "s": 63.303,
    "l": 42.745
  },
  "oklch": {
    "l": 0.54093,
    "c": 0.21143,
    "h": 334.5
  },
  "luminance": 0.13486
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B2289F

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

Preview Lab → · Contrast checker → · Palette generator →

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