#B237BB#B237BB

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

Color values

HEX#B237BB
RGBrgb(178, 55, 187)
HSLhsl(296, 55%, 47%)
HSVhsv(296, 71%, 73%)
CMYKcmyk(4.8%, 70.6%, 0%, 26.7%)
CIE-LABlab(46.69, 65.19, -44.69)
CIE-LCHlch(46.69, 79.04, 325.57°)
OKLaboklab(56.88% 0.1776 -0.1243)
OKLCHoklch(56.88% 0.217 325)
XYZxyz(28.6952, 15.7870, 48.5399)
Luminance0.1578 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B237BB #40BB37
analogous
#7037BB #B237BB #BB3782
triadic
#B237BB #BBB237 #37BBB2
tetradic
#B237BB #BB7037 #40BB37 #3782BB
square
#B237BB #BB7037 #40BB37 #3782BB
split-complementary
#B237BB #82BB37 #37BB70
monochromatic
#581B5C #85298C #B237BB #C85FD0 #D88EDE

Accessibility & contrast

On white

5.05
#B237BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#B237BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B237BB
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B237BB#FFFFFF#000000##FFFFFF
##B237BB1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1265BF
Deuteranopia (green-blind)
#5174B8
Tritanopia (blue-blind)
#B64D76
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #b237bb;
/* rgb */ color: rgb(178, 55, 187);
/* oklch */ color: oklch(56.9% 0.217 325.0);
Tailwind
colors: {
  custom: {
    50: '#cd79d0',
    500: '#b237bb',
    950: '#000000',
  },
}
SCSS
$custom: #b237bb;
$custom-light: #cd79d0;
$custom-dark: #000000;
JSON
{
  "hex": "#b237bb",
  "rgb": {
    "r": 178,
    "g": 55,
    "b": 187
  },
  "hsl": {
    "h": 295.909,
    "s": 54.545,
    "l": 47.451
  },
  "oklch": {
    "l": 0.56878,
    "c": 0.21674,
    "h": 325
  },
  "luminance": 0.15785
}

Semantic roles & 50–950 ramp

primary
#B237BB
secondary
#8AC985
accent
#DE4A54
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140A14
muted
#837C82

Preview Lab

Preview with #B237BB

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

Preview Lab → · Contrast checker → · Palette generator →

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