#B237A6#B237A6

#B237A6 is a mid, highly saturated purple. Relative luminance 0.150; OKLCH L 55.7% C 0.200 H 332.1°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#B237A6
RGBrgb(178, 55, 166)
HSLhsl(306, 53%, 46%)
HSVhsv(306, 69%, 70%)
CMYKcmyk(0%, 69.1%, 6.7%, 30.2%)
CIE-LABlab(45.57, 61.71, -34.10)
CIE-LCHlch(45.57, 70.50, 331.07°)
OKLaboklab(55.71% 0.177 -0.0936)
OKLCHoklch(55.71% 0.2 332.1)
XYZxyz(26.6093, 14.9526, 37.5537)
Luminance0.1495 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B237A6 #37B243
analogous
#8037B2 #B237A6 #B23768
triadic
#B237A6 #A6B237 #37A6B2
tetradic
#B237A6 #B28037 #37B243 #3768B2
square
#B237A6 #B28037 #37B243 #3768B2
split-complementary
#B237A6 #68B237 #37B280
monochromatic
#541A4F #83297A #B237A6 #CC5AC1 #DB89D3

Accessibility & contrast

On white

5.26
#B237A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#B237A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B237A6
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B237A6#FFFFFF#000000##FFFFFF
##B237A61.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3061A9
Deuteranopia (green-blind)
#5D72A3
Tritanopia (blue-blind)
#B9436A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b237a6;
/* rgb */ color: rgb(178, 55, 166);
/* oklch */ color: oklch(55.7% 0.200 332.1);
Tailwind
colors: {
  custom: {
    50: '#cc78c1',
    500: '#b237a6',
    950: '#000000',
  },
}
SCSS
$custom: #b237a6;
$custom-light: #cc78c1;
$custom-dark: #000000;
JSON
{
  "hex": "#b237a6",
  "rgb": {
    "r": 178,
    "g": 55,
    "b": 166
  },
  "hsl": {
    "h": 305.854,
    "s": 52.79,
    "l": 45.686
  },
  "oklch": {
    "l": 0.55705,
    "c": 0.20021,
    "h": 332.1
  },
  "luminance": 0.14951
}

Semantic roles & 50–950 ramp

primary
#B237A6
secondary
#80C587
accent
#DC5A4C
background
#FDF7FB
surface
#FAEEF7
border
#D3C9D0
text
#140A12
muted
#837C81

Preview Lab

Preview with #B237A6

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

Preview Lab → · Contrast checker → · Palette generator →

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