#B237BC#B237BC

#B237BC is a mid, highly saturated purple. Relative luminance 0.158; OKLCH L 56.9% C 0.218 H 324.7°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#B237BC
RGBrgb(178, 55, 188)
HSLhsl(295, 55%, 48%)
HSVhsv(295, 71%, 74%)
CMYKcmyk(5.3%, 70.7%, 0%, 26.3%)
CIE-LABlab(46.75, 65.36, -45.18)
CIE-LCHlch(46.75, 79.46, 325.35°)
OKLaboklab(56.94% 0.1775 -0.1257)
OKLCHoklch(56.94% 0.218 324.7)
XYZxyz(28.8027, 15.8300, 49.1056)
Luminance0.1583 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B237BC #41BC37
analogous
#7037BC #B237BC #BC3783
triadic
#B237BC #BCB237 #37BCB2
tetradic
#B237BC #BC7037 #41BC37 #3783BC
square
#B237BC #BC7037 #41BC37 #3783BC
split-complementary
#B237BC #83BC37 #37BC70
monochromatic
#581B5D #85298D #B237BC #C860D0 #D88FDE

Accessibility & contrast

On white

5.04
#B237BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B237BC
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B237BC#FFFFFF#000000##FFFFFF
##B237BC1.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1065C0
Deuteranopia (green-blind)
#5174B9
Tritanopia (blue-blind)
#B64D76
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #b237bc;
/* rgb */ color: rgb(178, 55, 188);
/* oklch */ color: oklch(56.9% 0.218 324.7);
Tailwind
colors: {
  custom: {
    50: '#cd79d1',
    500: '#b237bc',
    950: '#000000',
  },
}
SCSS
$custom: #b237bc;
$custom-light: #cd79d1;
$custom-dark: #000000;
JSON
{
  "hex": "#b237bc",
  "rgb": {
    "r": 178,
    "g": 55,
    "b": 188
  },
  "hsl": {
    "h": 295.489,
    "s": 54.733,
    "l": 47.647
  },
  "oklch": {
    "l": 0.56937,
    "c": 0.21755,
    "h": 324.7
  },
  "luminance": 0.15828
}

Semantic roles & 50–950 ramp

primary
#B237BC
secondary
#8BC986
accent
#DE4A55
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140A14
muted
#837C82

Preview Lab

Preview with #B237BC

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

Preview Lab → · Contrast checker → · Palette generator →

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