#B03BA2#B03BA2

#B03BA2 is a mid, vivid purple. Relative luminance 0.150; OKLCH L 55.6% C 0.191 H 333.0°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#B03BA2
RGBrgb(176, 59, 162)
HSLhsl(307, 50%, 46%)
HSVhsv(307, 66%, 69%)
CMYKcmyk(0%, 66.5%, 8%, 31%)
CIE-LABlab(45.59, 59.05, -31.71)
CIE-LCHlch(45.59, 67.03, 331.76°)
OKLaboklab(55.59% 0.1701 -0.0868)
OKLCHoklch(55.59% 0.191 333)
XYZxyz(25.9901, 14.9687, 35.6958)
Luminance0.1497 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B03BA2 #3BB049
analogous
#833BB0 #B03BA2 #B03B68
triadic
#B03BA2 #A2B03B #3BA2B0
tetradic
#B03BA2 #B0833B #3BB049 #3B68B0
square
#B03BA2 #B0833B #3BB049 #3B68B0
split-complementary
#B03BA2 #68B03B #3BB083
monochromatic
#541C4E #822C78 #B03BA2 #C95FBD #D98DD0

Accessibility & contrast

On white

5.26
#B03BA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#B03BA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B03BA2
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B03BA2#FFFFFF#000000##FFFFFF
##B03BA21.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b03ba2;
/* rgb */ color: rgb(176, 59, 162);
/* oklch */ color: oklch(55.6% 0.191 333.0);
Tailwind
colors: {
  custom: {
    50: '#cb7abe',
    500: '#b03ba2',
    950: '#000000',
  },
}
SCSS
$custom: #b03ba2;
$custom-light: #cb7abe;
$custom-dark: #000000;
JSON
{
  "hex": "#b03ba2",
  "rgb": {
    "r": 176,
    "g": 59,
    "b": 162
  },
  "hsl": {
    "h": 307.179,
    "s": 49.787,
    "l": 46.078
  },
  "oklch": {
    "l": 0.55594,
    "c": 0.19096,
    "h": 333
  },
  "luminance": 0.14967
}

Semantic roles & 50–950 ramp

primary
#B03BA2
secondary
#83C38B
accent
#D95F4E
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#140A12
muted
#827C81

Preview Lab

Preview with #B03BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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