#B236C3#B236C3

#B236C3 is a mid, highly saturated purple. Relative luminance 0.160; OKLCH L 57.3% C 0.224 H 322.6°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#B236C3
RGBrgb(178, 54, 195)
HSLhsl(293, 57%, 49%)
HSVhsv(293, 72%, 76%)
CMYKcmyk(8.7%, 72.3%, 0%, 23.5%)
CIE-LABlab(47.03, 66.94, -48.81)
CIE-LCHlch(47.03, 82.85, 323.91°)
OKLaboklab(57.27% 0.1782 -0.1363)
OKLCHoklch(57.27% 0.224 322.6)
XYZxyz(29.5286, 16.0451, 53.1609)
Luminance0.1604 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B236C3 #47C336
analogous
#6C36C3 #B236C3 #C3368E
triadic
#B236C3 #C3B236 #36C3B2
tetradic
#B236C3 #C36C36 #47C336 #368EC3
square
#B236C3 #C36C36 #47C336 #368EC3
split-complementary
#B236C3 #8EC336 #36C36C
monochromatic
#5B1B63 #862993 #B236C3 #C663D4 #D792E1

Accessibility & contrast

On white

4.99
#B236C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#B236C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B236C3
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B236C3#FFFFFF#000000##FFFFFF
##B236C31.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C7
Deuteranopia (green-blind)
#4B74C0
Tritanopia (blue-blind)
#B4507A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #b236c3;
/* rgb */ color: rgb(178, 54, 195);
/* oklch */ color: oklch(57.3% 0.224 322.6);
Tailwind
colors: {
  custom: {
    50: '#cd79d6',
    500: '#b236c3',
    950: '#000000',
  },
}
SCSS
$custom: #b236c3;
$custom-light: #cd79d6;
$custom-dark: #000000;
JSON
{
  "hex": "#b236c3",
  "rgb": {
    "r": 178,
    "g": 54,
    "b": 195
  },
  "hsl": {
    "h": 292.766,
    "s": 56.627,
    "l": 48.824
  },
  "oklch": {
    "l": 0.5727,
    "c": 0.22438,
    "h": 322.6
  },
  "luminance": 0.16043
}

Semantic roles & 50–950 ramp

primary
#B236C3
secondary
#91CC89
accent
#E0485A
background
#FDF7FD
surface
#FAEEFA
border
#D3C9D3
text
#140A14
muted
#837C83

Preview Lab

Preview with #B236C3

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

Preview Lab → · Contrast checker → · Palette generator →

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