#B237A0#B237A0

#B237A0 is a mid, vivid purple. Relative luminance 0.147; OKLCH L 55.4% C 0.196 H 334.4°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#B237A0
RGBrgb(178, 55, 160)
HSLhsl(309, 53%, 46%)
HSVhsv(309, 69%, 70%)
CMYKcmyk(0%, 69.1%, 10.1%, 30.2%)
CIE-LABlab(45.27, 60.77, -31.00)
CIE-LCHlch(45.27, 68.22, 332.97°)
OKLaboklab(55.39% 0.1764 -0.0847)
OKLCHoklch(55.39% 0.196 334.4)
XYZxyz(26.0717, 14.7376, 34.7224)
Luminance0.1474 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B237A0 #37B249
analogous
#8637B2 #B237A0 #B23763
triadic
#B237A0 #A0B237 #37A0B2
tetradic
#B237A0 #B28637 #37B249 #3763B2
square
#B237A0 #B28637 #37B249 #3763B2
split-complementary
#B237A0 #63B237 #37B286
monochromatic
#541A4C #832976 #B237A0 #CC5ABB #DB89CF

Accessibility & contrast

On white

5.32
#B237A0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#B237A0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B237A0
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B237A0#FFFFFF#000000##FFFFFF
##B237A01.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3560A3
Deuteranopia (green-blind)
#60729D
Tritanopia (blue-blind)
#BA4167
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b237a0;
/* rgb */ color: rgb(178, 55, 160);
/* oklch */ color: oklch(55.4% 0.196 334.4);
Tailwind
colors: {
  custom: {
    50: '#cc78bc',
    500: '#b237a0',
    950: '#000000',
  },
}
SCSS
$custom: #b237a0;
$custom-light: #cc78bc;
$custom-dark: #000000;
JSON
{
  "hex": "#b237a0",
  "rgb": {
    "r": 178,
    "g": 55,
    "b": 160
  },
  "hsl": {
    "h": 308.78,
    "s": 52.79,
    "l": 45.686
  },
  "oklch": {
    "l": 0.55394,
    "c": 0.19572,
    "h": 334.4
  },
  "luminance": 0.14735
}

Semantic roles & 50–950 ramp

primary
#B237A0
secondary
#80C58A
accent
#DC614C
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#140A12
muted
#837C81

Preview Lab

Preview with #B237A0

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

Preview Lab → · Contrast checker → · Palette generator →

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