#B03EA9#B03EA9

#B03EA9 is a mid, vivid purple. Relative luminance 0.155; OKLCH L 56.3% C 0.192 H 330.3°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#B03EA9
RGBrgb(176, 62, 169)
HSLhsl(304, 48%, 47%)
HSVhsv(304, 65%, 69%)
CMYKcmyk(0%, 64.8%, 4%, 31%)
CIE-LABlab(46.37, 59.00, -34.65)
CIE-LCHlch(46.37, 68.42, 329.57°)
OKLaboklab(56.27% 0.1672 -0.0953)
OKLCHoklch(56.27% 0.192 330.3)
XYZxyz(26.7884, 15.5419, 39.1174)
Luminance0.1554 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B03EA9 #3EB045
analogous
#7E3EB0 #B03EA9 #B03E70
triadic
#B03EA9 #A9B03E #3EA9B0
tetradic
#B03EA9 #B07E3E #3EB045 #3E70B0
square
#B03EA9 #B07E3E #3EB045 #3E70B0
split-complementary
#B03EA9 #70B03E #3EB07E
monochromatic
#551E52 #832E7E #B03EA9 #C863C2 #D890D4

Accessibility & contrast

On white

5.11
#B03EA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#B03EA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B03EA9
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B03EA9#FFFFFF#000000##FFFFFF
##B03EA91.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3564AC
Deuteranopia (green-blind)
#5D73A6
Tritanopia (blue-blind)
#B64A6E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b03ea9;
/* rgb */ color: rgb(176, 62, 169);
/* oklch */ color: oklch(56.3% 0.192 330.3);
Tailwind
colors: {
  custom: {
    50: '#cb7cc3',
    500: '#b03ea9',
    950: '#000000',
  },
}
SCSS
$custom: #b03ea9;
$custom-light: #cb7cc3;
$custom-dark: #000000;
JSON
{
  "hex": "#b03ea9",
  "rgb": {
    "r": 176,
    "g": 62,
    "b": 169
  },
  "hsl": {
    "h": 303.684,
    "s": 47.899,
    "l": 46.667
  },
  "oklch": {
    "l": 0.5627,
    "c": 0.19249,
    "h": 330.3
  },
  "luminance": 0.1554
}

Semantic roles & 50–950 ramp

primary
#B03EA9
secondary
#87C38A
accent
#D75950
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140A12
muted
#827C81

Preview Lab

Preview with #B03EA9

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

Preview Lab → · Contrast checker → · Palette generator →

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