#B236A3#B236A3

#B236A3 is a mid, vivid purple. Relative luminance 0.147; OKLCH L 55.5% C 0.199 H 333.2°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#B236A3
RGBrgb(178, 54, 163)
HSLhsl(307, 53%, 45%)
HSVhsv(307, 70%, 70%)
CMYKcmyk(0%, 69.7%, 8.4%, 30.2%)
CIE-LABlab(45.29, 61.60, -32.76)
CIE-LCHlch(45.29, 69.77, 332.00°)
OKLaboklab(55.45% 0.1778 -0.0898)
OKLCHoklch(55.45% 0.199 333.2)
XYZxyz(26.2903, 14.7498, 36.1056)
Luminance0.1475 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B236A3 #36B245
analogous
#8336B2 #B236A3 #B23665
triadic
#B236A3 #A3B236 #36A3B2
tetradic
#B236A3 #B28336 #36B245 #3665B2
square
#B236A3 #B28336 #36B245 #3665B2
split-complementary
#B236A3 #65B236 #36B283
monochromatic
#541A4D #832878 #B236A3 #CD59BF #DB88D1

Accessibility & contrast

On white

5.32
#B236A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#B236A3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B236A3
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B236A3#FFFFFF#000000##FFFFFF
##B236A31.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3260A6
Deuteranopia (green-blind)
#5E72A0
Tritanopia (blue-blind)
#BA4168
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b236a3;
/* rgb */ color: rgb(178, 54, 163);
/* oklch */ color: oklch(55.5% 0.199 333.2);
Tailwind
colors: {
  custom: {
    50: '#cd78be',
    500: '#b236a3',
    950: '#000000',
  },
}
SCSS
$custom: #b236a3;
$custom-light: #cd78be;
$custom-dark: #000000;
JSON
{
  "hex": "#b236a3",
  "rgb": {
    "r": 178,
    "g": 54,
    "b": 163
  },
  "hsl": {
    "h": 307.258,
    "s": 53.448,
    "l": 45.49
  },
  "oklch": {
    "l": 0.55454,
    "c": 0.19917,
    "h": 333.2
  },
  "luminance": 0.14748
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B236A3

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

Preview Lab → · Contrast checker → · Palette generator →

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