#B236C4#B236C4

#B236C4 is a mid, highly saturated purple. Relative luminance 0.161; OKLCH L 57.3% C 0.225 H 322.3°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#B236C4
RGBrgb(178, 54, 196)
HSLhsl(292, 57%, 49%)
HSVhsv(292, 72%, 77%)
CMYKcmyk(9.2%, 72.4%, 0%, 23.1%)
CIE-LABlab(47.09, 67.12, -49.29)
CIE-LCHlch(47.09, 83.28, 323.71°)
OKLaboklab(57.33% 0.1782 -0.1377)
OKLCHoklch(57.33% 0.225 322.3)
XYZxyz(29.6420, 16.0905, 53.7583)
Luminance0.1609 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B236C4 #48C436
analogous
#6B36C4 #B236C4 #C4368F
triadic
#B236C4 #C4B236 #36C4B2
tetradic
#B236C4 #C46B36 #48C436 #368FC4
square
#B236C4 #C46B36 #48C436 #368FC4
split-complementary
#B236C4 #8FC436 #36C46B
monochromatic
#5B1C64 #862994 #B236C4 #C663D4 #D793E1

Accessibility & contrast

On white

4.98
#B236C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#B236C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B236C4
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B236C4#FFFFFF#000000##FFFFFF
##B236C41.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067C8
Deuteranopia (green-blind)
#4B74C1
Tritanopia (blue-blind)
#B4507A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #b236c4;
/* rgb */ color: rgb(178, 54, 196);
/* oklch */ color: oklch(57.3% 0.225 322.3);
Tailwind
colors: {
  custom: {
    50: '#cd79d6',
    500: '#b236c4',
    950: '#000000',
  },
}
SCSS
$custom: #b236c4;
$custom-light: #cd79d6;
$custom-dark: #000000;
JSON
{
  "hex": "#b236c4",
  "rgb": {
    "r": 178,
    "g": 54,
    "b": 196
  },
  "hsl": {
    "h": 292.394,
    "s": 56.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.57331,
    "c": 0.2252,
    "h": 322.3
  },
  "luminance": 0.16089
}

Semantic roles & 50–950 ramp

primary
#B236C4
secondary
#92CC89
accent
#E0485B
background
#FDF7FD
surface
#FAEEFA
border
#D3C9D3
text
#140A14
muted
#837C83

Preview Lab

Preview with #B236C4

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

Preview Lab → · Contrast checker → · Palette generator →

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