#B02AA6#B02AA6

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

Color values

HEX#B02AA6
RGBrgb(176, 42, 166)
HSLhsl(304, 61%, 43%)
HSVhsv(304, 76%, 69%)
CMYKcmyk(0%, 76.1%, 5.7%, 31%)
CIE-LABlab(43.71, 65.58, -37.05)
CIE-LCHlch(43.71, 75.32, 330.53°)
OKLaboklab(54.31% 0.1875 -0.1021)
OKLCHoklch(54.31% 0.213 331.4)
XYZxyz(25.6154, 13.6413, 37.3529)
Luminance0.1364 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02AA6 #2AB034
analogous
#772AB0 #B02AA6 #B02A63
triadic
#B02AA6 #A6B02A #2AA6B0
tetradic
#B02AA6 #B0772A #2AB034 #2A63B0
square
#B02AA6 #B0772A #2AB034 #2A63B0
split-complementary
#B02AA6 #63B02A #2AB077
monochromatic
#4D1249 #7F1E77 #B02AA6 #D345C8 #DE76D7

Accessibility & contrast

On white

5.63
#B02AA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#B02AA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02AA6
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02AA6#FFFFFF#000000##FFFFFF
##B02AA61.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b02aa6;
/* rgb */ color: rgb(176, 42, 166);
/* oklch */ color: oklch(54.3% 0.213 331.4);
Tailwind
colors: {
  custom: {
    50: '#cb73c1',
    500: '#b02aa6',
    950: '#000000',
  },
}
SCSS
$custom: #b02aa6;
$custom-light: #cb73c1;
$custom-dark: #000000;
JSON
{
  "hex": "#b02aa6",
  "rgb": {
    "r": 176,
    "g": 42,
    "b": 166
  },
  "hsl": {
    "h": 304.478,
    "s": 61.468,
    "l": 42.745
  },
  "oklch": {
    "l": 0.54307,
    "c": 0.21346,
    "h": 331.4
  },
  "luminance": 0.13639
}

Semantic roles & 50–950 ramp

primary
#B02AA6
secondary
#70C676
accent
#E54F43
background
#FDF7FB
surface
#FAEDF7
border
#D3C8D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B02AA6

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

Preview Lab → · Contrast checker → · Palette generator →

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