#B02AC5#B02AC5

#B02AC5 is a mid, highly saturated purple. Relative luminance 0.149; OKLCH L 56.2% C 0.237 H 321.7°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#B02AC5
RGBrgb(176, 42, 197)
HSLhsl(292, 65%, 47%)
HSVhsv(292, 79%, 77%)
CMYKcmyk(10.7%, 78.7%, 0%, 22.7%)
CIE-LABlab(45.52, 70.68, -52.41)
CIE-LCHlch(45.52, 87.99, 323.45°)
OKLaboklab(56.17% 0.186 -0.1468)
OKLCHoklch(56.17% 0.237 321.7)
XYZxyz(28.8094, 14.9189, 54.1747)
Luminance0.1492 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02AC5 #3FC52A
analogous
#632AC5 #B02AC5 #C52A8D
triadic
#B02AC5 #C5B02A #2AC5B0
tetradic
#B02AC5 #C5632A #3FC52A #2A8DC5
square
#B02AC5 #C5632A #3FC52A #2A8DC5
split-complementary
#B02AC5 #8DC52A #2AC563
monochromatic
#561460 #831F93 #B02AC5 #C852DA #D885E5

Accessibility & contrast

On white

5.27
#B02AC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#B02AC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02AC5
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02AC5#FFFFFF#000000##FFFFFF
##B02AC51.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C9
Deuteranopia (green-blind)
#4171C2
Tritanopia (blue-blind)
#B24B78
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b02ac5;
/* rgb */ color: rgb(176, 42, 197);
/* oklch */ color: oklch(56.2% 0.237 321.7);
Tailwind
colors: {
  custom: {
    50: '#cc74d7',
    500: '#b02ac5',
    950: '#000000',
  },
}
SCSS
$custom: #b02ac5;
$custom-light: #cc74d7;
$custom-dark: #000000;
JSON
{
  "hex": "#b02ac5",
  "rgb": {
    "r": 176,
    "g": 42,
    "b": 197
  },
  "hsl": {
    "h": 291.871,
    "s": 64.854,
    "l": 46.863
  },
  "oklch": {
    "l": 0.56174,
    "c": 0.23697,
    "h": 321.7
  },
  "luminance": 0.14917
}

Semantic roles & 50–950 ramp

primary
#B02AC5
secondary
#88CE7D
accent
#E84057
background
#FDF7FD
surface
#FAEEFA
border
#D3C9D3
text
#140914
muted
#837B83

Preview Lab

Preview with #B02AC5

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

Preview Lab → · Contrast checker → · Palette generator →

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