#B236A1#B236A1

#B236A1 is a mid, vivid purple. Relative luminance 0.147; OKLCH L 55.4% C 0.198 H 334.0°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#B236A1
RGBrgb(178, 54, 161)
HSLhsl(308, 53%, 45%)
HSVhsv(308, 70%, 70%)
CMYKcmyk(0%, 69.7%, 9.6%, 30.2%)
CIE-LABlab(45.19, 61.29, -31.72)
CIE-LCHlch(45.19, 69.01, 332.63°)
OKLaboklab(55.35% 0.1776 -0.0868)
OKLCHoklch(55.35% 0.198 334)
XYZxyz(26.1125, 14.6787, 35.1693)
Luminance0.1468 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B236A1 #36B247
analogous
#8536B2 #B236A1 #B23663
triadic
#B236A1 #A1B236 #36A1B2
tetradic
#B236A1 #B28536 #36B247 #3663B2
square
#B236A1 #B28536 #36B247 #3663B2
split-complementary
#B236A1 #63B236 #36B285
monochromatic
#541A4C #832877 #B236A1 #CD59BD #DB88CF

Accessibility & contrast

On white

5.34
#B236A1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#B236A1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B236A1
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B236A1#FFFFFF#000000##FFFFFF
##B236A11.005.343.945.34
#FFFFFF5.341.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335FA4
Deuteranopia (green-blind)
#5F719E
Tritanopia (blue-blind)
#BA4067
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b236a1;
/* rgb */ color: rgb(178, 54, 161);
/* oklch */ color: oklch(55.4% 0.198 334.0);
Tailwind
colors: {
  custom: {
    50: '#cd78bd',
    500: '#b236a1',
    950: '#000000',
  },
}
SCSS
$custom: #b236a1;
$custom-light: #cd78bd;
$custom-dark: #000000;
JSON
{
  "hex": "#b236a1",
  "rgb": {
    "r": 178,
    "g": 54,
    "b": 161
  },
  "hsl": {
    "h": 308.226,
    "s": 53.448,
    "l": 45.49
  },
  "oklch": {
    "l": 0.55351,
    "c": 0.19769,
    "h": 334
  },
  "luminance": 0.14677
}

Semantic roles & 50–950 ramp

primary
#B236A1
secondary
#7FC589
accent
#DD5F4B
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#140A12
muted
#837C81

Preview Lab

Preview with #B236A1

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

Preview Lab → · Contrast checker → · Palette generator →

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