#B320B2#B320B2

#B320B2 is a mid, highly saturated purple. Relative luminance 0.138; OKLCH L 54.8% C 0.232 H 328.5°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#B320B2
RGBrgb(179, 32, 178)
HSLhsl(300, 70%, 41%)
HSVhsv(300, 82%, 70%)
CMYKcmyk(0%, 82.1%, 0.6%, 29.8%)
CIE-LABlab(43.99, 70.67, -43.70)
CIE-LCHlch(43.99, 83.09, 328.27°)
OKLaboklab(54.82% 0.1979 -0.1212)
OKLCHoklch(54.82% 0.232 328.5)
XYZxyz(27.1425, 13.8332, 43.3514)
Luminance0.1383 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B320B2 #20B321
analogous
#6B20B3 #B320B2 #B32069
triadic
#B320B2 #B2B320 #20B2B3
tetradic
#B320B2 #B36B20 #20B321 #2069B3
square
#B320B2 #B36B20 #20B321 #2069B3
split-complementary
#B320B2 #69B320 #20B36B
monochromatic
#4B0D4B #7F177E #B320B2 #DB35DA #E469E3

Accessibility & contrast

On white

5.58
#B320B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#B320B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B320B2
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B320B2#FFFFFF#000000##FFFFFF
##B320B21.005.583.775.58
#FFFFFF5.581.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB6
Deuteranopia (green-blind)
#4E6EAF
Tritanopia (blue-blind)
#B93B6B
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b320b2;
/* rgb */ color: rgb(179, 32, 178);
/* oklch */ color: oklch(54.8% 0.232 328.5);
Tailwind
colors: {
  custom: {
    50: '#ce70c9',
    500: '#b320b2',
    950: '#000000',
  },
}
SCSS
$custom: #b320b2;
$custom-light: #ce70c9;
$custom-dark: #000000;
JSON
{
  "hex": "#b320b2",
  "rgb": {
    "r": 179,
    "g": 32,
    "b": 178
  },
  "hsl": {
    "h": 300.408,
    "s": 69.668,
    "l": 41.373
  },
  "oklch": {
    "l": 0.54819,
    "c": 0.23205,
    "h": 328.5
  },
  "luminance": 0.13831
}

Semantic roles & 50–950 ramp

primary
#B320B2
secondary
#65CA66
accent
#EC3D3B
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B320B2

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

Preview Lab → · Contrast checker → · Palette generator →

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