#B236B9#B236B9

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

Color values

HEX#B236B9
RGBrgb(178, 54, 185)
HSLhsl(297, 55%, 47%)
HSVhsv(297, 71%, 73%)
CMYKcmyk(3.8%, 70.8%, 0%, 27.5%)
CIE-LABlab(46.46, 65.20, -43.90)
CIE-LCHlch(46.46, 78.60, 326.05°)
OKLaboklab(56.67% 0.1786 -0.122)
OKLCHoklch(56.67% 0.216 325.7)
XYZxyz(28.4356, 15.6079, 47.4044)
Luminance0.1561 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B236B9 #3DB936
analogous
#7136B9 #B236B9 #B9367F
triadic
#B236B9 #B9B236 #36B9B2
tetradic
#B236B9 #B97136 #3DB936 #367FB9
square
#B236B9 #B97136 #3DB936 #367FB9
split-complementary
#B236B9 #7FB936 #36B971
monochromatic
#571A5A #84288A #B236B9 #C95DD0 #D98CDD

Accessibility & contrast

On white

5.10
#B236B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#B236B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B236B9
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B236B9#FFFFFF#000000##FFFFFF
##B236B91.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1464BD
Deuteranopia (green-blind)
#5273B6
Tritanopia (blue-blind)
#B64B74
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b236b9;
/* rgb */ color: rgb(178, 54, 185);
/* oklch */ color: oklch(56.7% 0.216 325.7);
Tailwind
colors: {
  custom: {
    50: '#cd79ce',
    500: '#b236b9',
    950: '#000000',
  },
}
SCSS
$custom: #b236b9;
$custom-light: #cd79ce;
$custom-dark: #000000;
JSON
{
  "hex": "#b236b9",
  "rgb": {
    "r": 178,
    "g": 54,
    "b": 185
  },
  "hsl": {
    "h": 296.794,
    "s": 54.812,
    "l": 46.863
  },
  "oklch": {
    "l": 0.56671,
    "c": 0.21626,
    "h": 325.7
  },
  "luminance": 0.15606
}

Semantic roles & 50–950 ramp

primary
#B236B9
secondary
#87C883
accent
#DE4A52
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140A14
muted
#837C82

Preview Lab

Preview with #B236B9

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

Preview Lab → · Contrast checker → · Palette generator →

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