#B236AE#B236AE

#B236AE is a mid, highly saturated purple. Relative luminance 0.152; OKLCH L 56.0% C 0.208 H 329.3°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#B236AE
RGBrgb(178, 54, 174)
HSLhsl(302, 53%, 45%)
HSVhsv(302, 70%, 70%)
CMYKcmyk(0%, 69.7%, 2.2%, 30.2%)
CIE-LABlab(45.85, 63.36, -38.39)
CIE-LCHlch(45.85, 74.08, 328.79°)
OKLaboklab(56.05% 0.1784 -0.106)
OKLCHoklch(56.05% 0.208 329.3)
XYZxyz(27.3190, 15.1613, 41.5237)
Luminance0.1516 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B236AE #36B23A
analogous
#7836B2 #B236AE #B23670
triadic
#B236AE #AEB236 #36AEB2
tetradic
#B236AE #B27836 #36B23A #3670B2
square
#B236AE #B27836 #36B23A #3670B2
split-complementary
#B236AE #70B236 #36B278
monochromatic
#541A52 #832880 #B236AE #CD59C9 #DB88D8

Accessibility & contrast

On white

5.21
#B236AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#B236AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B236AE
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B236AE#FFFFFF#000000##FFFFFF
##B236AE1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2762B1
Deuteranopia (green-blind)
#5972AB
Tritanopia (blue-blind)
#B8466E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b236ae;
/* rgb */ color: rgb(178, 54, 174);
/* oklch */ color: oklch(56.0% 0.208 329.3);
Tailwind
colors: {
  custom: {
    50: '#cd78c6',
    500: '#b236ae',
    950: '#000000',
  },
}
SCSS
$custom: #b236ae;
$custom-light: #cd78c6;
$custom-dark: #000000;
JSON
{
  "hex": "#b236ae",
  "rgb": {
    "r": 178,
    "g": 54,
    "b": 174
  },
  "hsl": {
    "h": 301.935,
    "s": 53.448,
    "l": 45.49
  },
  "oklch": {
    "l": 0.56045,
    "c": 0.20755,
    "h": 329.3
  },
  "luminance": 0.15159
}

Semantic roles & 50–950 ramp

primary
#B236AE
secondary
#7FC581
accent
#DD504B
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A13
muted
#837C82

Preview Lab

Preview with #B236AE

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

Preview Lab → · Contrast checker → · Palette generator →

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