#B236A9#B236A9

#B236A9 is a mid, highly saturated purple. Relative luminance 0.150; OKLCH L 55.8% C 0.204 H 331.0°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#B236A9
RGBrgb(178, 54, 169)
HSLhsl(304, 53%, 45%)
HSVhsv(304, 70%, 70%)
CMYKcmyk(0%, 69.7%, 5.1%, 30.2%)
CIE-LABlab(45.59, 62.55, -35.85)
CIE-LCHlch(45.59, 72.09, 330.18°)
OKLaboklab(55.77% 0.1782 -0.0986)
OKLCHoklch(55.77% 0.204 331)
XYZxyz(26.8406, 14.9700, 39.0043)
Luminance0.1497 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B236A9 #36B23F
analogous
#7D36B2 #B236A9 #B2366B
triadic
#B236A9 #A9B236 #36A9B2
tetradic
#B236A9 #B27D36 #36B23F #366BB2
square
#B236A9 #B27D36 #36B23F #366BB2
split-complementary
#B236A9 #6BB236 #36B27D
monochromatic
#541A50 #83287C #B236A9 #CD59C4 #DB88D5

Accessibility & contrast

On white

5.26
#B236A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#B236A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B236A9
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B236A9#FFFFFF#000000##FFFFFF
##B236A91.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C61AC
Deuteranopia (green-blind)
#5B72A6
Tritanopia (blue-blind)
#B9446B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b236a9;
/* rgb */ color: rgb(178, 54, 169);
/* oklch */ color: oklch(55.8% 0.204 331.0);
Tailwind
colors: {
  custom: {
    50: '#cd78c3',
    500: '#b236a9',
    950: '#000000',
  },
}
SCSS
$custom: #b236a9;
$custom-light: #cd78c3;
$custom-dark: #000000;
JSON
{
  "hex": "#b236a9",
  "rgb": {
    "r": 178,
    "g": 54,
    "b": 169
  },
  "hsl": {
    "h": 304.355,
    "s": 53.448,
    "l": 45.49
  },
  "oklch": {
    "l": 0.55772,
    "c": 0.2037,
    "h": 331
  },
  "luminance": 0.14968
}

Semantic roles & 50–950 ramp

primary
#B236A9
secondary
#7FC584
accent
#DD564B
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A12
muted
#837C81

Preview Lab

Preview with #B236A9

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

Preview Lab → · Contrast checker → · Palette generator →

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