#B236B2#B236B2

#B236B2 is a mid, highly saturated purple. Relative luminance 0.153; OKLCH L 56.3% C 0.211 H 327.9°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#B236B2
RGBrgb(178, 54, 178)
HSLhsl(300, 53%, 45%)
HSVhsv(300, 70%, 70%)
CMYKcmyk(0%, 69.7%, 0%, 30.2%)
CIE-LABlab(46.07, 64.02, -40.41)
CIE-LCHlch(46.07, 75.71, 327.74°)
OKLaboklab(56.27% 0.1785 -0.1118)
OKLCHoklch(56.27% 0.211 327.9)
XYZxyz(27.7148, 15.3196, 43.6081)
Luminance0.1532 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B236B2 #36B236
analogous
#7436B2 #B236B2 #B23674
triadic
#B236B2 #B2B236 #36B2B2
tetradic
#B236B2 #B27436 #36B236 #3674B2
square
#B236B2 #B27436 #36B236 #3674B2
split-complementary
#B236B2 #74B236 #36B274
monochromatic
#541A54 #832883 #B236B2 #CD59CD #DB88DB

Accessibility & contrast

On white

5.17
#B236B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#B236B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B236B2
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B236B2#FFFFFF#000000##FFFFFF
##B236B21.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2163B5
Deuteranopia (green-blind)
#5673AF
Tritanopia (blue-blind)
#B84870
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b236b2;
/* rgb */ color: rgb(178, 54, 178);
/* oklch */ color: oklch(56.3% 0.211 327.9);
Tailwind
colors: {
  custom: {
    50: '#cd78c9',
    500: '#b236b2',
    950: '#000000',
  },
}
SCSS
$custom: #b236b2;
$custom-light: #cd78c9;
$custom-dark: #000000;
JSON
{
  "hex": "#b236b2",
  "rgb": {
    "r": 178,
    "g": 54,
    "b": 178
  },
  "hsl": {
    "h": 300,
    "s": 53.448,
    "l": 45.49
  },
  "oklch": {
    "l": 0.56268,
    "c": 0.21069,
    "h": 327.9
  },
  "luminance": 0.15318
}

Semantic roles & 50–950 ramp

primary
#B236B2
secondary
#7FC57F
accent
#DD4B4B
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A13
muted
#837C82

Preview Lab

Preview with #B236B2

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

Preview Lab → · Contrast checker → · Palette generator →

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