#B236AA#B236AA

#B236AA is a mid, highly saturated purple. Relative luminance 0.150; OKLCH L 55.8% C 0.204 H 330.7°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#B236AA
RGBrgb(178, 54, 170)
HSLhsl(304, 53%, 45%)
HSVhsv(304, 70%, 70%)
CMYKcmyk(0%, 69.7%, 4.5%, 30.2%)
CIE-LABlab(45.64, 62.71, -36.36)
CIE-LCHlch(45.64, 72.49, 329.90°)
OKLaboklab(55.83% 0.1783 -0.1001)
OKLCHoklch(55.83% 0.204 330.7)
XYZxyz(26.9349, 15.0077, 39.5006)
Luminance0.1501 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B236AA #36B23E
analogous
#7C36B2 #B236AA #B2366C
triadic
#B236AA #AAB236 #36AAB2
tetradic
#B236AA #B27C36 #36B23E #366CB2
square
#B236AA #B27C36 #36B23E #366CB2
split-complementary
#B236AA #6CB236 #36B27C
monochromatic
#541A50 #83287D #B236AA #CD59C5 #DB88D5

Accessibility & contrast

On white

5.25
#B236AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#B236AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B236AA
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B236AA#FFFFFF#000000##FFFFFF
##B236AA1.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B61AD
Deuteranopia (green-blind)
#5B72A7
Tritanopia (blue-blind)
#B9456C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b236aa;
/* rgb */ color: rgb(178, 54, 170);
/* oklch */ color: oklch(55.8% 0.204 330.7);
Tailwind
colors: {
  custom: {
    50: '#cd78c4',
    500: '#b236aa',
    950: '#000000',
  },
}
SCSS
$custom: #b236aa;
$custom-light: #cd78c4;
$custom-dark: #000000;
JSON
{
  "hex": "#b236aa",
  "rgb": {
    "r": 178,
    "g": 54,
    "b": 170
  },
  "hsl": {
    "h": 303.871,
    "s": 53.448,
    "l": 45.49
  },
  "oklch": {
    "l": 0.55826,
    "c": 0.20446,
    "h": 330.7
  },
  "luminance": 0.15006
}

Semantic roles & 50–950 ramp

primary
#B236AA
secondary
#7FC584
accent
#DD544B
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A12
muted
#837C81

Preview Lab

Preview with #B236AA

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

Preview Lab → · Contrast checker → · Palette generator →

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