#B2339F#B2339F

#B2339F is a mid, vivid purple. Relative luminance 0.143; OKLCH L 55.0% C 0.200 H 334.7°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#B2339F
RGBrgb(178, 51, 159)
HSLhsl(309, 55%, 45%)
HSVhsv(309, 71%, 70%)
CMYKcmyk(0%, 71.3%, 10.7%, 30.2%)
CIE-LABlab(44.71, 62.05, -31.28)
CIE-LCHlch(44.71, 69.49, 333.25°)
OKLaboklab(54.97% 0.1806 -0.0855)
OKLCHoklch(54.97% 0.2 334.7)
XYZxyz(25.8022, 14.3381, 34.2028)
Luminance0.1434 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2339F #33B246
analogous
#8533B2 #B2339F #B23360
triadic
#B2339F #9FB233 #339FB2
tetradic
#B2339F #B28533 #33B246 #3360B2
square
#B2339F #B28533 #33B246 #3360B2
split-complementary
#B2339F #60B233 #33B285
monochromatic
#53184A #822575 #B2339F #CE54BC #DC84CF

Accessibility & contrast

On white

5.43
#B2339F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#B2339F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B2339F
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2339F#FFFFFF#000000##FFFFFF
##B2339F1.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325EA2
Deuteranopia (green-blind)
#5E709C
Tritanopia (blue-blind)
#BB3D65
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b2339f;
/* rgb */ color: rgb(178, 51, 159);
/* oklch */ color: oklch(55.0% 0.200 334.7);
Tailwind
colors: {
  custom: {
    50: '#cd76bb',
    500: '#b2339f',
    950: '#000000',
  },
}
SCSS
$custom: #b2339f;
$custom-light: #cd76bb;
$custom-dark: #000000;
JSON
{
  "hex": "#b2339f",
  "rgb": {
    "r": 178,
    "g": 51,
    "b": 159
  },
  "hsl": {
    "h": 308.976,
    "s": 55.459,
    "l": 44.902
  },
  "oklch": {
    "l": 0.54974,
    "c": 0.19979,
    "h": 334.7
  },
  "luminance": 0.14336
}

Semantic roles & 50–950 ramp

primary
#B2339F
secondary
#7CC587
accent
#DF5F49
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B2339F

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

Preview Lab → · Contrast checker → · Palette generator →

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