#B237B6#B237B6

#B237B6 is a mid, highly saturated purple. Relative luminance 0.156; OKLCH L 56.6% C 0.213 H 326.6°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#B237B6
RGBrgb(178, 55, 182)
HSLhsl(298, 54%, 46%)
HSVhsv(298, 70%, 71%)
CMYKcmyk(2.2%, 69.8%, 0%, 28.6%)
CIE-LABlab(46.41, 64.34, -42.21)
CIE-LCHlch(46.41, 76.95, 326.73°)
OKLaboklab(56.59% 0.1776 -0.1171)
OKLCHoklch(56.59% 0.213 326.6)
XYZxyz(28.1693, 15.5766, 45.7698)
Luminance0.1557 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B237B6 #3BB637
analogous
#7337B6 #B237B6 #B6377B
triadic
#B237B6 #B6B237 #37B6B2
tetradic
#B237B6 #B67337 #3BB637 #377BB6
square
#B237B6 #B67337 #3BB637 #377BB6
split-complementary
#B237B6 #7BB637 #37B673
monochromatic
#561B58 #842987 #B237B6 #CA5CCE #DA8BDC

Accessibility & contrast

On white

5.10
#B237B6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#B237B6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B237B6
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B237B6#FFFFFF#000000##FFFFFF
##B237B61.005.104.115.10
#FFFFFF5.101.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D64BA
Deuteranopia (green-blind)
#5573B3
Tritanopia (blue-blind)
#B74B73
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b237b6;
/* rgb */ color: rgb(178, 55, 182);
/* oklch */ color: oklch(56.6% 0.213 326.6);
Tailwind
colors: {
  custom: {
    50: '#cd79cc',
    500: '#b237b6',
    950: '#000000',
  },
}
SCSS
$custom: #b237b6;
$custom-light: #cd79cc;
$custom-dark: #000000;
JSON
{
  "hex": "#b237b6",
  "rgb": {
    "r": 178,
    "g": 55,
    "b": 182
  },
  "hsl": {
    "h": 298.11,
    "s": 53.586,
    "l": 46.471
  },
  "oklch": {
    "l": 0.56587,
    "c": 0.21271,
    "h": 326.6
  },
  "luminance": 0.15575
}

Semantic roles & 50–950 ramp

primary
#B237B6
secondary
#85C682
accent
#DD4B4F
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140A13
muted
#837C82

Preview Lab

Preview with #B237B6

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

Preview Lab → · Contrast checker → · Palette generator →

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