#B236BB#B236BB

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

Color values

HEX#B236BB
RGBrgb(178, 54, 187)
HSLhsl(296, 55%, 47%)
HSVhsv(296, 71%, 73%)
CMYKcmyk(4.8%, 71.1%, 0%, 26.7%)
CIE-LABlab(46.57, 65.55, -44.89)
CIE-LCHlch(46.57, 79.44, 325.59°)
OKLaboklab(56.79% 0.1785 -0.1249)
OKLCHoklch(56.79% 0.218 325)
XYZxyz(28.6482, 15.6930, 48.5242)
Luminance0.1569 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B236BB #3FBB36
analogous
#7036BB #B236BB #BB3681
triadic
#B236BB #BBB236 #36BBB2
tetradic
#B236BB #BB7036 #3FBB36 #3681BB
square
#B236BB #BB7036 #3FBB36 #3681BB
split-complementary
#B236BB #81BB36 #36BB70
monochromatic
#581B5C #85288C #B236BB #C95ED0 #D98DDE

Accessibility & contrast

On white

5.07
#B236BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#B236BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B236BB
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B236BB#FFFFFF#000000##FFFFFF
##B236BB1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F65BF
Deuteranopia (green-blind)
#5174B8
Tritanopia (blue-blind)
#B64C75
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b236bb;
/* rgb */ color: rgb(178, 54, 187);
/* oklch */ color: oklch(56.8% 0.218 325.0);
Tailwind
colors: {
  custom: {
    50: '#cd79d0',
    500: '#b236bb',
    950: '#000000',
  },
}
SCSS
$custom: #b236bb;
$custom-light: #cd79d0;
$custom-dark: #000000;
JSON
{
  "hex": "#b236bb",
  "rgb": {
    "r": 178,
    "g": 54,
    "b": 187
  },
  "hsl": {
    "h": 295.94,
    "s": 55.187,
    "l": 47.255
  },
  "oklch": {
    "l": 0.56788,
    "c": 0.21787,
    "h": 325
  },
  "luminance": 0.15691
}

Semantic roles & 50–950 ramp

primary
#B236BB
secondary
#89C984
accent
#DF4953
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140A14
muted
#837C82

Preview Lab

Preview with #B236BB

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

Preview Lab → · Contrast checker → · Palette generator →

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