#B236B8#B236B8

#B236B8 is a mid, highly saturated purple. Relative luminance 0.156; OKLCH L 56.6% C 0.215 H 326.0°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#B236B8
RGBrgb(178, 54, 184)
HSLhsl(297, 55%, 47%)
HSVhsv(297, 71%, 72%)
CMYKcmyk(3.3%, 70.7%, 0%, 27.8%)
CIE-LABlab(46.40, 65.03, -43.40)
CIE-LCHlch(46.40, 78.19, 326.28°)
OKLaboklab(56.61% 0.1786 -0.1206)
OKLCHoklch(56.61% 0.215 326)
XYZxyz(28.3304, 15.5659, 46.8504)
Luminance0.1556 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B236B8 #3CB836
analogous
#7136B8 #B236B8 #B8367D
triadic
#B236B8 #B8B236 #36B8B2
tetradic
#B236B8 #B87136 #3CB836 #367DB8
square
#B236B8 #B87136 #3CB836 #367DB8
split-complementary
#B236B8 #7DB836 #36B871
monochromatic
#561A59 #842889 #B236B8 #CA5CCF #D98BDD

Accessibility & contrast

On white

5.11
#B236B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#B236B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B236B8
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B236B8#FFFFFF#000000##FFFFFF
##B236B81.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1764BC
Deuteranopia (green-blind)
#5373B5
Tritanopia (blue-blind)
#B64B74
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b236b8;
/* rgb */ color: rgb(178, 54, 184);
/* oklch */ color: oklch(56.6% 0.215 326.0);
Tailwind
colors: {
  custom: {
    50: '#cd79ce',
    500: '#b236b8',
    950: '#000000',
  },
}
SCSS
$custom: #b236b8;
$custom-light: #cd79ce;
$custom-dark: #000000;
JSON
{
  "hex": "#b236b8",
  "rgb": {
    "r": 178,
    "g": 54,
    "b": 184
  },
  "hsl": {
    "h": 297.231,
    "s": 54.622,
    "l": 46.667
  },
  "oklch": {
    "l": 0.56612,
    "c": 0.21546,
    "h": 326
  },
  "luminance": 0.15564
}

Semantic roles & 50–950 ramp

primary
#B236B8
secondary
#86C782
accent
#DE4A51
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140A13
muted
#837C82

Preview Lab

Preview with #B236B8

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

Preview Lab → · Contrast checker → · Palette generator →

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