#B2339D#B2339D

#B2339D is a mid, vivid purple. Relative luminance 0.143; OKLCH L 54.9% C 0.198 H 335.4°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#B2339D
RGBrgb(178, 51, 157)
HSLhsl(310, 55%, 45%)
HSVhsv(310, 71%, 70%)
CMYKcmyk(0%, 71.3%, 11.8%, 30.2%)
CIE-LABlab(44.62, 61.75, -30.23)
CIE-LCHlch(44.62, 68.75, 333.91°)
OKLaboklab(54.87% 0.1804 -0.0825)
OKLCHoklch(54.87% 0.198 335.4)
XYZxyz(25.6301, 14.2692, 33.2961)
Luminance0.1427 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2339D #33B248
analogous
#8733B2 #B2339D #B2335E
triadic
#B2339D #9DB233 #339DB2
tetradic
#B2339D #B28733 #33B248 #335EB2
square
#B2339D #B28733 #33B248 #335EB2
split-complementary
#B2339D #5EB233 #33B287
monochromatic
#531849 #822573 #B2339D #CE54BA #DC84CD

Accessibility & contrast

On white

5.45
#B2339D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#B2339D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B2339D
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2339D#FFFFFF#000000##FFFFFF
##B2339D1.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335DA0
Deuteranopia (green-blind)
#5F709A
Tritanopia (blue-blind)
#BB3C64
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b2339d;
/* rgb */ color: rgb(178, 51, 157);
/* oklch */ color: oklch(54.9% 0.198 335.4);
Tailwind
colors: {
  custom: {
    50: '#cd76ba',
    500: '#b2339d',
    950: '#000000',
  },
}
SCSS
$custom: #b2339d;
$custom-light: #cd76ba;
$custom-dark: #000000;
JSON
{
  "hex": "#b2339d",
  "rgb": {
    "r": 178,
    "g": 51,
    "b": 157
  },
  "hsl": {
    "h": 309.921,
    "s": 55.459,
    "l": 44.902
  },
  "oklch": {
    "l": 0.54872,
    "c": 0.19835,
    "h": 335.4
  },
  "luminance": 0.14267
}

Semantic roles & 50–950 ramp

primary
#B2339D
secondary
#7CC588
accent
#DF6249
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B2339D

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

Preview Lab → · Contrast checker → · Palette generator →

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