#B325A2#B325A2

#B325A2 is a mid, highly saturated purple. Relative luminance 0.135; OKLCH L 54.2% C 0.217 H 333.8°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#B325A2
RGBrgb(179, 37, 162)
HSLhsl(307, 66%, 42%)
HSVhsv(307, 79%, 70%)
CMYKcmyk(0%, 79.3%, 9.5%, 29.8%)
CIE-LABlab(43.53, 67.02, -34.92)
CIE-LCHlch(43.53, 75.57, 332.48°)
OKLaboklab(54.21% 0.1944 -0.0958)
OKLCHoklch(54.21% 0.217 333.8)
XYZxyz(25.7738, 13.5178, 35.4272)
Luminance0.1351 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B325A2 #25B336
analogous
#7D25B3 #B325A2 #B3255B
triadic
#B325A2 #A2B325 #25A2B3
tetradic
#B325A2 #B37D25 #25B336 #255BB3
square
#B325A2 #B37D25 #25B336 #255BB3
split-complementary
#B325A2 #5BB325 #25B37D
monochromatic
#4E1046 #801B74 #B325A2 #D73EC5 #E271D4

Accessibility & contrast

On white

5.67
#B325A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#B325A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B325A2
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B325A2#FFFFFF#000000##FFFFFF
##B325A21.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#205AA5
Deuteranopia (green-blind)
#596E9F
Tritanopia (blue-blind)
#BC3563
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b325a2;
/* rgb */ color: rgb(179, 37, 162);
/* oklch */ color: oklch(54.2% 0.217 333.8);
Tailwind
colors: {
  custom: {
    50: '#ce71be',
    500: '#b325a2',
    950: '#000000',
  },
}
SCSS
$custom: #b325a2;
$custom-light: #ce71be;
$custom-dark: #000000;
JSON
{
  "hex": "#b325a2",
  "rgb": {
    "r": 179,
    "g": 37,
    "b": 162
  },
  "hsl": {
    "h": 307.183,
    "s": 65.741,
    "l": 42.353
  },
  "oklch": {
    "l": 0.54207,
    "c": 0.21676,
    "h": 333.8
  },
  "luminance": 0.13515
}

Semantic roles & 50–950 ramp

primary
#B325A2
secondary
#6BC877
accent
#E9533F
background
#FDF7FB
surface
#FAEDF7
border
#D3C8D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B325A2

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

Preview Lab → · Contrast checker → · Palette generator →

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