#B237AE#B237AE

#B237AE is a mid, highly saturated purple. Relative luminance 0.153; OKLCH L 56.1% C 0.206 H 329.3°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#B237AE
RGBrgb(178, 55, 174)
HSLhsl(302, 53%, 46%)
HSVhsv(302, 69%, 70%)
CMYKcmyk(0%, 69.1%, 2.2%, 30.2%)
CIE-LABlab(45.98, 63.00, -38.19)
CIE-LCHlch(45.98, 73.67, 328.78°)
OKLaboklab(56.14% 0.1774 -0.1054)
OKLCHoklch(56.14% 0.206 329.3)
XYZxyz(27.3660, 15.2554, 41.5394)
Luminance0.1525 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B237AE #37B23B
analogous
#7837B2 #B237AE #B23770
triadic
#B237AE #AEB237 #37AEB2
tetradic
#B237AE #B27837 #37B23B #3770B2
square
#B237AE #B27837 #37B23B #3770B2
split-complementary
#B237AE #70B237 #37B278
monochromatic
#541A53 #832980 #B237AE #CC5AC8 #DB89D8

Accessibility & contrast

On white

5.18
#B237AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#B237AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B237AE
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B237AE#FFFFFF#000000##FFFFFF
##B237AE1.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2862B1
Deuteranopia (green-blind)
#5973AB
Tritanopia (blue-blind)
#B8476E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b237ae;
/* rgb */ color: rgb(178, 55, 174);
/* oklch */ color: oklch(56.1% 0.206 329.3);
Tailwind
colors: {
  custom: {
    50: '#cd79c6',
    500: '#b237ae',
    950: '#000000',
  },
}
SCSS
$custom: #b237ae;
$custom-light: #cd79c6;
$custom-dark: #000000;
JSON
{
  "hex": "#b237ae",
  "rgb": {
    "r": 178,
    "g": 55,
    "b": 174
  },
  "hsl": {
    "h": 301.951,
    "s": 52.79,
    "l": 45.686
  },
  "oklch": {
    "l": 0.56136,
    "c": 0.20637,
    "h": 329.3
  },
  "luminance": 0.15253
}

Semantic roles & 50–950 ramp

primary
#B237AE
secondary
#80C582
accent
#DC504C
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A13
muted
#837C82

Preview Lab

Preview with #B237AE

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

Preview Lab → · Contrast checker → · Palette generator →

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