#B03AD2#B03AD2

#B03AD2 is a mid, highly saturated purple. Relative luminance 0.169; OKLCH L 58.3% C 0.232 H 317.5°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#B03AD2
RGBrgb(176, 58, 210)
HSLhsl(287, 63%, 53%)
HSVhsv(287, 72%, 82%)
CMYKcmyk(16.2%, 72.4%, 0%, 17.6%)
CIE-LABlab(48.15, 67.86, -55.69)
CIE-LCHlch(48.15, 87.79, 320.62°)
OKLaboklab(58.3% 0.171 -0.1566)
OKLCHoklch(58.3% 0.232 317.5)
XYZxyz(31.0487, 16.9107, 62.5889)
Luminance0.1691 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B03AD2 #5CD23A
analogous
#643AD2 #B03AD2 #D23AA8
triadic
#B03AD2 #D2B03A #3AD2B0
tetradic
#B03AD2 #D2643A #5CD23A #3AA8D2
square
#B03AD2 #D2643A #5CD23A #3AA8D2
split-complementary
#B03AD2 #A8D23A #3AD264
monochromatic
#621B77 #8B26A8 #B03AD2 #C46CDD #D89EE9

Accessibility & contrast

On white

4.79
#B03AD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#B03AD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B03AD2
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B03AD2#FFFFFF#000000##FFFFFF
##B03AD21.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD6
Deuteranopia (green-blind)
#3F76CF
Tritanopia (blue-blind)
#AF5983
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #b03ad2;
/* rgb */ color: rgb(176, 58, 210);
/* oklch */ color: oklch(58.3% 0.232 317.5);
Tailwind
colors: {
  custom: {
    50: '#cc7be0',
    500: '#b03ad2',
    950: '#000000',
  },
}
SCSS
$custom: #b03ad2;
$custom-light: #cc7be0;
$custom-dark: #000000;
JSON
{
  "hex": "#b03ad2",
  "rgb": {
    "r": 176,
    "g": 58,
    "b": 210
  },
  "hsl": {
    "h": 286.579,
    "s": 62.81,
    "l": 52.549
  },
  "oklch": {
    "l": 0.58296,
    "c": 0.23184,
    "h": 317.5
  },
  "luminance": 0.16909
}

Semantic roles & 50–950 ramp

primary
#B03AD2
secondary
#A2D593
accent
#E64267
background
#FDF7FD
surface
#FAEEFB
border
#D3C9D4
text
#140A15
muted
#837C83

Preview Lab

Preview with #B03AD2

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

Preview Lab → · Contrast checker → · Palette generator →

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