#B2399F#B2399F

#B2399F is a mid, vivid purple. Relative luminance 0.149; OKLCH L 55.5% C 0.192 H 334.8°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#B2399F
RGBrgb(178, 57, 159)
HSLhsl(309, 51%, 46%)
HSVhsv(309, 68%, 70%)
CMYKcmyk(0%, 68%, 10.7%, 30.2%)
CIE-LABlab(45.49, 59.86, -30.06)
CIE-LCHlch(45.49, 66.98, 333.34°)
OKLaboklab(55.54% 0.1741 -0.082)
OKLCHoklch(55.54% 0.192 334.8)
XYZxyz(26.0815, 14.8966, 34.2959)
Luminance0.1489 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2399F #39B24C
analogous
#8839B2 #B2399F #B23963
triadic
#B2399F #9FB239 #399FB2
tetradic
#B2399F #B28839 #39B24C #3963B2
square
#B2399F #B28839 #39B24C #3963B2
split-complementary
#B2399F #63B239 #39B288
monochromatic
#551B4C #842A76 #B2399F #CB5DBA #DA8BCE

Accessibility & contrast

On white

5.28
#B2399F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#B2399F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B2399F
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2399F#FFFFFF#000000##FFFFFF
##B2399F1.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3860A2
Deuteranopia (green-blind)
#61729C
Tritanopia (blue-blind)
#BA4267
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b2399f;
/* rgb */ color: rgb(178, 57, 159);
/* oklch */ color: oklch(55.5% 0.192 334.8);
Tailwind
colors: {
  custom: {
    50: '#cc79bb',
    500: '#b2399f',
    950: '#000000',
  },
}
SCSS
$custom: #b2399f;
$custom-light: #cc79bb;
$custom-dark: #000000;
JSON
{
  "hex": "#b2399f",
  "rgb": {
    "r": 178,
    "g": 57,
    "b": 159
  },
  "hsl": {
    "h": 309.421,
    "s": 51.489,
    "l": 46.078
  },
  "oklch": {
    "l": 0.55538,
    "c": 0.19248,
    "h": 334.8
  },
  "luminance": 0.14894
}

Semantic roles & 50–950 ramp

primary
#B2399F
secondary
#82C48D
accent
#DB634D
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#140A12
muted
#837C81

Preview Lab

Preview with #B2399F

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

Preview Lab → · Contrast checker → · Palette generator →

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