#B237AC#B237AC

#B237AC is a mid, highly saturated purple. Relative luminance 0.152; OKLCH L 56.0% C 0.205 H 330.0°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#B237AC
RGBrgb(178, 55, 172)
HSLhsl(303, 53%, 46%)
HSVhsv(303, 69%, 70%)
CMYKcmyk(0%, 69.1%, 3.4%, 30.2%)
CIE-LABlab(45.88, 62.67, -37.17)
CIE-LCHlch(45.88, 72.87, 329.33°)
OKLaboklab(56.03% 0.1773 -0.1025)
OKLCHoklch(56.03% 0.205 330)
XYZxyz(27.1725, 15.1779, 40.5202)
Luminance0.1518 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B237AC #37B23D
analogous
#7A37B2 #B237AC #B2376E
triadic
#B237AC #ACB237 #37ACB2
tetradic
#B237AC #B27A37 #37B23D #376EB2
square
#B237AC #B27A37 #37B23D #376EB2
split-complementary
#B237AC #6EB237 #37B27A
monochromatic
#541A52 #83297F #B237AC #CC5AC7 #DB89D7

Accessibility & contrast

On white

5.20
#B237AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#B237AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B237AC
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B237AC#FFFFFF#000000##FFFFFF
##B237AC1.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A62AF
Deuteranopia (green-blind)
#5A73A9
Tritanopia (blue-blind)
#B9466D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b237ac;
/* rgb */ color: rgb(178, 55, 172);
/* oklch */ color: oklch(56.0% 0.205 330.0);
Tailwind
colors: {
  custom: {
    50: '#cc79c5',
    500: '#b237ac',
    950: '#000000',
  },
}
SCSS
$custom: #b237ac;
$custom-light: #cc79c5;
$custom-dark: #000000;
JSON
{
  "hex": "#b237ac",
  "rgb": {
    "r": 178,
    "g": 55,
    "b": 172
  },
  "hsl": {
    "h": 302.927,
    "s": 52.79,
    "l": 45.686
  },
  "oklch": {
    "l": 0.56027,
    "c": 0.20482,
    "h": 330
  },
  "luminance": 0.15176
}

Semantic roles & 50–950 ramp

primary
#B237AC
secondary
#80C584
accent
#DC534C
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A13
muted
#837C82

Preview Lab

Preview with #B237AC

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

Preview Lab → · Contrast checker → · Palette generator →

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