#B236A5#B236A5

#B236A5 is a mid, highly saturated purple. Relative luminance 0.148; OKLCH L 55.6% C 0.201 H 332.5°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#B236A5
RGBrgb(178, 54, 165)
HSLhsl(306, 53%, 45%)
HSVhsv(306, 70%, 70%)
CMYKcmyk(0%, 69.7%, 7.3%, 30.2%)
CIE-LABlab(45.39, 61.91, -33.79)
CIE-LCHlch(45.39, 70.53, 331.37°)
OKLaboklab(55.56% 0.178 -0.0927)
OKLCHoklch(55.56% 0.201 332.5)
XYZxyz(26.4709, 14.8221, 37.0568)
Luminance0.1482 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B236A5 #36B243
analogous
#8136B2 #B236A5 #B23667
triadic
#B236A5 #A5B236 #36A5B2
tetradic
#B236A5 #B28136 #36B243 #3667B2
square
#B236A5 #B28136 #36B243 #3667B2
split-complementary
#B236A5 #67B236 #36B281
monochromatic
#541A4E #832879 #B236A5 #CD59C0 #DB88D2

Accessibility & contrast

On white

5.30
#B236A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B236A5
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B236A5#FFFFFF#000000##FFFFFF
##B236A51.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3060A8
Deuteranopia (green-blind)
#5D72A2
Tritanopia (blue-blind)
#BA4269
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b236a5;
/* rgb */ color: rgb(178, 54, 165);
/* oklch */ color: oklch(55.6% 0.201 332.5);
Tailwind
colors: {
  custom: {
    50: '#cd78c0',
    500: '#b236a5',
    950: '#000000',
  },
}
SCSS
$custom: #b236a5;
$custom-light: #cd78c0;
$custom-dark: #000000;
JSON
{
  "hex": "#b236a5",
  "rgb": {
    "r": 178,
    "g": 54,
    "b": 165
  },
  "hsl": {
    "h": 306.29,
    "s": 53.448,
    "l": 45.49
  },
  "oklch": {
    "l": 0.55559,
    "c": 0.20066,
    "h": 332.5
  },
  "luminance": 0.1482
}

Semantic roles & 50–950 ramp

primary
#B236A5
secondary
#7FC586
accent
#DD5A4B
background
#FDF7FB
surface
#FAEEF7
border
#D3C9D0
text
#140A12
muted
#837C81

Preview Lab

Preview with #B236A5

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

Preview Lab → · Contrast checker → · Palette generator →

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