#B237A3#B237A3

#B237A3 is a mid, vivid purple. Relative luminance 0.148; OKLCH L 55.5% C 0.198 H 333.2°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#B237A3
RGBrgb(178, 55, 163)
HSLhsl(307, 53%, 46%)
HSVhsv(307, 69%, 70%)
CMYKcmyk(0%, 69.1%, 8.4%, 30.2%)
CIE-LABlab(45.42, 61.23, -32.56)
CIE-LCHlch(45.42, 69.35, 332.00°)
OKLaboklab(55.55% 0.1767 -0.0892)
OKLCHoklch(55.55% 0.198 333.2)
XYZxyz(26.3373, 14.8438, 36.1212)
Luminance0.1484 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B237A3 #37B246
analogous
#8337B2 #B237A3 #B23765
triadic
#B237A3 #A3B237 #37A3B2
tetradic
#B237A3 #B28337 #37B246 #3765B2
square
#B237A3 #B28337 #37B246 #3765B2
split-complementary
#B237A3 #65B237 #37B283
monochromatic
#541A4D #832978 #B237A3 #CC5ABE #DB89D1

Accessibility & contrast

On white

5.29
#B237A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#B237A3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B237A3
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B237A3#FFFFFF#000000##FFFFFF
##B237A31.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3360A6
Deuteranopia (green-blind)
#5E72A0
Tritanopia (blue-blind)
#BA4268
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b237a3;
/* rgb */ color: rgb(178, 55, 163);
/* oklch */ color: oklch(55.5% 0.198 333.2);
Tailwind
colors: {
  custom: {
    50: '#cc78be',
    500: '#b237a3',
    950: '#000000',
  },
}
SCSS
$custom: #b237a3;
$custom-light: #cc78be;
$custom-dark: #000000;
JSON
{
  "hex": "#b237a3",
  "rgb": {
    "r": 178,
    "g": 55,
    "b": 163
  },
  "hsl": {
    "h": 307.317,
    "s": 52.79,
    "l": 45.686
  },
  "oklch": {
    "l": 0.55548,
    "c": 0.19796,
    "h": 333.2
  },
  "luminance": 0.14842
}

Semantic roles & 50–950 ramp

primary
#B237A3
secondary
#80C589
accent
#DC5D4C
background
#FDF7FB
surface
#FAEEF7
border
#D3C9D0
text
#140A12
muted
#837C81

Preview Lab

Preview with #B237A3

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

Preview Lab → · Contrast checker → · Palette generator →

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