#B237A4#B237A4

#B237A4 is a mid, vivid purple. Relative luminance 0.149; OKLCH L 55.6% C 0.199 H 332.9°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#B237A4
RGBrgb(178, 55, 164)
HSLhsl(307, 53%, 46%)
HSVhsv(307, 69%, 70%)
CMYKcmyk(0%, 69.1%, 7.9%, 30.2%)
CIE-LABlab(45.47, 61.39, -33.07)
CIE-LCHlch(45.47, 69.73, 331.69°)
OKLaboklab(55.6% 0.1768 -0.0907)
OKLCHoklch(55.6% 0.199 332.9)
XYZxyz(26.4272, 14.8798, 36.5950)
Luminance0.1488 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B237A4 #37B245
analogous
#8237B2 #B237A4 #B23766
triadic
#B237A4 #A4B237 #37A4B2
tetradic
#B237A4 #B28237 #37B245 #3766B2
square
#B237A4 #B28237 #37B245 #3766B2
split-complementary
#B237A4 #66B237 #37B282
monochromatic
#541A4E #832979 #B237A4 #CC5ABF #DB89D1

Accessibility & contrast

On white

5.28
#B237A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#B237A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B237A4
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B237A4#FFFFFF#000000##FFFFFF
##B237A41.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3260A7
Deuteranopia (green-blind)
#5E72A1
Tritanopia (blue-blind)
#BA4369
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b237a4;
/* rgb */ color: rgb(178, 55, 164);
/* oklch */ color: oklch(55.6% 0.199 332.9);
Tailwind
colors: {
  custom: {
    50: '#cc78bf',
    500: '#b237a4',
    950: '#000000',
  },
}
SCSS
$custom: #b237a4;
$custom-light: #cc78bf;
$custom-dark: #000000;
JSON
{
  "hex": "#b237a4",
  "rgb": {
    "r": 178,
    "g": 55,
    "b": 164
  },
  "hsl": {
    "h": 306.829,
    "s": 52.79,
    "l": 45.686
  },
  "oklch": {
    "l": 0.556,
    "c": 0.1987,
    "h": 332.9
  },
  "luminance": 0.14878
}

Semantic roles & 50–950 ramp

primary
#B237A4
secondary
#80C588
accent
#DC5C4C
background
#FDF7FB
surface
#FAEEF7
border
#D3C9D0
text
#140A12
muted
#837C81

Preview Lab

Preview with #B237A4

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

Preview Lab → · Contrast checker → · Palette generator →

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