#B236BF#B236BF

#B236BF is a mid, highly saturated purple. Relative luminance 0.159; OKLCH L 57.0% C 0.221 H 323.8°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#B236BF
RGBrgb(178, 54, 191)
HSLhsl(294, 56%, 48%)
HSVhsv(294, 72%, 75%)
CMYKcmyk(6.8%, 71.7%, 0%, 25.1%)
CIE-LABlab(46.80, 66.24, -46.86)
CIE-LCHlch(46.80, 81.14, 324.73°)
OKLaboklab(57.03% 0.1784 -0.1306)
OKLCHoklch(57.03% 0.221 323.8)
XYZxyz(29.0824, 15.8667, 50.8109)
Luminance0.1587 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B236BF #43BF36
analogous
#6E36BF #B236BF #BF3687
triadic
#B236BF #BFB236 #36BFB2
tetradic
#B236BF #BF6E36 #43BF36 #3687BF
square
#B236BF #BF6E36 #43BF36 #3687BF
split-complementary
#B236BF #87BF36 #36BF6E
monochromatic
#591B60 #86298F #B236BF #C760D2 #D890E0

Accessibility & contrast

On white

5.03
#B236BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#B236BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B236BF
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B236BF#FFFFFF#000000##FFFFFF
##B236BF1.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C3
Deuteranopia (green-blind)
#4E74BC
Tritanopia (blue-blind)
#B54E77
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #b236bf;
/* rgb */ color: rgb(178, 54, 191);
/* oklch */ color: oklch(57.0% 0.221 323.8);
Tailwind
colors: {
  custom: {
    50: '#cd79d3',
    500: '#b236bf',
    950: '#000000',
  },
}
SCSS
$custom: #b236bf;
$custom-light: #cd79d3;
$custom-dark: #000000;
JSON
{
  "hex": "#b236bf",
  "rgb": {
    "r": 178,
    "g": 54,
    "b": 191
  },
  "hsl": {
    "h": 294.307,
    "s": 55.918,
    "l": 48.039
  },
  "oklch": {
    "l": 0.57027,
    "c": 0.22111,
    "h": 323.8
  },
  "luminance": 0.15865
}

Semantic roles & 50–950 ramp

primary
#B236BF
secondary
#8DCA87
accent
#DF4957
background
#FDF7FD
surface
#FAEEFA
border
#D3C9D3
text
#140A14
muted
#837C83

Preview Lab

Preview with #B236BF

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

Preview Lab → · Contrast checker → · Palette generator →

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