#B03EC8#B03EC8

#B03EC8 is a mid, highly saturated purple. Relative luminance 0.168; OKLCH L 58.0% C 0.219 H 320.1°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#B03EC8
RGBrgb(176, 62, 200)
HSLhsl(290, 56%, 51%)
HSVhsv(290, 69%, 78%)
CMYKcmyk(12%, 69%, 0%, 21.6%)
CIE-LABlab(48.07, 64.48, -50.07)
CIE-LCHlch(48.07, 81.63, 322.17°)
OKLaboklab(58.04% 0.1678 -0.1401)
OKLCHoklch(58.04% 0.219 320.1)
XYZxyz(30.0512, 16.8470, 56.3013)
Luminance0.1684 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B03EC8 #56C83E
analogous
#6B3EC8 #B03EC8 #C83E9B
triadic
#B03EC8 #C8B03E #3EC8B0
tetradic
#B03EC8 #C86B3E #56C83E #3E9BC8
square
#B03EC8 #C86B3E #56C83E #3E9BC8
split-complementary
#B03EC8 #9BC83E #3EC86B
monochromatic
#5F1F6D #892D9C #B03EC8 #C36ED6 #D79DE3

Accessibility & contrast

On white

4.81
#B03EC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#B03EC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B03EC8
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B03EC8#FFFFFF#000000##FFFFFF
##B03EC81.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACC
Deuteranopia (green-blind)
#4A76C5
Tritanopia (blue-blind)
#B1577F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #b03ec8;
/* rgb */ color: rgb(176, 62, 200);
/* oklch */ color: oklch(58.0% 0.219 320.1);
Tailwind
colors: {
  custom: {
    50: '#cb7dd9',
    500: '#b03ec8',
    950: '#000000',
  },
}
SCSS
$custom: #b03ec8;
$custom-light: #cb7dd9;
$custom-dark: #000000;
JSON
{
  "hex": "#b03ec8",
  "rgb": {
    "r": 176,
    "g": 62,
    "b": 200
  },
  "hsl": {
    "h": 289.565,
    "s": 55.645,
    "l": 51.373
  },
  "oklch": {
    "l": 0.58043,
    "c": 0.21857,
    "h": 320.1
  },
  "luminance": 0.16845
}

Semantic roles & 50–950 ramp

primary
#B03EC8
secondary
#9DCF92
accent
#DF4963
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140A15
muted
#827C83

Preview Lab

Preview with #B03EC8

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

Preview Lab → · Contrast checker → · Palette generator →

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