#B03AAA#B03AAA

#B03AAA is a mid, vivid purple. Relative luminance 0.152; OKLCH L 55.9% C 0.198 H 330.0°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#B03AAA
RGBrgb(176, 58, 170)
HSLhsl(303, 50%, 46%)
HSVhsv(303, 67%, 69%)
CMYKcmyk(0%, 67%, 3.4%, 31%)
CIE-LABlab(45.85, 60.74, -36.05)
CIE-LCHlch(45.85, 70.64, 329.31°)
OKLaboklab(55.91% 0.1719 -0.0993)
OKLCHoklch(55.91% 0.198 330)
XYZxyz(26.6731, 15.1605, 39.5438)
Luminance0.1516 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B03AAA #3AB040
analogous
#7B3AB0 #B03AAA #B03A6F
triadic
#B03AAA #AAB03A #3AAAB0
tetradic
#B03AAA #B07B3A #3AB040 #3A6FB0
square
#B03AAA #B07B3A #3AB040 #3A6FB0
split-complementary
#B03AAA #6FB03A #3AB07B
monochromatic
#541C51 #822B7E #B03AAA #CA5DC4 #D98BD5

Accessibility & contrast

On white

5.21
#B03AAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#B03AAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B03AAA
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B03AAA#FFFFFF#000000##FFFFFF
##B03AAA1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F62AD
Deuteranopia (green-blind)
#5B72A7
Tritanopia (blue-blind)
#B6486D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b03aaa;
/* rgb */ color: rgb(176, 58, 170);
/* oklch */ color: oklch(55.9% 0.198 330.0);
Tailwind
colors: {
  custom: {
    50: '#cb7ac4',
    500: '#b03aaa',
    950: '#000000',
  },
}
SCSS
$custom: #b03aaa;
$custom-light: #cb7ac4;
$custom-dark: #000000;
JSON
{
  "hex": "#b03aaa",
  "rgb": {
    "r": 176,
    "g": 58,
    "b": 170
  },
  "hsl": {
    "h": 303.051,
    "s": 50.427,
    "l": 45.882
  },
  "oklch": {
    "l": 0.55914,
    "c": 0.19848,
    "h": 330
  },
  "luminance": 0.15158
}

Semantic roles & 50–950 ramp

primary
#B03AAA
secondary
#82C386
accent
#DA554E
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140A12
muted
#827C81

Preview Lab

Preview with #B03AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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