#B236B7#B236B7

#B236B7 is a mid, highly saturated purple. Relative luminance 0.155; OKLCH L 56.6% C 0.215 H 326.3°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#B236B7
RGBrgb(178, 54, 183)
HSLhsl(298, 54%, 46%)
HSVhsv(298, 70%, 72%)
CMYKcmyk(2.7%, 70.5%, 0%, 28.2%)
CIE-LABlab(46.34, 64.86, -42.91)
CIE-LCHlch(46.34, 77.77, 326.51°)
OKLaboklab(56.55% 0.1786 -0.1191)
OKLCHoklch(56.55% 0.215 326.3)
XYZxyz(28.2260, 15.5241, 46.3003)
Luminance0.1552 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B236B7 #3BB736
analogous
#7236B7 #B236B7 #B7367C
triadic
#B236B7 #B7B236 #36B7B2
tetradic
#B236B7 #B77236 #3BB736 #367CB7
square
#B236B7 #B77236 #3BB736 #367CB7
split-complementary
#B236B7 #7CB736 #36B772
monochromatic
#561A58 #842888 #B236B7 #CA5BCF #DA8BDD

Accessibility & contrast

On white

5.12
#B236B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#B236B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B236B7
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B236B7#FFFFFF#000000##FFFFFF
##B236B71.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1964BB
Deuteranopia (green-blind)
#5373B4
Tritanopia (blue-blind)
#B74A73
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b236b7;
/* rgb */ color: rgb(178, 54, 183);
/* oklch */ color: oklch(56.6% 0.215 326.3);
Tailwind
colors: {
  custom: {
    50: '#cd79cd',
    500: '#b236b7',
    950: '#000000',
  },
}
SCSS
$custom: #b236b7;
$custom-light: #cd79cd;
$custom-dark: #000000;
JSON
{
  "hex": "#b236b7",
  "rgb": {
    "r": 178,
    "g": 54,
    "b": 183
  },
  "hsl": {
    "h": 297.674,
    "s": 54.43,
    "l": 46.471
  },
  "oklch": {
    "l": 0.56554,
    "c": 0.21466,
    "h": 326.3
  },
  "luminance": 0.15522
}

Semantic roles & 50–950 ramp

primary
#B236B7
secondary
#85C782
accent
#DE4A50
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140A13
muted
#837C82

Preview Lab

Preview with #B236B7

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

Preview Lab → · Contrast checker → · Palette generator →

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