#B03EC2#B03EC2

#B03EC2 is a mid, highly saturated purple. Relative luminance 0.166; OKLCH L 57.7% C 0.213 H 321.9°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#B03EC2
RGBrgb(176, 62, 194)
HSLhsl(292, 52%, 50%)
HSVhsv(292, 68%, 76%)
CMYKcmyk(9.3%, 68%, 0%, 23.9%)
CIE-LABlab(47.72, 63.37, -47.15)
CIE-LCHlch(47.72, 78.99, 323.35°)
OKLaboklab(57.68% 0.168 -0.1316)
OKLCHoklch(57.68% 0.213 321.9)
XYZxyz(29.3637, 16.5720, 52.6805)
Luminance0.1657 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B03EC2 #50C23E
analogous
#6E3EC2 #B03EC2 #C23E92
triadic
#B03EC2 #C2B03E #3EC2B0
tetradic
#B03EC2 #C26E3E #50C23E #3E92C2
square
#B03EC2 #C26E3E #50C23E #3E92C2
split-complementary
#B03EC2 #92C23E #3EC26E
monochromatic
#5C2066 #862F94 #B03EC2 #C36DD1 #D69BDF

Accessibility & contrast

On white

4.87
#B03EC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#B03EC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B03EC2
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B03EC2#FFFFFF#000000##FFFFFF
##B03EC21.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1369C6
Deuteranopia (green-blind)
#4F76BF
Tritanopia (blue-blind)
#B2557B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #b03ec2;
/* rgb */ color: rgb(176, 62, 194);
/* oklch */ color: oklch(57.7% 0.213 321.9);
Tailwind
colors: {
  custom: {
    50: '#cb7dd5',
    500: '#b03ec2',
    950: '#000000',
  },
}
SCSS
$custom: #b03ec2;
$custom-light: #cb7dd5;
$custom-dark: #000000;
JSON
{
  "hex": "#b03ec2",
  "rgb": {
    "r": 176,
    "g": 62,
    "b": 194
  },
  "hsl": {
    "h": 291.818,
    "s": 51.969,
    "l": 50.196
  },
  "oklch": {
    "l": 0.57679,
    "c": 0.21338,
    "h": 321.9
  },
  "luminance": 0.1657
}

Semantic roles & 50–950 ramp

primary
#B03EC2
secondary
#98CB90
accent
#DB4C60
background
#FCF8FD
surface
#F9EFFA
border
#D2CAD3
text
#140A14
muted
#827C83

Preview Lab

Preview with #B03EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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