#B236C1#B236C1

#B236C1 is a mid, highly saturated purple. Relative luminance 0.160; OKLCH L 57.1% C 0.223 H 323.2°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#B236C1
RGBrgb(178, 54, 193)
HSLhsl(294, 56%, 48%)
HSVhsv(294, 72%, 76%)
CMYKcmyk(7.8%, 72%, 0%, 24.3%)
CIE-LABlab(46.92, 66.59, -47.83)
CIE-LCHlch(46.92, 81.99, 324.31°)
OKLaboklab(57.15% 0.1783 -0.1335)
OKLCHoklch(57.15% 0.223 323.2)
XYZxyz(29.3040, 15.9553, 51.9779)
Luminance0.1595 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B236C1 #45C136
analogous
#6C36C1 #B236C1 #C1368A
triadic
#B236C1 #C1B236 #36C1B2
tetradic
#B236C1 #C16C36 #45C136 #368AC1
square
#B236C1 #C16C36 #45C136 #368AC1
split-complementary
#B236C1 #8AC136 #36C16C
monochromatic
#5A1B61 #862991 #B236C1 #C761D3 #D891E0

Accessibility & contrast

On white

5.01
#B236C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#B236C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B236C1
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B236C1#FFFFFF#000000##FFFFFF
##B236C11.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C5
Deuteranopia (green-blind)
#4D74BE
Tritanopia (blue-blind)
#B54F79
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #b236c1;
/* rgb */ color: rgb(178, 54, 193);
/* oklch */ color: oklch(57.1% 0.223 323.2);
Tailwind
colors: {
  custom: {
    50: '#cd79d4',
    500: '#b236c1',
    950: '#000000',
  },
}
SCSS
$custom: #b236c1;
$custom-light: #cd79d4;
$custom-dark: #000000;
JSON
{
  "hex": "#b236c1",
  "rgb": {
    "r": 178,
    "g": 54,
    "b": 193
  },
  "hsl": {
    "h": 293.525,
    "s": 56.275,
    "l": 48.431
  },
  "oklch": {
    "l": 0.57148,
    "c": 0.22275,
    "h": 323.2
  },
  "luminance": 0.15954
}

Semantic roles & 50–950 ramp

primary
#B236C1
secondary
#8FCB88
accent
#E04859
background
#FDF7FD
surface
#FAEEFA
border
#D3C9D3
text
#140A14
muted
#837C83

Preview Lab

Preview with #B236C1

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

Preview Lab → · Contrast checker → · Palette generator →

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