#B236B1#B236B1

#B236B1 is a mid, highly saturated purple. Relative luminance 0.153; OKLCH L 56.2% C 0.210 H 328.3°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#B236B1
RGBrgb(178, 54, 177)
HSLhsl(300, 53%, 45%)
HSVhsv(300, 70%, 70%)
CMYKcmyk(0%, 69.7%, 0.6%, 30.2%)
CIE-LABlab(46.01, 63.85, -39.90)
CIE-LCHlch(46.01, 75.30, 328.00°)
OKLaboklab(56.21% 0.1785 -0.1104)
OKLCHoklch(56.21% 0.21 328.3)
XYZxyz(27.6148, 15.2796, 43.0812)
Luminance0.1528 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B236B1 #36B237
analogous
#7536B2 #B236B1 #B23673
triadic
#B236B1 #B1B236 #36B1B2
tetradic
#B236B1 #B27536 #36B237 #3673B2
square
#B236B1 #B27536 #36B237 #3673B2
split-complementary
#B236B1 #73B236 #36B275
monochromatic
#541A54 #832882 #B236B1 #CD59CC #DB88DA

Accessibility & contrast

On white

5.18
#B236B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#B236B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B236B1
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B236B1#FFFFFF#000000##FFFFFF
##B236B11.005.184.065.18
#FFFFFF5.181.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2363B4
Deuteranopia (green-blind)
#5773AE
Tritanopia (blue-blind)
#B84870
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b236b1;
/* rgb */ color: rgb(178, 54, 177);
/* oklch */ color: oklch(56.2% 0.210 328.3);
Tailwind
colors: {
  custom: {
    50: '#cd78c9',
    500: '#b236b1',
    950: '#000000',
  },
}
SCSS
$custom: #b236b1;
$custom-light: #cd78c9;
$custom-dark: #000000;
JSON
{
  "hex": "#b236b1",
  "rgb": {
    "r": 178,
    "g": 54,
    "b": 177
  },
  "hsl": {
    "h": 300.484,
    "s": 53.448,
    "l": 45.49
  },
  "oklch": {
    "l": 0.56212,
    "c": 0.2099,
    "h": 328.3
  },
  "luminance": 0.15278
}

Semantic roles & 50–950 ramp

primary
#B236B1
secondary
#7FC580
accent
#DD4C4B
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A13
muted
#837C82

Preview Lab

Preview with #B236B1

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

Preview Lab → · Contrast checker → · Palette generator →

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