#B236BC#B236BC

#B236BC is a mid, highly saturated purple. Relative luminance 0.157; OKLCH L 56.8% C 0.219 H 324.7°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#B236BC
RGBrgb(178, 54, 188)
HSLhsl(296, 55%, 47%)
HSVhsv(296, 71%, 74%)
CMYKcmyk(5.3%, 71.3%, 0%, 26.3%)
CIE-LABlab(46.63, 65.72, -45.38)
CIE-LCHlch(46.63, 79.86, 325.37°)
OKLaboklab(56.85% 0.1785 -0.1263)
OKLCHoklch(56.85% 0.219 324.7)
XYZxyz(28.7556, 15.7360, 49.0899)
Luminance0.1573 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B236BC #40BC36
analogous
#6F36BC #B236BC #BC3683
triadic
#B236BC #BCB236 #36BCB2
tetradic
#B236BC #BC6F36 #40BC36 #3683BC
square
#B236BC #BC6F36 #40BC36 #3683BC
split-complementary
#B236BC #83BC36 #36BC6F
monochromatic
#581B5D #85288C #B236BC #C85ED1 #D88EDF

Accessibility & contrast

On white

5.06
#B236BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#B236BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B236BC
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B236BC#FFFFFF#000000##FFFFFF
##B236BC1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C65C0
Deuteranopia (green-blind)
#5074B9
Tritanopia (blue-blind)
#B64D76
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b236bc;
/* rgb */ color: rgb(178, 54, 188);
/* oklch */ color: oklch(56.8% 0.219 324.7);
Tailwind
colors: {
  custom: {
    50: '#cd79d1',
    500: '#b236bc',
    950: '#000000',
  },
}
SCSS
$custom: #b236bc;
$custom-light: #cd79d1;
$custom-dark: #000000;
JSON
{
  "hex": "#b236bc",
  "rgb": {
    "r": 178,
    "g": 54,
    "b": 188
  },
  "hsl": {
    "h": 295.522,
    "s": 55.372,
    "l": 47.451
  },
  "oklch": {
    "l": 0.56847,
    "c": 0.21868,
    "h": 324.7
  },
  "luminance": 0.15734
}

Semantic roles & 50–950 ramp

primary
#B236BC
secondary
#8AC985
accent
#DF4954
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140A14
muted
#837C82

Preview Lab

Preview with #B236BC

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

Preview Lab → · Contrast checker → · Palette generator →

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