#B237B7#B237B7

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

Color values

HEX#B237B7
RGBrgb(178, 55, 183)
HSLhsl(298, 54%, 47%)
HSVhsv(298, 70%, 72%)
CMYKcmyk(2.7%, 69.9%, 0%, 28.2%)
CIE-LABlab(46.47, 64.51, -42.71)
CIE-LCHlch(46.47, 77.36, 326.49°)
OKLaboklab(56.64% 0.1776 -0.1185)
OKLCHoklch(56.64% 0.214 326.3)
XYZxyz(28.2730, 15.6181, 46.3160)
Luminance0.1562 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B237B7 #3CB737
analogous
#7237B7 #B237B7 #B7377C
triadic
#B237B7 #B7B237 #37B7B2
tetradic
#B237B7 #B77237 #3CB737 #377CB7
square
#B237B7 #B77237 #3CB737 #377CB7
split-complementary
#B237B7 #7CB737 #37B772
monochromatic
#561B59 #842988 #B237B7 #CA5DCE #D98CDC

Accessibility & contrast

On white

5.09
#B237B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#B237B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B237B7
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B237B7#FFFFFF#000000##FFFFFF
##B237B71.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B64BB
Deuteranopia (green-blind)
#5473B4
Tritanopia (blue-blind)
#B74B73
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b237b7;
/* rgb */ color: rgb(178, 55, 183);
/* oklch */ color: oklch(56.6% 0.214 326.3);
Tailwind
colors: {
  custom: {
    50: '#cd79cd',
    500: '#b237b7',
    950: '#000000',
  },
}
SCSS
$custom: #b237b7;
$custom-light: #cd79cd;
$custom-dark: #000000;
JSON
{
  "hex": "#b237b7",
  "rgb": {
    "r": 178,
    "g": 55,
    "b": 183
  },
  "hsl": {
    "h": 297.656,
    "s": 53.782,
    "l": 46.667
  },
  "oklch": {
    "l": 0.56644,
    "c": 0.21351,
    "h": 326.3
  },
  "luminance": 0.15616
}

Semantic roles & 50–950 ramp

primary
#B237B7
secondary
#86C783
accent
#DD4B50
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140A13
muted
#837C82

Preview Lab

Preview with #B237B7

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

Preview Lab → · Contrast checker → · Palette generator →

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