#B237B4#B237B4

#B237B4 is a mid, highly saturated purple. Relative luminance 0.155; OKLCH L 56.5% C 0.211 H 327.3°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#B237B4
RGBrgb(178, 55, 180)
HSLhsl(299, 53%, 46%)
HSVhsv(299, 69%, 71%)
CMYKcmyk(1.1%, 69.4%, 0%, 29.4%)
CIE-LABlab(46.30, 64.00, -41.21)
CIE-LCHlch(46.30, 76.12, 327.22°)
OKLaboklab(56.47% 0.1776 -0.1142)
OKLCHoklch(56.47% 0.211 327.3)
XYZxyz(27.9641, 15.4946, 44.6890)
Luminance0.1549 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B237B4 #39B437
analogous
#7337B4 #B237B4 #B43777
triadic
#B237B4 #B4B237 #37B4B2
tetradic
#B237B4 #B47337 #39B437 #3777B4
square
#B237B4 #B47337 #39B437 #3777B4
split-complementary
#B237B4 #77B437 #37B473
monochromatic
#551A56 #842985 #B237B4 #CB5BCD #DA8ADB

Accessibility & contrast

On white

5.12
#B237B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#B237B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B237B4
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B237B4#FFFFFF#000000##FFFFFF
##B237B41.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2064B8
Deuteranopia (green-blind)
#5673B1
Tritanopia (blue-blind)
#B74A72
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b237b4;
/* rgb */ color: rgb(178, 55, 180);
/* oklch */ color: oklch(56.5% 0.211 327.3);
Tailwind
colors: {
  custom: {
    50: '#cd79cb',
    500: '#b237b4',
    950: '#000000',
  },
}
SCSS
$custom: #b237b4;
$custom-light: #cd79cb;
$custom-dark: #000000;
JSON
{
  "hex": "#b237b4",
  "rgb": {
    "r": 178,
    "g": 55,
    "b": 180
  },
  "hsl": {
    "h": 299.04,
    "s": 53.191,
    "l": 46.078
  },
  "oklch": {
    "l": 0.56472,
    "c": 0.21111,
    "h": 327.3
  },
  "luminance": 0.15493
}

Semantic roles & 50–950 ramp

primary
#B237B4
secondary
#82C681
accent
#DD4B4E
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A13
muted
#837C82

Preview Lab

Preview with #B237B4

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

Preview Lab → · Contrast checker → · Palette generator →

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