#B02AA7#B02AA7

#B02AA7 is a mid, highly saturated purple. Relative luminance 0.137; OKLCH L 54.4% C 0.214 H 331.1°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#B02AA7
RGBrgb(176, 42, 167)
HSLhsl(304, 61%, 43%)
HSVhsv(304, 76%, 69%)
CMYKcmyk(0%, 76.1%, 5.1%, 31%)
CIE-LABlab(43.77, 65.73, -37.56)
CIE-LCHlch(43.77, 75.71, 330.25°)
OKLaboklab(54.36% 0.1875 -0.1036)
OKLCHoklch(54.36% 0.214 331.1)
XYZxyz(25.7075, 13.6781, 37.8379)
Luminance0.1368 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02AA7 #2AB033
analogous
#762AB0 #B02AA7 #B02A64
triadic
#B02AA7 #A7B02A #2AA7B0
tetradic
#B02AA7 #B0762A #2AB033 #2A64B0
square
#B02AA7 #B0762A #2AB033 #2A64B0
split-complementary
#B02AA7 #64B02A #2AB076
monochromatic
#4D1249 #7F1E78 #B02AA7 #D345C9 #DE76D7

Accessibility & contrast

On white

5.62
#B02AA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#B02AA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02AA7
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02AA7#FFFFFF#000000##FFFFFF
##B02AA71.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C5CAA
Deuteranopia (green-blind)
#556EA4
Tritanopia (blue-blind)
#B73C67
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b02aa7;
/* rgb */ color: rgb(176, 42, 167);
/* oklch */ color: oklch(54.4% 0.214 331.1);
Tailwind
colors: {
  custom: {
    50: '#cb73c1',
    500: '#b02aa7',
    950: '#000000',
  },
}
SCSS
$custom: #b02aa7;
$custom-light: #cb73c1;
$custom-dark: #000000;
JSON
{
  "hex": "#b02aa7",
  "rgb": {
    "r": 176,
    "g": 42,
    "b": 167
  },
  "hsl": {
    "h": 304.03,
    "s": 61.468,
    "l": 42.745
  },
  "oklch": {
    "l": 0.54363,
    "c": 0.21419,
    "h": 331.1
  },
  "luminance": 0.13676
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B02AA7

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

Preview Lab → · Contrast checker → · Palette generator →

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