#B2259E#B2259E

#B2259E is a mid, highly saturated purple. Relative luminance 0.133; OKLCH L 53.8% C 0.214 H 334.9°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#B2259E
RGBrgb(178, 37, 158)
HSLhsl(309, 66%, 42%)
HSVhsv(309, 79%, 70%)
CMYKcmyk(0%, 79.2%, 11.2%, 30.2%)
CIE-LABlab(43.15, 66.22, -33.13)
CIE-LCHlch(43.15, 74.05, 333.42°)
OKLaboklab(53.83% 0.1933 -0.0907)
OKLCHoklch(53.83% 0.214 334.9)
XYZxyz(25.1936, 13.2590, 33.5735)
Luminance0.1326 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2259E #25B239
analogous
#8025B2 #B2259E #B22557
triadic
#B2259E #9EB225 #259EB2
tetradic
#B2259E #B28025 #25B239 #2557B2
square
#B2259E #B28025 #25B239 #2557B2
split-complementary
#B2259E #57B225 #25B280
monochromatic
#4D1044 #7F1A71 #B2259E #D73DC1 #E170D1

Accessibility & contrast

On white

5.75
#B2259E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#B2259E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B2259E
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2259E#FFFFFF#000000##FFFFFF
##B2259E1.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2459A1
Deuteranopia (green-blind)
#5A6D9B
Tritanopia (blue-blind)
#BB3361
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b2259e;
/* rgb */ color: rgb(178, 37, 158);
/* oklch */ color: oklch(53.8% 0.214 334.9);
Tailwind
colors: {
  custom: {
    50: '#cd71bb',
    500: '#b2259e',
    950: '#000000',
  },
}
SCSS
$custom: #b2259e;
$custom-light: #cd71bb;
$custom-dark: #000000;
JSON
{
  "hex": "#b2259e",
  "rgb": {
    "r": 178,
    "g": 37,
    "b": 158
  },
  "hsl": {
    "h": 308.511,
    "s": 65.581,
    "l": 42.157
  },
  "oklch": {
    "l": 0.53834,
    "c": 0.21351,
    "h": 334.9
  },
  "luminance": 0.13257
}

Semantic roles & 50–950 ramp

primary
#B2259E
secondary
#6BC878
accent
#E9573F
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B2259E

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

Preview Lab → · Contrast checker → · Palette generator →

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