#B236A4#B236A4

#B236A4 is a mid, vivid purple. Relative luminance 0.148; OKLCH L 55.5% C 0.200 H 332.8°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#B236A4
RGBrgb(178, 54, 164)
HSLhsl(307, 53%, 45%)
HSVhsv(307, 70%, 70%)
CMYKcmyk(0%, 69.7%, 7.9%, 30.2%)
CIE-LABlab(45.34, 61.76, -33.28)
CIE-LCHlch(45.34, 70.15, 331.68°)
OKLaboklab(55.51% 0.1779 -0.0912)
OKLCHoklch(55.51% 0.2 332.8)
XYZxyz(26.3802, 14.7858, 36.5793)
Luminance0.1478 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B236A4 #36B244
analogous
#8236B2 #B236A4 #B23666
triadic
#B236A4 #A4B236 #36A4B2
tetradic
#B236A4 #B28236 #36B244 #3666B2
square
#B236A4 #B28236 #36B244 #3666B2
split-complementary
#B236A4 #66B236 #36B282
monochromatic
#541A4D #832879 #B236A4 #CD59BF #DB88D1

Accessibility & contrast

On white

5.31
#B236A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#B236A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B236A4
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B236A4#FFFFFF#000000##FFFFFF
##B236A41.005.313.965.31
#FFFFFF5.311.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3160A7
Deuteranopia (green-blind)
#5D72A1
Tritanopia (blue-blind)
#BA4269
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b236a4;
/* rgb */ color: rgb(178, 54, 164);
/* oklch */ color: oklch(55.5% 0.200 332.8);
Tailwind
colors: {
  custom: {
    50: '#cd78bf',
    500: '#b236a4',
    950: '#000000',
  },
}
SCSS
$custom: #b236a4;
$custom-light: #cd78bf;
$custom-dark: #000000;
JSON
{
  "hex": "#b236a4",
  "rgb": {
    "r": 178,
    "g": 54,
    "b": 164
  },
  "hsl": {
    "h": 306.774,
    "s": 53.448,
    "l": 45.49
  },
  "oklch": {
    "l": 0.55506,
    "c": 0.19992,
    "h": 332.8
  },
  "luminance": 0.14784
}

Semantic roles & 50–950 ramp

primary
#B236A4
secondary
#7FC587
accent
#DD5B4B
background
#FDF7FB
surface
#FAEEF7
border
#D3C9D0
text
#140A12
muted
#837C81

Preview Lab

Preview with #B236A4

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

Preview Lab → · Contrast checker → · Palette generator →

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