#B02AAA#B02AAA

#B02AAA is a mid, highly saturated purple. Relative luminance 0.138; OKLCH L 54.5% C 0.216 H 330.1°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#B02AAA
RGBrgb(176, 42, 170)
HSLhsl(303, 61%, 43%)
HSVhsv(303, 76%, 69%)
CMYKcmyk(0%, 76.1%, 3.4%, 31%)
CIE-LABlab(43.93, 66.20, -39.09)
CIE-LCHlch(43.93, 76.88, 329.44°)
OKLaboklab(54.53% 0.1875 -0.108)
OKLCHoklch(54.53% 0.216 330.1)
XYZxyz(25.9880, 13.7904, 39.3155)
Luminance0.1379 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02AAA #2AB030
analogous
#732AB0 #B02AAA #B02A67
triadic
#B02AAA #AAB02A #2AAAB0
tetradic
#B02AAA #B0732A #2AB030 #2A67B0
square
#B02AAA #B0732A #2AB030 #2A67B0
split-complementary
#B02AAA #67B02A #2AB073
monochromatic
#4D124B #7F1E7A #B02AAA #D345CC #DE76DA

Accessibility & contrast

On white

5.59
#B02AAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#B02AAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02AAA
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02AAA#FFFFFF#000000##FFFFFF
##B02AAA1.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#165CAD
Deuteranopia (green-blind)
#546EA7
Tritanopia (blue-blind)
#B73D69
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b02aaa;
/* rgb */ color: rgb(176, 42, 170);
/* oklch */ color: oklch(54.5% 0.216 330.1);
Tailwind
colors: {
  custom: {
    50: '#cb73c4',
    500: '#b02aaa',
    950: '#000000',
  },
}
SCSS
$custom: #b02aaa;
$custom-light: #cb73c4;
$custom-dark: #000000;
JSON
{
  "hex": "#b02aaa",
  "rgb": {
    "r": 176,
    "g": 42,
    "b": 170
  },
  "hsl": {
    "h": 302.687,
    "s": 61.468,
    "l": 42.745
  },
  "oklch": {
    "l": 0.54532,
    "c": 0.21638,
    "h": 330.1
  },
  "luminance": 0.13788
}

Semantic roles & 50–950 ramp

primary
#B02AAA
secondary
#70C674
accent
#E54A43
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140912
muted
#837B81

Preview Lab

Preview with #B02AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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