#B03AA2#B03AA2

#B03AA2 is a mid, vivid purple. Relative luminance 0.149; OKLCH L 55.5% C 0.192 H 332.9°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#B03AA2
RGBrgb(176, 58, 162)
HSLhsl(307, 50%, 46%)
HSVhsv(307, 67%, 69%)
CMYKcmyk(0%, 67%, 8%, 31%)
CIE-LABlab(45.45, 59.45, -31.93)
CIE-LCHlch(45.45, 67.48, 331.76°)
OKLaboklab(55.49% 0.1712 -0.0875)
OKLCHoklch(55.49% 0.192 332.9)
XYZxyz(25.9392, 14.8669, 35.6788)
Luminance0.1487 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B03AA2 #3AB048
analogous
#833AB0 #B03AA2 #B03A67
triadic
#B03AA2 #A2B03A #3AA2B0
tetradic
#B03AA2 #B0833A #3AB048 #3A67B0
square
#B03AA2 #B0833A #3AB048 #3A67B0
split-complementary
#B03AA2 #67B03A #3AB083
monochromatic
#541C4D #822B78 #B03AA2 #CA5DBD #D98BD0

Accessibility & contrast

On white

5.29
#B03AA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#B03AA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B03AA2
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B03AA2#FFFFFF#000000##FFFFFF
##B03AA21.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3661A5
Deuteranopia (green-blind)
#5F729F
Tritanopia (blue-blind)
#B84569
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b03aa2;
/* rgb */ color: rgb(176, 58, 162);
/* oklch */ color: oklch(55.5% 0.192 332.9);
Tailwind
colors: {
  custom: {
    50: '#cb7abe',
    500: '#b03aa2',
    950: '#000000',
  },
}
SCSS
$custom: #b03aa2;
$custom-light: #cb7abe;
$custom-dark: #000000;
JSON
{
  "hex": "#b03aa2",
  "rgb": {
    "r": 176,
    "g": 58,
    "b": 162
  },
  "hsl": {
    "h": 307.119,
    "s": 50.427,
    "l": 45.882
  },
  "oklch": {
    "l": 0.55492,
    "c": 0.19226,
    "h": 332.9
  },
  "luminance": 0.14865
}

Semantic roles & 50–950 ramp

primary
#B03AA2
secondary
#82C38A
accent
#DA5E4E
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#140A12
muted
#827C81

Preview Lab

Preview with #B03AA2

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

Preview Lab → · Contrast checker → · Palette generator →

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