#B03AA1#B03AA1

#B03AA1 is a mid, vivid purple. Relative luminance 0.148; OKLCH L 55.4% C 0.191 H 333.3°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#B03AA1
RGBrgb(176, 58, 161)
HSLhsl(308, 50%, 46%)
HSVhsv(308, 67%, 69%)
CMYKcmyk(0%, 67%, 8.5%, 31%)
CIE-LABlab(45.40, 59.29, -31.41)
CIE-LCHlch(45.40, 67.09, 332.08°)
OKLaboklab(55.44% 0.1711 -0.086)
OKLCHoklch(55.44% 0.191 333.3)
XYZxyz(25.8507, 14.8315, 35.2126)
Luminance0.1483 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B03AA1 #3AB049
analogous
#843AB0 #B03AA1 #B03A66
triadic
#B03AA1 #A1B03A #3AA1B0
tetradic
#B03AA1 #B0843A #3AB049 #3A66B0
square
#B03AA1 #B0843A #3AB049 #3A66B0
split-complementary
#B03AA1 #66B03A #3AB084
monochromatic
#541C4D #822B77 #B03AA1 #CA5DBC #D98BCF

Accessibility & contrast

On white

5.30
#B03AA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B03AA1
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B03AA1#FFFFFF#000000##FFFFFF
##B03AA11.005.303.975.30
#FFFFFF5.301.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3761A4
Deuteranopia (green-blind)
#5F729E
Tritanopia (blue-blind)
#B84468
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b03aa1;
/* rgb */ color: rgb(176, 58, 161);
/* oklch */ color: oklch(55.4% 0.191 333.3);
Tailwind
colors: {
  custom: {
    50: '#cb7abd',
    500: '#b03aa1',
    950: '#000000',
  },
}
SCSS
$custom: #b03aa1;
$custom-light: #cb7abd;
$custom-dark: #000000;
JSON
{
  "hex": "#b03aa1",
  "rgb": {
    "r": 176,
    "g": 58,
    "b": 161
  },
  "hsl": {
    "h": 307.627,
    "s": 50.427,
    "l": 45.882
  },
  "oklch": {
    "l": 0.55441,
    "c": 0.19149,
    "h": 333.3
  },
  "luminance": 0.14829
}

Semantic roles & 50–950 ramp

primary
#B03AA1
secondary
#82C38B
accent
#DA604E
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#140A12
muted
#827C81

Preview Lab

Preview with #B03AA1

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

Preview Lab → · Contrast checker → · Palette generator →

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