#B237BD#B237BD

#B237BD is a mid, highly saturated purple. Relative luminance 0.159; OKLCH L 57.0% C 0.218 H 324.4°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#B237BD
RGBrgb(178, 55, 189)
HSLhsl(295, 55%, 48%)
HSVhsv(295, 71%, 74%)
CMYKcmyk(5.8%, 70.9%, 0%, 25.9%)
CIE-LABlab(46.81, 65.54, -45.68)
CIE-LCHlch(46.81, 79.88, 325.13°)
OKLaboklab(57% 0.1775 -0.1272)
OKLCHoklch(57% 0.218 324.4)
XYZxyz(28.9108, 15.8733, 49.6753)
Luminance0.1587 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B237BD #42BD37
analogous
#6F37BD #B237BD #BD3785
triadic
#B237BD #BDB237 #37BDB2
tetradic
#B237BD #BD6F37 #42BD37 #3785BD
square
#B237BD #BD6F37 #42BD37 #3785BD
split-complementary
#B237BD #85BD37 #37BD6F
monochromatic
#591B5E #85298E #B237BD #C860D1 #D890DF

Accessibility & contrast

On white

5.03
#B237BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#B237BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B237BD
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B237BD#FFFFFF#000000##FFFFFF
##B237BD1.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C66C1
Deuteranopia (green-blind)
#5074BA
Tritanopia (blue-blind)
#B64E77
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #b237bd;
/* rgb */ color: rgb(178, 55, 189);
/* oklch */ color: oklch(57.0% 0.218 324.4);
Tailwind
colors: {
  custom: {
    50: '#cd79d1',
    500: '#b237bd',
    950: '#000000',
  },
}
SCSS
$custom: #b237bd;
$custom-light: #cd79d1;
$custom-dark: #000000;
JSON
{
  "hex": "#b237bd",
  "rgb": {
    "r": 178,
    "g": 55,
    "b": 189
  },
  "hsl": {
    "h": 295.075,
    "s": 54.918,
    "l": 47.843
  },
  "oklch": {
    "l": 0.56996,
    "c": 0.21836,
    "h": 324.4
  },
  "luminance": 0.15871
}

Semantic roles & 50–950 ramp

primary
#B237BD
secondary
#8CC986
accent
#DE4A56
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140A14
muted
#837C82

Preview Lab

Preview with #B237BD

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

Preview Lab → · Contrast checker → · Palette generator →

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