#B02AA3#B02AA3

#B02AA3 is a mid, highly saturated purple. Relative luminance 0.135; OKLCH L 54.1% C 0.211 H 332.5°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#B02AA3
RGBrgb(176, 42, 163)
HSLhsl(306, 61%, 43%)
HSVhsv(306, 76%, 69%)
CMYKcmyk(0%, 76.1%, 7.4%, 31%)
CIE-LABlab(43.55, 65.12, -35.51)
CIE-LCHlch(43.55, 74.17, 331.39°)
OKLaboklab(54.14% 0.1874 -0.0976)
OKLCHoklch(54.14% 0.211 332.5)
XYZxyz(25.3434, 13.5325, 35.9205)
Luminance0.1353 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02AA3 #2AB037
analogous
#7A2AB0 #B02AA3 #B02A60
triadic
#B02AA3 #A3B02A #2AA3B0
tetradic
#B02AA3 #B07A2A #2AB037 #2A60B0
square
#B02AA3 #B07A2A #2AB037 #2A60B0
split-complementary
#B02AA3 #60B02A #2AB07A
monochromatic
#4D1247 #7F1E75 #B02AA3 #D345C5 #DE76D4

Accessibility & contrast

On white

5.67
#B02AA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#B02AA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02AA3
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02AA3#FFFFFF#000000##FFFFFF
##B02AA31.005.673.715.67
#FFFFFF5.671.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#215BA6
Deuteranopia (green-blind)
#576EA0
Tritanopia (blue-blind)
#B83965
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b02aa3;
/* rgb */ color: rgb(176, 42, 163);
/* oklch */ color: oklch(54.1% 0.211 332.5);
Tailwind
colors: {
  custom: {
    50: '#cb73be',
    500: '#b02aa3',
    950: '#000000',
  },
}
SCSS
$custom: #b02aa3;
$custom-light: #cb73be;
$custom-dark: #000000;
JSON
{
  "hex": "#b02aa3",
  "rgb": {
    "r": 176,
    "g": 42,
    "b": 163
  },
  "hsl": {
    "h": 305.821,
    "s": 61.468,
    "l": 42.745
  },
  "oklch": {
    "l": 0.54142,
    "c": 0.21129,
    "h": 332.5
  },
  "luminance": 0.1353
}

Semantic roles & 50–950 ramp

primary
#B02AA3
secondary
#70C678
accent
#E55343
background
#FDF7FB
surface
#FAEDF7
border
#D3C8D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B02AA3

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

Preview Lab → · Contrast checker → · Palette generator →

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