#B236BA#B236BA

#B236BA is a mid, highly saturated purple. Relative luminance 0.156; OKLCH L 56.7% C 0.217 H 325.3°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#B236BA
RGBrgb(178, 54, 186)
HSLhsl(296, 55%, 47%)
HSVhsv(296, 71%, 73%)
CMYKcmyk(4.3%, 71%, 0%, 27.1%)
CIE-LABlab(46.51, 65.37, -44.40)
CIE-LCHlch(46.51, 79.02, 325.82°)
OKLaboklab(56.73% 0.1785 -0.1234)
OKLCHoklch(56.73% 0.217 325.3)
XYZxyz(28.5415, 15.6503, 47.9624)
Luminance0.1565 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B236BA #3EBA36
analogous
#7036BA #B236BA #BA3680
triadic
#B236BA #BAB236 #36BAB2
tetradic
#B236BA #BA7036 #3EBA36 #3680BA
square
#B236BA #BA7036 #3EBA36 #3680BA
split-complementary
#B236BA #80BA36 #36BA70
monochromatic
#571A5B #85288B #B236BA #C95DD0 #D98DDE

Accessibility & contrast

On white

5.09
#B236BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#B236BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B236BA
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B236BA#FFFFFF#000000##FFFFFF
##B236BA1.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1264BE
Deuteranopia (green-blind)
#5273B7
Tritanopia (blue-blind)
#B64C75
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b236ba;
/* rgb */ color: rgb(178, 54, 186);
/* oklch */ color: oklch(56.7% 0.217 325.3);
Tailwind
colors: {
  custom: {
    50: '#cd79cf',
    500: '#b236ba',
    950: '#000000',
  },
}
SCSS
$custom: #b236ba;
$custom-light: #cd79cf;
$custom-dark: #000000;
JSON
{
  "hex": "#b236ba",
  "rgb": {
    "r": 178,
    "g": 54,
    "b": 186
  },
  "hsl": {
    "h": 296.364,
    "s": 55,
    "l": 47.059
  },
  "oklch": {
    "l": 0.56729,
    "c": 0.21707,
    "h": 325.3
  },
  "luminance": 0.15648
}

Semantic roles & 50–950 ramp

primary
#B236BA
secondary
#88C884
accent
#DE4952
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140A14
muted
#837C82

Preview Lab

Preview with #B236BA

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

Preview Lab → · Contrast checker → · Palette generator →

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