#B03FA5#B03FA5

#B03FA5 is a mid, vivid purple. Relative luminance 0.155; OKLCH L 56.2% C 0.188 H 331.8°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#B03FA5
RGBrgb(176, 63, 165)
HSLhsl(306, 47%, 47%)
HSVhsv(306, 64%, 69%)
CMYKcmyk(0%, 64.2%, 6.2%, 31%)
CIE-LABlab(46.32, 57.93, -32.36)
CIE-LCHlch(46.32, 66.35, 330.81°)
OKLaboklab(56.17% 0.1657 -0.0887)
OKLCHoklch(56.17% 0.188 331.8)
XYZxyz(26.4735, 15.5037, 37.1882)
Luminance0.1550 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B03FA5 #3FB04A
analogous
#833FB0 #B03FA5 #B03F6D
triadic
#B03FA5 #A5B03F #3FA5B0
tetradic
#B03FA5 #B0833F #3FB04A #3F6DB0
square
#B03FA5 #B0833F #3FB04A #3F6DB0
split-complementary
#B03FA5 #6DB03F #3FB083
monochromatic
#561F50 #832F7B #B03FA5 #C865BE #D892D1

Accessibility & contrast

On white

5.12
#B03FA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#B03FA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B03FA5
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B03FA5#FFFFFF#000000##FFFFFF
##B03FA51.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3964A8
Deuteranopia (green-blind)
#6073A2
Tritanopia (blue-blind)
#B74A6C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b03fa5;
/* rgb */ color: rgb(176, 63, 165);
/* oklch */ color: oklch(56.2% 0.188 331.8);
Tailwind
colors: {
  custom: {
    50: '#cb7cc0',
    500: '#b03fa5',
    950: '#000000',
  },
}
SCSS
$custom: #b03fa5;
$custom-light: #cb7cc0;
$custom-dark: #000000;
JSON
{
  "hex": "#b03fa5",
  "rgb": {
    "r": 176,
    "g": 63,
    "b": 165
  },
  "hsl": {
    "h": 305.841,
    "s": 47.28,
    "l": 46.863
  },
  "oklch": {
    "l": 0.56168,
    "c": 0.18796,
    "h": 331.8
  },
  "luminance": 0.15502
}

Semantic roles & 50–950 ramp

primary
#B03FA5
secondary
#88C38E
accent
#D75E51
background
#FCF7FB
surface
#F9EEF7
border
#D2C9D0
text
#140A12
muted
#827C81

Preview Lab

Preview with #B03FA5

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

Preview Lab → · Contrast checker → · Palette generator →

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