#B325E2#B325E2

#B325E2 is a mid, highly saturated purple. Relative luminance 0.164; OKLCH L 58.3% C 0.265 H 315.3°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#B325E2
RGBrgb(179, 37, 226)
HSLhsl(285, 77%, 52%)
HSVhsv(285, 84%, 89%)
CMYKcmyk(20.8%, 83.6%, 0%, 11.4%)
CIE-LABlab(47.49, 77.66, -65.86)
CIE-LCHlch(47.49, 101.83, 319.70°)
OKLaboklab(58.26% 0.188 -0.1862)
OKLCHoklch(58.26% 0.265 315.3)
XYZxyz(32.9772, 16.3991, 73.3650)
Luminance0.1640 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B325E2 #54E225
analogous
#5525E2 #B325E2 #E225B3
triadic
#B325E2 #E2B325 #25E2B3
tetradic
#B325E2 #E25525 #54E225 #25B3E2
square
#B325E2 #E25525 #54E225 #25B3E2
split-complementary
#B325E2 #B3E225 #25E255
monochromatic
#61117C #8C18B2 #B325E2 #C65BE9 #D991F0

Accessibility & contrast

On white

4.91
#B325E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#B325E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B325E2
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B325E2#FFFFFF#000000##FFFFFF
##B325E21.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069E7
Deuteranopia (green-blind)
#1674DE
Tritanopia (blue-blind)
#AF5688
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #b325e2;
/* rgb */ color: rgb(179, 37, 226);
/* oklch */ color: oklch(58.3% 0.265 315.3);
Tailwind
colors: {
  custom: {
    50: '#cf74ec',
    500: '#b325e2',
    950: '#000000',
  },
}
SCSS
$custom: #b325e2;
$custom-light: #cf74ec;
$custom-dark: #000000;
JSON
{
  "hex": "#b325e2",
  "rgb": {
    "r": 179,
    "g": 37,
    "b": 226
  },
  "hsl": {
    "h": 285.079,
    "s": 76.518,
    "l": 51.569
  },
  "oklch": {
    "l": 0.58264,
    "c": 0.26461,
    "h": 315.3
  },
  "luminance": 0.16398
}

Semantic roles & 50–950 ramp

primary
#B325E2
secondary
#9DDB88
accent
#F33564
background
#FDF7FE
surface
#FAEEFD
border
#D3C9D5
text
#150A16
muted
#837C84

Preview Lab

Preview with #B325E2

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

Preview Lab → · Contrast checker → · Palette generator →

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