#B236AD#B236AD

#B236AD is a mid, highly saturated purple. Relative luminance 0.151; OKLCH L 56.0% C 0.207 H 329.6°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#B236AD
RGBrgb(178, 54, 173)
HSLhsl(302, 53%, 45%)
HSVhsv(302, 70%, 70%)
CMYKcmyk(0%, 69.7%, 2.8%, 30.2%)
CIE-LABlab(45.80, 63.20, -37.88)
CIE-LCHlch(45.80, 73.68, 329.06°)
OKLaboklab(55.99% 0.1784 -0.1045)
OKLCHoklch(55.99% 0.207 329.6)
XYZxyz(27.2219, 15.1225, 41.0122)
Luminance0.1512 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B236AD #36B23B
analogous
#7936B2 #B236AD #B2366F
triadic
#B236AD #ADB236 #36ADB2
tetradic
#B236AD #B27936 #36B23B #366FB2
square
#B236AD #B27936 #36B23B #366FB2
split-complementary
#B236AD #6FB236 #36B279
monochromatic
#541A52 #83287F #B236AD #CD59C8 #DB88D7

Accessibility & contrast

On white

5.22
#B236AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#B236AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B236AD
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B236AD#FFFFFF#000000##FFFFFF
##B236AD1.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2862B0
Deuteranopia (green-blind)
#5972AA
Tritanopia (blue-blind)
#B8466E
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b236ad;
/* rgb */ color: rgb(178, 54, 173);
/* oklch */ color: oklch(56.0% 0.207 329.6);
Tailwind
colors: {
  custom: {
    50: '#cd78c6',
    500: '#b236ad',
    950: '#000000',
  },
}
SCSS
$custom: #b236ad;
$custom-light: #cd78c6;
$custom-dark: #000000;
JSON
{
  "hex": "#b236ad",
  "rgb": {
    "r": 178,
    "g": 54,
    "b": 173
  },
  "hsl": {
    "h": 302.419,
    "s": 53.448,
    "l": 45.49
  },
  "oklch": {
    "l": 0.55989,
    "c": 0.20678,
    "h": 329.6
  },
  "luminance": 0.1512
}

Semantic roles & 50–950 ramp

primary
#B236AD
secondary
#7FC582
accent
#DD514B
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A13
muted
#837C82

Preview Lab

Preview with #B236AD

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

Preview Lab → · Contrast checker → · Palette generator →

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