#B237AD#B237AD

#B237AD is a mid, highly saturated purple. Relative luminance 0.152; OKLCH L 56.1% C 0.206 H 329.6°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#B237AD
RGBrgb(178, 55, 173)
HSLhsl(302, 53%, 46%)
HSVhsv(302, 69%, 70%)
CMYKcmyk(0%, 69.1%, 2.8%, 30.2%)
CIE-LABlab(45.93, 62.83, -37.68)
CIE-LCHlch(45.93, 73.27, 329.05°)
OKLaboklab(56.08% 0.1774 -0.104)
OKLCHoklch(56.08% 0.206 329.6)
XYZxyz(27.2689, 15.2165, 41.0279)
Luminance0.1521 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B237AD #37B23C
analogous
#7937B2 #B237AD #B2376F
triadic
#B237AD #ADB237 #37ADB2
tetradic
#B237AD #B27937 #37B23C #376FB2
square
#B237AD #B27937 #37B23C #376FB2
split-complementary
#B237AD #6FB237 #37B279
monochromatic
#541A52 #832980 #B237AD #CC5AC7 #DB89D7

Accessibility & contrast

On white

5.19
#B237AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B237AD
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B237AD#FFFFFF#000000##FFFFFF
##B237AD1.005.194.045.19
#FFFFFF5.191.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2962B0
Deuteranopia (green-blind)
#5A73AA
Tritanopia (blue-blind)
#B8476E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b237ad;
/* rgb */ color: rgb(178, 55, 173);
/* oklch */ color: oklch(56.1% 0.206 329.6);
Tailwind
colors: {
  custom: {
    50: '#cd79c6',
    500: '#b237ad',
    950: '#000000',
  },
}
SCSS
$custom: #b237ad;
$custom-light: #cd79c6;
$custom-dark: #000000;
JSON
{
  "hex": "#b237ad",
  "rgb": {
    "r": 178,
    "g": 55,
    "b": 173
  },
  "hsl": {
    "h": 302.439,
    "s": 52.79,
    "l": 45.686
  },
  "oklch": {
    "l": 0.56082,
    "c": 0.20559,
    "h": 329.6
  },
  "luminance": 0.15214
}

Semantic roles & 50–950 ramp

primary
#B237AD
secondary
#80C583
accent
#DC514C
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A13
muted
#837C82

Preview Lab

Preview with #B237AD

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

Preview Lab → · Contrast checker → · Palette generator →

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