#B236B6#B236B6

#B236B6 is a mid, highly saturated purple. Relative luminance 0.155; OKLCH L 56.5% C 0.214 H 326.6°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#B236B6
RGBrgb(178, 54, 182)
HSLhsl(298, 54%, 46%)
HSVhsv(298, 70%, 71%)
CMYKcmyk(2.2%, 70.3%, 0%, 28.6%)
CIE-LABlab(46.29, 64.69, -42.41)
CIE-LCHlch(46.29, 77.35, 326.75°)
OKLaboklab(56.5% 0.1786 -0.1177)
OKLCHoklch(56.5% 0.214 326.6)
XYZxyz(28.1223, 15.4826, 45.7541)
Luminance0.1548 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B236B6 #3AB636
analogous
#7236B6 #B236B6 #B6367A
triadic
#B236B6 #B6B236 #36B6B2
tetradic
#B236B6 #B67236 #3AB636 #367AB6
square
#B236B6 #B67236 #3AB636 #367AB6
split-complementary
#B236B6 #7AB636 #36B672
monochromatic
#561A58 #842887 #B236B6 #CB5BCE #DA8ADC

Accessibility & contrast

On white

5.13
#B236B6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#B236B6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B236B6
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B236B6#FFFFFF#000000##FFFFFF
##B236B61.005.134.105.13
#FFFFFF5.131.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B64BA
Deuteranopia (green-blind)
#5473B3
Tritanopia (blue-blind)
#B74A72
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b236b6;
/* rgb */ color: rgb(178, 54, 182);
/* oklch */ color: oklch(56.5% 0.214 326.6);
Tailwind
colors: {
  custom: {
    50: '#cd79cc',
    500: '#b236b6',
    950: '#000000',
  },
}
SCSS
$custom: #b236b6;
$custom-light: #cd79cc;
$custom-dark: #000000;
JSON
{
  "hex": "#b236b6",
  "rgb": {
    "r": 178,
    "g": 54,
    "b": 182
  },
  "hsl": {
    "h": 298.125,
    "s": 54.237,
    "l": 46.275
  },
  "oklch": {
    "l": 0.56497,
    "c": 0.21386,
    "h": 326.6
  },
  "luminance": 0.15481
}

Semantic roles & 50–950 ramp

primary
#B236B6
secondary
#83C681
accent
#DE4A4F
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140A13
muted
#837C82

Preview Lab

Preview with #B236B6

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

Preview Lab → · Contrast checker → · Palette generator →

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