#B236AF#B236AF

#B236AF is a mid, highly saturated purple. Relative luminance 0.152; OKLCH L 56.1% C 0.208 H 328.9°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#B236AF
RGBrgb(178, 54, 175)
HSLhsl(301, 53%, 45%)
HSVhsv(301, 70%, 70%)
CMYKcmyk(0%, 69.7%, 1.7%, 30.2%)
CIE-LABlab(45.91, 63.52, -38.90)
CIE-LCHlch(45.91, 74.49, 328.52°)
OKLaboklab(56.1% 0.1785 -0.1075)
OKLCHoklch(56.1% 0.208 328.9)
XYZxyz(27.4169, 15.2005, 42.0391)
Luminance0.1520 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B236AF #36B239
analogous
#7736B2 #B236AF #B23671
triadic
#B236AF #AFB236 #36AFB2
tetradic
#B236AF #B27736 #36B239 #3671B2
square
#B236AF #B27736 #36B239 #3671B2
split-complementary
#B236AF #71B236 #36B277
monochromatic
#541A53 #832881 #B236AF #CD59CA #DB88D9

Accessibility & contrast

On white

5.20
#B236AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#B236AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B236AF
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B236AF#FFFFFF#000000##FFFFFF
##B236AF1.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2562B2
Deuteranopia (green-blind)
#5872AC
Tritanopia (blue-blind)
#B8476F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b236af;
/* rgb */ color: rgb(178, 54, 175);
/* oklch */ color: oklch(56.1% 0.208 328.9);
Tailwind
colors: {
  custom: {
    50: '#cd78c7',
    500: '#b236af',
    950: '#000000',
  },
}
SCSS
$custom: #b236af;
$custom-light: #cd78c7;
$custom-dark: #000000;
JSON
{
  "hex": "#b236af",
  "rgb": {
    "r": 178,
    "g": 54,
    "b": 175
  },
  "hsl": {
    "h": 301.452,
    "s": 53.448,
    "l": 45.49
  },
  "oklch": {
    "l": 0.561,
    "c": 0.20834,
    "h": 328.9
  },
  "luminance": 0.15198
}

Semantic roles & 50–950 ramp

primary
#B236AF
secondary
#7FC581
accent
#DD4E4B
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A13
muted
#837C82

Preview Lab

Preview with #B236AF

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

Preview Lab → · Contrast checker → · Palette generator →

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