#B236AC#B236AC

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

Color values

HEX#B236AC
RGBrgb(178, 54, 172)
HSLhsl(303, 53%, 45%)
HSVhsv(303, 70%, 70%)
CMYKcmyk(0%, 69.7%, 3.4%, 30.2%)
CIE-LABlab(45.75, 63.03, -37.38)
CIE-LCHlch(45.75, 73.28, 329.33°)
OKLaboklab(55.94% 0.1784 -0.1031)
OKLCHoklch(55.94% 0.206 330)
XYZxyz(27.1255, 15.0839, 40.5045)
Luminance0.1508 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B236AC #36B23C
analogous
#7A36B2 #B236AC #B2366E
triadic
#B236AC #ACB236 #36ACB2
tetradic
#B236AC #B27A36 #36B23C #366EB2
square
#B236AC #B27A36 #36B23C #366EB2
split-complementary
#B236AC #6EB236 #36B27A
monochromatic
#541A51 #83287F #B236AC #CD59C7 #DB88D7

Accessibility & contrast

On white

5.23
#B236AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B236AC
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B236AC#FFFFFF#000000##FFFFFF
##B236AC1.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2962AF
Deuteranopia (green-blind)
#5A72A9
Tritanopia (blue-blind)
#B9456D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b236ac;
/* rgb */ color: rgb(178, 54, 172);
/* oklch */ color: oklch(55.9% 0.206 330.0);
Tailwind
colors: {
  custom: {
    50: '#cd78c5',
    500: '#b236ac',
    950: '#000000',
  },
}
SCSS
$custom: #b236ac;
$custom-light: #cd78c5;
$custom-dark: #000000;
JSON
{
  "hex": "#b236ac",
  "rgb": {
    "r": 178,
    "g": 54,
    "b": 172
  },
  "hsl": {
    "h": 302.903,
    "s": 53.448,
    "l": 45.49
  },
  "oklch": {
    "l": 0.55935,
    "c": 0.20601,
    "h": 330
  },
  "luminance": 0.15082
}

Semantic roles & 50–950 ramp

primary
#B236AC
secondary
#7FC582
accent
#DD524B
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A13
muted
#837C82

Preview Lab

Preview with #B236AC

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

Preview Lab → · Contrast checker → · Palette generator →

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