#B237B9#B237B9

#B237B9 is a mid, highly saturated purple. Relative luminance 0.157; OKLCH L 56.8% C 0.215 H 325.6°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#B237B9
RGBrgb(178, 55, 185)
HSLhsl(297, 54%, 47%)
HSVhsv(297, 70%, 73%)
CMYKcmyk(3.8%, 70.3%, 0%, 27.5%)
CIE-LABlab(46.58, 64.85, -43.70)
CIE-LCHlch(46.58, 78.20, 326.02°)
OKLaboklab(56.76% 0.1776 -0.1214)
OKLCHoklch(56.76% 0.215 325.6)
XYZxyz(28.4826, 15.7020, 47.4201)
Luminance0.1570 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B237B9 #3EB937
analogous
#7137B9 #B237B9 #B9377F
triadic
#B237B9 #B9B237 #37B9B2
tetradic
#B237B9 #B97137 #3EB937 #377FB9
square
#B237B9 #B97137 #3EB937 #377FB9
split-complementary
#B237B9 #7FB937 #37B971
monochromatic
#571B5B #85298A #B237B9 #C95ECF #D98DDD

Accessibility & contrast

On white

5.07
#B237B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#B237B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B237B9
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B237B9#FFFFFF#000000##FFFFFF
##B237B91.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1765BD
Deuteranopia (green-blind)
#5374B6
Tritanopia (blue-blind)
#B64C74
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b237b9;
/* rgb */ color: rgb(178, 55, 185);
/* oklch */ color: oklch(56.8% 0.215 325.6);
Tailwind
colors: {
  custom: {
    50: '#cd79ce',
    500: '#b237b9',
    950: '#000000',
  },
}
SCSS
$custom: #b237b9;
$custom-light: #cd79ce;
$custom-dark: #000000;
JSON
{
  "hex": "#b237b9",
  "rgb": {
    "r": 178,
    "g": 55,
    "b": 185
  },
  "hsl": {
    "h": 296.769,
    "s": 54.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.5676,
    "c": 0.21512,
    "h": 325.6
  },
  "luminance": 0.157
}

Semantic roles & 50–950 ramp

primary
#B237B9
secondary
#88C884
accent
#DE4A52
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140A14
muted
#837C82

Preview Lab

Preview with #B237B9

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

Preview Lab → · Contrast checker → · Palette generator →

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