#B03EA8#B03EA8

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

Color values

HEX#B03EA8
RGBrgb(176, 62, 168)
HSLhsl(304, 48%, 47%)
HSVhsv(304, 65%, 69%)
CMYKcmyk(0%, 64.8%, 4.5%, 31%)
CIE-LABlab(46.32, 58.83, -34.13)
CIE-LCHlch(46.32, 68.02, 329.88°)
OKLaboklab(56.22% 0.1672 -0.0938)
OKLCHoklch(56.22% 0.192 330.7)
XYZxyz(26.6949, 15.5045, 38.6249)
Luminance0.1550 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B03EA8 #3EB046
analogous
#7F3EB0 #B03EA8 #B03E6F
triadic
#B03EA8 #A8B03E #3EA8B0
tetradic
#B03EA8 #B07F3E #3EB046 #3E6FB0
square
#B03EA8 #B07F3E #3EB046 #3E6FB0
split-complementary
#B03EA8 #6FB03E #3EB07F
monochromatic
#551E52 #832E7D #B03EA8 #C863C1 #D890D3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B03EA8#FFFFFF#000000##FFFFFF
##B03EA81.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)
#3664AB
Deuteranopia (green-blind)
#5E73A5
Tritanopia (blue-blind)
#B74A6D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b03ea8;
/* rgb */ color: rgb(176, 62, 168);
/* oklch */ color: oklch(56.2% 0.192 330.7);
Tailwind
colors: {
  custom: {
    50: '#cb7cc2',
    500: '#b03ea8',
    950: '#000000',
  },
}
SCSS
$custom: #b03ea8;
$custom-light: #cb7cc2;
$custom-dark: #000000;
JSON
{
  "hex": "#b03ea8",
  "rgb": {
    "r": 176,
    "g": 62,
    "b": 168
  },
  "hsl": {
    "h": 304.211,
    "s": 47.899,
    "l": 46.667
  },
  "oklch": {
    "l": 0.56217,
    "c": 0.19169,
    "h": 330.7
  },
  "luminance": 0.15503
}

Semantic roles & 50–950 ramp

primary
#B03EA8
secondary
#87C38B
accent
#D75A50
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140A12
muted
#827C81

Preview Lab

Preview with #B03EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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