#B236A6#B236A6

#B236A6 is a mid, highly saturated purple. Relative luminance 0.149; OKLCH L 55.6% C 0.201 H 332.1°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#B236A6
RGBrgb(178, 54, 166)
HSLhsl(306, 53%, 45%)
HSVhsv(306, 70%, 70%)
CMYKcmyk(0%, 69.7%, 6.7%, 30.2%)
CIE-LABlab(45.44, 62.07, -34.31)
CIE-LCHlch(45.44, 70.92, 331.07°)
OKLaboklab(55.61% 0.178 -0.0942)
OKLCHoklch(55.61% 0.201 332.1)
XYZxyz(26.5622, 14.8586, 37.5380)
Luminance0.1486 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B236A6 #36B242
analogous
#8036B2 #B236A6 #B23668
triadic
#B236A6 #A6B236 #36A6B2
tetradic
#B236A6 #B28036 #36B242 #3668B2
square
#B236A6 #B28036 #36B242 #3668B2
split-complementary
#B236A6 #68B236 #36B280
monochromatic
#541A4E #83287A #B236A6 #CD59C1 #DB88D3

Accessibility & contrast

On white

5.29
#B236A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#B236A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B236A6
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B236A6#FFFFFF#000000##FFFFFF
##B236A61.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F60A9
Deuteranopia (green-blind)
#5D72A3
Tritanopia (blue-blind)
#B9436A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b236a6;
/* rgb */ color: rgb(178, 54, 166);
/* oklch */ color: oklch(55.6% 0.201 332.1);
Tailwind
colors: {
  custom: {
    50: '#cd78c1',
    500: '#b236a6',
    950: '#000000',
  },
}
SCSS
$custom: #b236a6;
$custom-light: #cd78c1;
$custom-dark: #000000;
JSON
{
  "hex": "#b236a6",
  "rgb": {
    "r": 178,
    "g": 54,
    "b": 166
  },
  "hsl": {
    "h": 305.806,
    "s": 53.448,
    "l": 45.49
  },
  "oklch": {
    "l": 0.55612,
    "c": 0.20142,
    "h": 332.1
  },
  "luminance": 0.14856
}

Semantic roles & 50–950 ramp

primary
#B236A6
secondary
#7FC586
accent
#DD594B
background
#FDF7FB
surface
#FAEEF7
border
#D3C9D0
text
#140A12
muted
#837C81

Preview Lab

Preview with #B236A6

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

Preview Lab → · Contrast checker → · Palette generator →

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