#B236A2#B236A2

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

Color values

HEX#B236A2
RGBrgb(178, 54, 162)
HSLhsl(308, 53%, 45%)
HSVhsv(308, 70%, 70%)
CMYKcmyk(0%, 69.7%, 9%, 30.2%)
CIE-LABlab(45.24, 61.44, -32.24)
CIE-LCHlch(45.24, 69.39, 332.31°)
OKLaboklab(55.4% 0.1777 -0.0883)
OKLCHoklch(55.4% 0.198 333.6)
XYZxyz(26.2010, 14.7141, 35.6356)
Luminance0.1471 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B236A2 #36B246
analogous
#8436B2 #B236A2 #B23664
triadic
#B236A2 #A2B236 #36A2B2
tetradic
#B236A2 #B28436 #36B246 #3664B2
square
#B236A2 #B28436 #36B246 #3664B2
split-complementary
#B236A2 #64B236 #36B284
monochromatic
#541A4D #832877 #B236A2 #CD59BE #DB88D0

Accessibility & contrast

On white

5.33
#B236A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B236A2
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B236A2#FFFFFF#000000##FFFFFF
##B236A21.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3360A5
Deuteranopia (green-blind)
#5E719F
Tritanopia (blue-blind)
#BA4168
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b236a2;
/* rgb */ color: rgb(178, 54, 162);
/* oklch */ color: oklch(55.4% 0.198 333.6);
Tailwind
colors: {
  custom: {
    50: '#cd78be',
    500: '#b236a2',
    950: '#000000',
  },
}
SCSS
$custom: #b236a2;
$custom-light: #cd78be;
$custom-dark: #000000;
JSON
{
  "hex": "#b236a2",
  "rgb": {
    "r": 178,
    "g": 54,
    "b": 162
  },
  "hsl": {
    "h": 307.742,
    "s": 53.448,
    "l": 45.49
  },
  "oklch": {
    "l": 0.55402,
    "c": 0.19842,
    "h": 333.6
  },
  "luminance": 0.14712
}

Semantic roles & 50–950 ramp

primary
#B236A2
secondary
#7FC588
accent
#DD5E4B
background
#FDF7FB
surface
#FAEEF7
border
#D3C9D0
text
#140A12
muted
#837C81

Preview Lab

Preview with #B236A2

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

Preview Lab → · Contrast checker → · Palette generator →

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