#B02AA4#B02AA4

#B02AA4 is a mid, highly saturated purple. Relative luminance 0.136; OKLCH L 54.2% C 0.212 H 332.1°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#B02AA4
RGBrgb(176, 42, 164)
HSLhsl(305, 61%, 43%)
HSVhsv(305, 76%, 69%)
CMYKcmyk(0%, 76.1%, 6.8%, 31%)
CIE-LABlab(43.61, 65.27, -36.03)
CIE-LCHlch(43.61, 74.55, 331.10°)
OKLaboklab(54.2% 0.1874 -0.0991)
OKLCHoklch(54.2% 0.212 332.1)
XYZxyz(25.4334, 13.5685, 36.3942)
Luminance0.1357 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02AA4 #2AB036
analogous
#792AB0 #B02AA4 #B02A61
triadic
#B02AA4 #A4B02A #2AA4B0
tetradic
#B02AA4 #B0792A #2AB036 #2A61B0
square
#B02AA4 #B0792A #2AB036 #2A61B0
split-complementary
#B02AA4 #61B02A #2AB079
monochromatic
#4D1248 #7F1E76 #B02AA4 #D345C6 #DE76D5

Accessibility & contrast

On white

5.66
#B02AA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#B02AA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02AA4
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02AA4#FFFFFF#000000##FFFFFF
##B02AA41.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#205BA7
Deuteranopia (green-blind)
#576EA1
Tritanopia (blue-blind)
#B83A65
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b02aa4;
/* rgb */ color: rgb(176, 42, 164);
/* oklch */ color: oklch(54.2% 0.212 332.1);
Tailwind
colors: {
  custom: {
    50: '#cb73bf',
    500: '#b02aa4',
    950: '#000000',
  },
}
SCSS
$custom: #b02aa4;
$custom-light: #cb73bf;
$custom-dark: #000000;
JSON
{
  "hex": "#b02aa4",
  "rgb": {
    "r": 176,
    "g": 42,
    "b": 164
  },
  "hsl": {
    "h": 305.373,
    "s": 61.468,
    "l": 42.745
  },
  "oklch": {
    "l": 0.54197,
    "c": 0.212,
    "h": 332.1
  },
  "luminance": 0.13566
}

Semantic roles & 50–950 ramp

primary
#B02AA4
secondary
#70C678
accent
#E55243
background
#FDF7FB
surface
#FAEDF7
border
#D3C8D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B02AA4

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

Preview Lab → · Contrast checker → · Palette generator →

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