#B02AA5#B02AA5

#B02AA5 is a mid, highly saturated purple. Relative luminance 0.136; OKLCH L 54.3% C 0.213 H 331.8°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#B02AA5
RGBrgb(176, 42, 165)
HSLhsl(305, 61%, 43%)
HSVhsv(305, 76%, 69%)
CMYKcmyk(0%, 76.1%, 6.2%, 31%)
CIE-LABlab(43.66, 65.42, -36.54)
CIE-LCHlch(43.66, 74.94, 330.82°)
OKLaboklab(54.25% 0.1874 -0.1006)
OKLCHoklch(54.25% 0.213 331.8)
XYZxyz(25.5240, 13.6048, 36.8717)
Luminance0.1360 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02AA5 #2AB035
analogous
#782AB0 #B02AA5 #B02A62
triadic
#B02AA5 #A5B02A #2AA5B0
tetradic
#B02AA5 #B0782A #2AB035 #2A62B0
square
#B02AA5 #B0782A #2AB035 #2A62B0
split-complementary
#B02AA5 #62B02A #2AB078
monochromatic
#4D1248 #7F1E77 #B02AA5 #D345C7 #DE76D6

Accessibility & contrast

On white

5.64
#B02AA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#B02AA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02AA5
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02AA5#FFFFFF#000000##FFFFFF
##B02AA51.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F5BA8
Deuteranopia (green-blind)
#566EA2
Tritanopia (blue-blind)
#B73B66
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b02aa5;
/* rgb */ color: rgb(176, 42, 165);
/* oklch */ color: oklch(54.3% 0.213 331.8);
Tailwind
colors: {
  custom: {
    50: '#cb73c0',
    500: '#b02aa5',
    950: '#000000',
  },
}
SCSS
$custom: #b02aa5;
$custom-light: #cb73c0;
$custom-dark: #000000;
JSON
{
  "hex": "#b02aa5",
  "rgb": {
    "r": 176,
    "g": 42,
    "b": 165
  },
  "hsl": {
    "h": 304.925,
    "s": 61.468,
    "l": 42.745
  },
  "oklch": {
    "l": 0.54252,
    "c": 0.21273,
    "h": 331.8
  },
  "luminance": 0.13603
}

Semantic roles & 50–950 ramp

primary
#B02AA5
secondary
#70C677
accent
#E55043
background
#FDF7FB
surface
#FAEDF7
border
#D3C8D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B02AA5

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

Preview Lab → · Contrast checker → · Palette generator →

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