#B236A7#B236A7

#B236A7 is a mid, highly saturated purple. Relative luminance 0.149; OKLCH L 55.7% C 0.202 H 331.8°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#B236A7
RGBrgb(178, 54, 167)
HSLhsl(305, 53%, 45%)
HSVhsv(305, 70%, 70%)
CMYKcmyk(0%, 69.7%, 6.2%, 30.2%)
CIE-LABlab(45.49, 62.23, -34.82)
CIE-LCHlch(45.49, 71.31, 330.77°)
OKLaboklab(55.67% 0.1781 -0.0957)
OKLCHoklch(55.67% 0.202 331.8)
XYZxyz(26.6543, 14.8954, 38.0230)
Luminance0.1489 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B236A7 #36B241
analogous
#7F36B2 #B236A7 #B23669
triadic
#B236A7 #A7B236 #36A7B2
tetradic
#B236A7 #B27F36 #36B241 #3669B2
square
#B236A7 #B27F36 #36B241 #3669B2
split-complementary
#B236A7 #69B236 #36B27F
monochromatic
#541A4F #83287B #B236A7 #CD59C2 #DB88D3

Accessibility & contrast

On white

5.28
#B236A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#B236A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B236A7
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B236A7#FFFFFF#000000##FFFFFF
##B236A71.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E61AA
Deuteranopia (green-blind)
#5C72A4
Tritanopia (blue-blind)
#B9436A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b236a7;
/* rgb */ color: rgb(178, 54, 167);
/* oklch */ color: oklch(55.7% 0.202 331.8);
Tailwind
colors: {
  custom: {
    50: '#cd78c1',
    500: '#b236a7',
    950: '#000000',
  },
}
SCSS
$custom: #b236a7;
$custom-light: #cd78c1;
$custom-dark: #000000;
JSON
{
  "hex": "#b236a7",
  "rgb": {
    "r": 178,
    "g": 54,
    "b": 167
  },
  "hsl": {
    "h": 305.323,
    "s": 53.448,
    "l": 45.49
  },
  "oklch": {
    "l": 0.55665,
    "c": 0.20217,
    "h": 331.8
  },
  "luminance": 0.14893
}

Semantic roles & 50–950 ramp

primary
#B236A7
secondary
#7FC585
accent
#DD584B
background
#FDF7FB
surface
#FAEEF7
border
#D3C9D0
text
#140A12
muted
#837C81

Preview Lab

Preview with #B236A7

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

Preview Lab → · Contrast checker → · Palette generator →

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