#B02AA0#B02AA0

#B02AA0 is a mid, highly saturated purple. Relative luminance 0.134; OKLCH L 54.0% C 0.209 H 333.5°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#B02AA0
RGBrgb(176, 42, 160)
HSLhsl(307, 61%, 43%)
HSVhsv(307, 76%, 69%)
CMYKcmyk(0%, 76.1%, 9.1%, 31%)
CIE-LABlab(43.40, 64.66, -33.97)
CIE-LCHlch(43.40, 73.04, 332.29°)
OKLaboklab(53.98% 0.1872 -0.0932)
OKLCHoklch(53.98% 0.209 333.5)
XYZxyz(25.0778, 13.4263, 34.5216)
Luminance0.1342 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02AA0 #2AB03A
analogous
#7D2AB0 #B02AA0 #B02A5D
triadic
#B02AA0 #A0B02A #2AA0B0
tetradic
#B02AA0 #B07D2A #2AB03A #2A5DB0
square
#B02AA0 #B07D2A #2AB03A #2A5DB0
split-complementary
#B02AA0 #5DB02A #2AB07D
monochromatic
#4D1246 #7F1E73 #B02AA0 #D345C2 #DE76D2

Accessibility & contrast

On white

5.70
#B02AA0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#B02AA0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02AA0
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02AA0#FFFFFF#000000##FFFFFF
##B02AA01.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#255AA3
Deuteranopia (green-blind)
#596D9D
Tritanopia (blue-blind)
#B83863
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b02aa0;
/* rgb */ color: rgb(176, 42, 160);
/* oklch */ color: oklch(54.0% 0.209 333.5);
Tailwind
colors: {
  custom: {
    50: '#cb72bc',
    500: '#b02aa0',
    950: '#000000',
  },
}
SCSS
$custom: #b02aa0;
$custom-light: #cb72bc;
$custom-dark: #000000;
JSON
{
  "hex": "#b02aa0",
  "rgb": {
    "r": 176,
    "g": 42,
    "b": 160
  },
  "hsl": {
    "h": 307.164,
    "s": 61.468,
    "l": 42.745
  },
  "oklch": {
    "l": 0.53979,
    "c": 0.20914,
    "h": 333.5
  },
  "luminance": 0.13424
}

Semantic roles & 50–950 ramp

primary
#B02AA0
secondary
#70C67A
accent
#E55643
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B02AA0

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

Preview Lab → · Contrast checker → · Palette generator →

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