#B236A0#B236A0

#B236A0 is a mid, vivid purple. Relative luminance 0.146; OKLCH L 55.3% C 0.197 H 334.3°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#B236A0
RGBrgb(178, 54, 160)
HSLhsl(309, 53%, 45%)
HSVhsv(309, 70%, 70%)
CMYKcmyk(0%, 69.7%, 10.1%, 30.2%)
CIE-LABlab(45.14, 61.13, -31.20)
CIE-LCHlch(45.14, 68.64, 332.96°)
OKLaboklab(55.3% 0.1775 -0.0853)
OKLCHoklch(55.3% 0.197 334.3)
XYZxyz(26.0247, 14.6436, 34.7067)
Luminance0.1464 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B236A0 #36B248
analogous
#8636B2 #B236A0 #B23662
triadic
#B236A0 #A0B236 #36A0B2
tetradic
#B236A0 #B28636 #36B248 #3662B2
square
#B236A0 #B28636 #36B248 #3662B2
split-complementary
#B236A0 #62B236 #36B286
monochromatic
#541A4C #832876 #B236A0 #CD59BC #DB88CF

Accessibility & contrast

On white

5.35
#B236A0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#B236A0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B236A0
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B236A0#FFFFFF#000000##FFFFFF
##B236A01.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345FA3
Deuteranopia (green-blind)
#5F719D
Tritanopia (blue-blind)
#BA4067
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b236a0;
/* rgb */ color: rgb(178, 54, 160);
/* oklch */ color: oklch(55.3% 0.197 334.3);
Tailwind
colors: {
  custom: {
    50: '#cd78bc',
    500: '#b236a0',
    950: '#000000',
  },
}
SCSS
$custom: #b236a0;
$custom-light: #cd78bc;
$custom-dark: #000000;
JSON
{
  "hex": "#b236a0",
  "rgb": {
    "r": 178,
    "g": 54,
    "b": 160
  },
  "hsl": {
    "h": 308.71,
    "s": 53.448,
    "l": 45.49
  },
  "oklch": {
    "l": 0.553,
    "c": 0.19696,
    "h": 334.3
  },
  "luminance": 0.14641
}

Semantic roles & 50–950 ramp

primary
#B236A0
secondary
#7FC589
accent
#DD604B
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#140A12
muted
#837C81

Preview Lab

Preview with #B236A0

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

Preview Lab → · Contrast checker → · Palette generator →

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