#B03EB2#B03EB2

#B03EB2 is a mid, vivid purple. Relative luminance 0.159; OKLCH L 56.8% C 0.200 H 327.1°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#B03EB2
RGBrgb(176, 62, 178)
HSLhsl(299, 48%, 47%)
HSVhsv(299, 65%, 70%)
CMYKcmyk(1.1%, 65.2%, 0%, 30.2%)
CIE-LABlab(46.83, 60.52, -39.22)
CIE-LCHlch(46.83, 72.12, 327.06°)
OKLaboklab(56.76% 0.1678 -0.1085)
OKLCHoklch(56.76% 0.2 327.1)
XYZxyz(27.6626, 15.8915, 43.7212)
Luminance0.1589 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B03EB2 #40B23E
analogous
#763EB2 #B03EB2 #B23E7A
triadic
#B03EB2 #B2B03E #3EB2B0
tetradic
#B03EB2 #B2763E #40B23E #3E7AB2
square
#B03EB2 #B2763E #40B23E #3E7AB2
split-complementary
#B03EB2 #7AB23E #3EB276
monochromatic
#561E57 #832E85 #B03EB2 #C764C9 #D892D9

Accessibility & contrast

On white

5.03
#B03EB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#B03EB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B03EB2
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B03EB2#FFFFFF#000000##FFFFFF
##B03EB21.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C66B5
Deuteranopia (green-blind)
#5974AF
Tritanopia (blue-blind)
#B54E73
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #b03eb2;
/* rgb */ color: rgb(176, 62, 178);
/* oklch */ color: oklch(56.8% 0.200 327.1);
Tailwind
colors: {
  custom: {
    50: '#cb7cc9',
    500: '#b03eb2',
    950: '#000000',
  },
}
SCSS
$custom: #b03eb2;
$custom-light: #cb7cc9;
$custom-dark: #000000;
JSON
{
  "hex": "#b03eb2",
  "rgb": {
    "r": 176,
    "g": 62,
    "b": 178
  },
  "hsl": {
    "h": 298.966,
    "s": 48.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.56756,
    "c": 0.19983,
    "h": 327.1
  },
  "luminance": 0.1589
}

Semantic roles & 50–950 ramp

primary
#B03EB2
secondary
#89C488
accent
#D85052
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140A13
muted
#827C82

Preview Lab

Preview with #B03EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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