#B237AA#B237AA

#B237AA is a mid, highly saturated purple. Relative luminance 0.151; OKLCH L 55.9% C 0.203 H 330.7°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#B237AA
RGBrgb(178, 55, 170)
HSLhsl(304, 53%, 46%)
HSVhsv(304, 69%, 70%)
CMYKcmyk(0%, 69.1%, 4.5%, 30.2%)
CIE-LABlab(45.77, 62.35, -36.15)
CIE-LCHlch(45.77, 72.07, 329.89°)
OKLaboklab(55.92% 0.1772 -0.0995)
OKLCHoklch(55.92% 0.203 330.7)
XYZxyz(26.9819, 15.1017, 39.5162)
Luminance0.1510 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B237AA #37B23F
analogous
#7C37B2 #B237AA #B2376D
triadic
#B237AA #AAB237 #37AAB2
tetradic
#B237AA #B27C37 #37B23F #376DB2
square
#B237AA #B27C37 #37B23F #376DB2
split-complementary
#B237AA #6DB237 #37B27C
monochromatic
#541A51 #83297D #B237AA #CC5AC5 #DB89D5

Accessibility & contrast

On white

5.22
#B237AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#B237AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B237AA
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B237AA#FFFFFF#000000##FFFFFF
##B237AA1.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C62AD
Deuteranopia (green-blind)
#5B72A7
Tritanopia (blue-blind)
#B9456C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b237aa;
/* rgb */ color: rgb(178, 55, 170);
/* oklch */ color: oklch(55.9% 0.203 330.7);
Tailwind
colors: {
  custom: {
    50: '#cc79c4',
    500: '#b237aa',
    950: '#000000',
  },
}
SCSS
$custom: #b237aa;
$custom-light: #cc79c4;
$custom-dark: #000000;
JSON
{
  "hex": "#b237aa",
  "rgb": {
    "r": 178,
    "g": 55,
    "b": 170
  },
  "hsl": {
    "h": 303.902,
    "s": 52.79,
    "l": 45.686
  },
  "oklch": {
    "l": 0.55918,
    "c": 0.20327,
    "h": 330.7
  },
  "luminance": 0.151
}

Semantic roles & 50–950 ramp

primary
#B237AA
secondary
#80C585
accent
#DC554C
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A12
muted
#837C81

Preview Lab

Preview with #B237AA

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

Preview Lab → · Contrast checker → · Palette generator →

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