#B236C6#B236C6

#B236C6 is a mid, highly saturated purple. Relative luminance 0.162; OKLCH L 57.5% C 0.227 H 321.7°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#B236C6
RGBrgb(178, 54, 198)
HSLhsl(292, 57%, 49%)
HSVhsv(292, 73%, 78%)
CMYKcmyk(10.1%, 72.7%, 0%, 22.4%)
CIE-LABlab(47.21, 67.48, -50.26)
CIE-LCHlch(47.21, 84.14, 323.32°)
OKLaboklab(57.45% 0.1781 -0.1406)
OKLCHoklch(57.45% 0.227 321.7)
XYZxyz(29.8712, 16.1822, 54.9652)
Luminance0.1618 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B236C6 #4AC636
analogous
#6A36C6 #B236C6 #C63692
triadic
#B236C6 #C6B236 #36C6B2
tetradic
#B236C6 #C66A36 #4AC636 #3692C6
square
#B236C6 #C66A36 #4AC636 #3692C6
split-complementary
#B236C6 #92C636 #36C66A
monochromatic
#5C1C66 #872996 #B236C6 #C564D5 #D794E2

Accessibility & contrast

On white

4.96
#B236C6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#B236C6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B236C6
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B236C6#FFFFFF#000000##FFFFFF
##B236C61.004.964.244.96
#FFFFFF4.961.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CA
Deuteranopia (green-blind)
#4975C3
Tritanopia (blue-blind)
#B4517B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #b236c6;
/* rgb */ color: rgb(178, 54, 198);
/* oklch */ color: oklch(57.5% 0.227 321.7);
Tailwind
colors: {
  custom: {
    50: '#cd79d8',
    500: '#b236c6',
    950: '#000000',
  },
}
SCSS
$custom: #b236c6;
$custom-light: #cd79d8;
$custom-dark: #000000;
JSON
{
  "hex": "#b236c6",
  "rgb": {
    "r": 178,
    "g": 54,
    "b": 198
  },
  "hsl": {
    "h": 291.667,
    "s": 57.143,
    "l": 49.412
  },
  "oklch": {
    "l": 0.57454,
    "c": 0.22685,
    "h": 321.7
  },
  "luminance": 0.16181
}

Semantic roles & 50–950 ramp

primary
#B236C6
secondary
#94CD8B
accent
#E0475D
background
#FDF7FD
surface
#FAEEFA
border
#D3C9D3
text
#140A14
muted
#837C83

Preview Lab

Preview with #B236C6

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

Preview Lab → · Contrast checker → · Palette generator →

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