#B03EA2#B03EA2

#B03EA2 is a mid, vivid purple. Relative luminance 0.153; OKLCH L 55.9% C 0.187 H 333.0°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#B03EA2
RGBrgb(176, 62, 162)
HSLhsl(307, 48%, 47%)
HSVhsv(307, 65%, 69%)
CMYKcmyk(0%, 64.8%, 8%, 31%)
CIE-LABlab(46.02, 57.85, -31.04)
CIE-LCHlch(46.02, 65.65, 331.79°)
OKLaboklab(55.91% 0.1666 -0.0849)
OKLCHoklch(55.91% 0.187 333)
XYZxyz(26.1488, 15.2860, 35.7487)
Luminance0.1528 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B03EA2 #3EB04C
analogous
#853EB0 #B03EA2 #B03E69
triadic
#B03EA2 #A2B03E #3EA2B0
tetradic
#B03EA2 #B0853E #3EB04C #3E69B0
square
#B03EA2 #B0853E #3EB04C #3E69B0
split-complementary
#B03EA2 #69B03E #3EB085
monochromatic
#551E4F #832E78 #B03EA2 #C863BC #D890CF

Accessibility & contrast

On white

5.18
#B03EA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#B03EA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B03EA2
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B03EA2#FFFFFF#000000##FFFFFF
##B03EA21.005.184.065.18
#FFFFFF5.181.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b03ea2;
/* rgb */ color: rgb(176, 62, 162);
/* oklch */ color: oklch(55.9% 0.187 333.0);
Tailwind
colors: {
  custom: {
    50: '#cb7cbe',
    500: '#b03ea2',
    950: '#000000',
  },
}
SCSS
$custom: #b03ea2;
$custom-light: #cb7cbe;
$custom-dark: #000000;
JSON
{
  "hex": "#b03ea2",
  "rgb": {
    "r": 176,
    "g": 62,
    "b": 162
  },
  "hsl": {
    "h": 307.368,
    "s": 47.899,
    "l": 46.667
  },
  "oklch": {
    "l": 0.55908,
    "c": 0.18696,
    "h": 333
  },
  "luminance": 0.15284
}

Semantic roles & 50–950 ramp

primary
#B03EA2
secondary
#87C38E
accent
#D76150
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#140A12
muted
#827C81

Preview Lab

Preview with #B03EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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