#B2389E#B2389E

#B2389E is a mid, vivid purple. Relative luminance 0.148; OKLCH L 55.4% C 0.193 H 335.1°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#B2389E
RGBrgb(178, 56, 158)
HSLhsl(310, 52%, 46%)
HSVhsv(310, 69%, 70%)
CMYKcmyk(0%, 68.5%, 11.2%, 30.2%)
CIE-LABlab(45.31, 60.09, -29.75)
CIE-LCHlch(45.31, 67.05, 333.66°)
OKLaboklab(55.39% 0.1751 -0.0811)
OKLCHoklch(55.39% 0.193 335.1)
XYZxyz(25.9461, 14.7641, 33.8244)
Luminance0.1476 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2389E #38B24C
analogous
#8938B2 #B2389E #B23861
triadic
#B2389E #9EB238 #389EB2
tetradic
#B2389E #B28938 #38B24C #3861B2
square
#B2389E #B28938 #38B24C #3861B2
split-complementary
#B2389E #61B238 #38B289
monochromatic
#551B4B #832975 #B2389E #CC5CB9 #DA8ACD

Accessibility & contrast

On white

5.31
#B2389E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#B2389E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B2389E
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2389E#FFFFFF#000000##FFFFFF
##B2389E1.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3860A1
Deuteranopia (green-blind)
#61729B
Tritanopia (blue-blind)
#BB4166
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b2389e;
/* rgb */ color: rgb(178, 56, 158);
/* oklch */ color: oklch(55.4% 0.193 335.1);
Tailwind
colors: {
  custom: {
    50: '#cc79bb',
    500: '#b2389e',
    950: '#000000',
  },
}
SCSS
$custom: #b2389e;
$custom-light: #cc79bb;
$custom-dark: #000000;
JSON
{
  "hex": "#b2389e",
  "rgb": {
    "r": 178,
    "g": 56,
    "b": 158
  },
  "hsl": {
    "h": 309.836,
    "s": 52.137,
    "l": 45.882
  },
  "oklch": {
    "l": 0.55389,
    "c": 0.19301,
    "h": 335.1
  },
  "luminance": 0.14762
}

Semantic roles & 50–950 ramp

primary
#B2389E
secondary
#81C58C
accent
#DC644C
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#140A12
muted
#837C81

Preview Lab

Preview with #B2389E

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

Preview Lab → · Contrast checker → · Palette generator →

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