#B03FA2#B03FA2

#B03FA2 is a mid, vivid purple. Relative luminance 0.154; OKLCH L 56.0% C 0.186 H 333.0°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#B03FA2
RGBrgb(176, 63, 162)
HSLhsl(307, 47%, 47%)
HSVhsv(307, 64%, 69%)
CMYKcmyk(0%, 64.2%, 8%, 31%)
CIE-LABlab(46.17, 57.44, -30.80)
CIE-LCHlch(46.17, 65.18, 331.80°)
OKLaboklab(56.02% 0.1654 -0.0843)
OKLCHoklch(56.02% 0.186 333)
XYZxyz(26.2037, 15.3958, 35.7670)
Luminance0.1539 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B03FA2 #3FB04D
analogous
#863FB0 #B03FA2 #B03F69
triadic
#B03FA2 #A2B03F #3FA2B0
tetradic
#B03FA2 #B0863F #3FB04D #3F69B0
square
#B03FA2 #B0863F #3FB04D #3F69B0
split-complementary
#B03FA2 #69B03F #3FB086
monochromatic
#561F4F #832F79 #B03FA2 #C865BB #D892CF

Accessibility & contrast

On white

5.15
#B03FA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#B03FA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B03FA2
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B03FA2#FFFFFF#000000##FFFFFF
##B03FA21.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B63A5
Deuteranopia (green-blind)
#61739F
Tritanopia (blue-blind)
#B8486B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b03fa2;
/* rgb */ color: rgb(176, 63, 162);
/* oklch */ color: oklch(56.0% 0.186 333.0);
Tailwind
colors: {
  custom: {
    50: '#cb7cbe',
    500: '#b03fa2',
    950: '#000000',
  },
}
SCSS
$custom: #b03fa2;
$custom-light: #cb7cbe;
$custom-dark: #000000;
JSON
{
  "hex": "#b03fa2",
  "rgb": {
    "r": 176,
    "g": 63,
    "b": 162
  },
  "hsl": {
    "h": 307.434,
    "s": 47.28,
    "l": 46.863
  },
  "oklch": {
    "l": 0.56015,
    "c": 0.1856,
    "h": 333
  },
  "luminance": 0.15394
}

Semantic roles & 50–950 ramp

primary
#B03FA2
secondary
#88C38F
accent
#D76251
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#140A12
muted
#827C81

Preview Lab

Preview with #B03FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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