#B236BD#B236BD

#B236BD is a mid, highly saturated purple. Relative luminance 0.158; OKLCH L 56.9% C 0.219 H 324.4°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#B236BD
RGBrgb(178, 54, 189)
HSLhsl(295, 56%, 48%)
HSVhsv(295, 71%, 74%)
CMYKcmyk(5.8%, 71.4%, 0%, 25.9%)
CIE-LABlab(46.68, 65.89, -45.87)
CIE-LCHlch(46.68, 80.29, 325.15°)
OKLaboklab(56.91% 0.1785 -0.1278)
OKLCHoklch(56.91% 0.219 324.4)
XYZxyz(28.8638, 15.7792, 49.6596)
Luminance0.1578 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B236BD #41BD36
analogous
#6E36BD #B236BD #BD3685
triadic
#B236BD #BDB236 #36BDB2
tetradic
#B236BD #BD6E36 #41BD36 #3685BD
square
#B236BD #BD6E36 #41BD36 #3685BD
split-complementary
#B236BD #85BD36 #36BD6E
monochromatic
#581B5E #85288D #B236BD #C85FD1 #D88FDF

Accessibility & contrast

On white

5.05
#B236BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#B236BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B236BD
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B236BD#FFFFFF#000000##FFFFFF
##B236BD1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0865C1
Deuteranopia (green-blind)
#5074BA
Tritanopia (blue-blind)
#B64D76
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #b236bd;
/* rgb */ color: rgb(178, 54, 189);
/* oklch */ color: oklch(56.9% 0.219 324.4);
Tailwind
colors: {
  custom: {
    50: '#cd79d1',
    500: '#b236bd',
    950: '#000000',
  },
}
SCSS
$custom: #b236bd;
$custom-light: #cd79d1;
$custom-dark: #000000;
JSON
{
  "hex": "#b236bd",
  "rgb": {
    "r": 178,
    "g": 54,
    "b": 189
  },
  "hsl": {
    "h": 295.111,
    "s": 55.556,
    "l": 47.647
  },
  "oklch": {
    "l": 0.56907,
    "c": 0.21949,
    "h": 324.4
  },
  "luminance": 0.15777
}

Semantic roles & 50–950 ramp

primary
#B236BD
secondary
#8BC985
accent
#DF4955
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140A14
muted
#837C82

Preview Lab

Preview with #B236BD

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

Preview Lab → · Contrast checker → · Palette generator →

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