#B236B4#B236B4

#B236B4 is a mid, highly saturated purple. Relative luminance 0.154; OKLCH L 56.4% C 0.212 H 327.3°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#B236B4
RGBrgb(178, 54, 180)
HSLhsl(299, 54%, 46%)
HSVhsv(299, 70%, 71%)
CMYKcmyk(1.1%, 70%, 0%, 29.4%)
CIE-LABlab(46.18, 64.36, -41.41)
CIE-LCHlch(46.18, 76.53, 327.24°)
OKLaboklab(56.38% 0.1786 -0.1148)
OKLCHoklch(56.38% 0.212 327.3)
XYZxyz(27.9171, 15.4005, 44.6734)
Luminance0.1540 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B236B4 #38B436
analogous
#7336B4 #B236B4 #B43677
triadic
#B236B4 #B4B236 #36B4B2
tetradic
#B236B4 #B47336 #38B436 #3677B4
square
#B236B4 #B47336 #38B436 #3677B4
split-complementary
#B236B4 #77B436 #36B473
monochromatic
#551A56 #832885 #B236B4 #CC5ACD #DA89DC

Accessibility & contrast

On white

5.15
#B236B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#B236B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B236B4
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B236B4#FFFFFF#000000##FFFFFF
##B236B41.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E63B8
Deuteranopia (green-blind)
#5573B1
Tritanopia (blue-blind)
#B74971
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b236b4;
/* rgb */ color: rgb(178, 54, 180);
/* oklch */ color: oklch(56.4% 0.212 327.3);
Tailwind
colors: {
  custom: {
    50: '#cd79cb',
    500: '#b236b4',
    950: '#000000',
  },
}
SCSS
$custom: #b236b4;
$custom-light: #cd79cb;
$custom-dark: #000000;
JSON
{
  "hex": "#b236b4",
  "rgb": {
    "r": 178,
    "g": 54,
    "b": 180
  },
  "hsl": {
    "h": 299.048,
    "s": 53.846,
    "l": 45.882
  },
  "oklch": {
    "l": 0.56382,
    "c": 0.21227,
    "h": 327.3
  },
  "luminance": 0.15399
}

Semantic roles & 50–950 ramp

primary
#B236B4
secondary
#81C680
accent
#DD4B4D
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A13
muted
#837C82

Preview Lab

Preview with #B236B4

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

Preview Lab → · Contrast checker → · Palette generator →

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