#B236C9#B236C9

#B236C9 is a mid, highly saturated purple. Relative luminance 0.163; OKLCH L 57.6% C 0.229 H 320.8°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#B236C9
RGBrgb(178, 54, 201)
HSLhsl(291, 58%, 50%)
HSVhsv(291, 73%, 79%)
CMYKcmyk(11.4%, 73.1%, 0%, 21.2%)
CIE-LABlab(47.39, 68.01, -51.71)
CIE-LCHlch(47.39, 85.44, 322.76°)
OKLaboklab(57.64% 0.1778 -0.1448)
OKLCHoklch(57.64% 0.229 320.8)
XYZxyz(30.2207, 16.3220, 56.8057)
Luminance0.1632 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B236C9 #4DC936
analogous
#6836C9 #B236C9 #C93697
triadic
#B236C9 #C9B236 #36C9B2
tetradic
#B236C9 #C96836 #4DC936 #3697C9
square
#B236C9 #C96836 #4DC936 #3697C9
split-complementary
#B236C9 #97C936 #36C968
monochromatic
#5D1C69 #872999 #B236C9 #C466D6 #D796E3

Accessibility & contrast

On white

4.92
#B236C9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#B236C9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B236C9
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B236C9#FFFFFF#000000##FFFFFF
##B236C91.004.924.264.92
#FFFFFF4.921.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CD
Deuteranopia (green-blind)
#4775C6
Tritanopia (blue-blind)
#B3537D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #b236c9;
/* rgb */ color: rgb(178, 54, 201);
/* oklch */ color: oklch(57.6% 0.229 320.8);
Tailwind
colors: {
  custom: {
    50: '#cd79da',
    500: '#b236c9',
    950: '#000000',
  },
}
SCSS
$custom: #b236c9;
$custom-light: #cd79da;
$custom-dark: #000000;
JSON
{
  "hex": "#b236c9",
  "rgb": {
    "r": 178,
    "g": 54,
    "b": 201
  },
  "hsl": {
    "h": 290.612,
    "s": 57.647,
    "l": 50
  },
  "oklch": {
    "l": 0.57642,
    "c": 0.22933,
    "h": 320.8
  },
  "luminance": 0.1632
}

Semantic roles & 50–950 ramp

primary
#B236C9
secondary
#97CE8C
accent
#E1475F
background
#FDF7FD
surface
#FAEEFB
border
#D3C9D4
text
#140A15
muted
#837C83

Preview Lab

Preview with #B236C9

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

Preview Lab → · Contrast checker → · Palette generator →

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