#B236B3#B236B3

#B236B3 is a mid, highly saturated purple. Relative luminance 0.154; OKLCH L 56.3% C 0.211 H 327.6°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#B236B3
RGBrgb(178, 54, 179)
HSLhsl(300, 54%, 46%)
HSVhsv(300, 70%, 70%)
CMYKcmyk(0.6%, 69.8%, 0%, 29.8%)
CIE-LABlab(46.12, 64.19, -40.91)
CIE-LCHlch(46.12, 76.12, 327.49°)
OKLaboklab(56.33% 0.1786 -0.1133)
OKLCHoklch(56.33% 0.211 327.6)
XYZxyz(27.8156, 15.3599, 44.1388)
Luminance0.1536 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B236B3 #37B336
analogous
#7336B3 #B236B3 #B33675
triadic
#B236B3 #B3B236 #36B3B2
tetradic
#B236B3 #B37336 #37B336 #3675B3
square
#B236B3 #B37336 #37B336 #3675B3
split-complementary
#B236B3 #75B336 #36B373
monochromatic
#541A55 #832884 #B236B3 #CC59CD #DB88DB

Accessibility & contrast

On white

5.16
#B236B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#B236B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B236B3
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B236B3#FFFFFF#000000##FFFFFF
##B236B31.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2063B7
Deuteranopia (green-blind)
#5673B0
Tritanopia (blue-blind)
#B74971
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b236b3;
/* rgb */ color: rgb(178, 54, 179);
/* oklch */ color: oklch(56.3% 0.211 327.6);
Tailwind
colors: {
  custom: {
    50: '#cd78ca',
    500: '#b236b3',
    950: '#000000',
  },
}
SCSS
$custom: #b236b3;
$custom-light: #cd78ca;
$custom-dark: #000000;
JSON
{
  "hex": "#b236b3",
  "rgb": {
    "r": 178,
    "g": 54,
    "b": 179
  },
  "hsl": {
    "h": 299.52,
    "s": 53.648,
    "l": 45.686
  },
  "oklch": {
    "l": 0.56325,
    "c": 0.21148,
    "h": 327.6
  },
  "luminance": 0.15358
}

Semantic roles & 50–950 ramp

primary
#B236B3
secondary
#80C580
accent
#DD4B4C
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A13
muted
#837C82

Preview Lab

Preview with #B236B3

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

Preview Lab → · Contrast checker → · Palette generator →

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