#B02AAF#B02AAF

#B02AAF is a mid, highly saturated purple. Relative luminance 0.140; OKLCH L 54.8% C 0.220 H 328.4°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#B02AAF
RGBrgb(176, 42, 175)
HSLhsl(300, 61%, 43%)
HSVhsv(300, 76%, 69%)
CMYKcmyk(0%, 76.1%, 0.6%, 31%)
CIE-LABlab(44.21, 67.00, -41.61)
CIE-LCHlch(44.21, 78.87, 328.16°)
OKLaboklab(54.82% 0.1875 -0.1153)
OKLCHoklch(54.82% 0.22 328.4)
XYZxyz(26.4700, 13.9832, 41.8540)
Luminance0.1398 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02AAF #2AB02B
analogous
#6E2AB0 #B02AAF #B02A6C
triadic
#B02AAF #AFB02A #2AAFB0
tetradic
#B02AAF #B06E2A #2AB02B #2A6CB0
square
#B02AAF #B06E2A #2AB02B #2A6CB0
split-complementary
#B02AAF #6CB02A #2AB06E
monochromatic
#4D124D #7F1E7E #B02AAF #D345D1 #DE76DE

Accessibility & contrast

On white

5.53
#B02AAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#B02AAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02AAF
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02AAF#FFFFFF#000000##FFFFFF
##B02AAF1.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#095DB3
Deuteranopia (green-blind)
#516FAC
Tritanopia (blue-blind)
#B6406B
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b02aaf;
/* rgb */ color: rgb(176, 42, 175);
/* oklch */ color: oklch(54.8% 0.220 328.4);
Tailwind
colors: {
  custom: {
    50: '#cc73c7',
    500: '#b02aaf',
    950: '#000000',
  },
}
SCSS
$custom: #b02aaf;
$custom-light: #cc73c7;
$custom-dark: #000000;
JSON
{
  "hex": "#b02aaf",
  "rgb": {
    "r": 176,
    "g": 42,
    "b": 175
  },
  "hsl": {
    "h": 300.448,
    "s": 61.468,
    "l": 42.745
  },
  "oklch": {
    "l": 0.5482,
    "c": 0.22009,
    "h": 328.4
  },
  "luminance": 0.13981
}

Semantic roles & 50–950 ramp

primary
#B02AAF
secondary
#70C670
accent
#E54443
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B02AAF

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

Preview Lab → · Contrast checker → · Palette generator →

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