#B03ECA#B03ECA

#B03ECA is a mid, highly saturated purple. Relative luminance 0.169; OKLCH L 58.2% C 0.220 H 319.6°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#B03ECA
RGBrgb(176, 62, 202)
HSLhsl(289, 57%, 52%)
HSVhsv(289, 69%, 79%)
CMYKcmyk(12.9%, 69.3%, 0%, 20.8%)
CIE-LABlab(48.19, 64.85, -51.03)
CIE-LCHlch(48.19, 82.52, 321.80°)
OKLaboklab(58.17% 0.1677 -0.1429)
OKLCHoklch(58.17% 0.22 319.6)
XYZxyz(30.2864, 16.9411, 57.5403)
Luminance0.1694 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B03ECA #58CA3E
analogous
#6A3ECA #B03ECA #CA3E9E
triadic
#B03ECA #CAB03E #3ECAB0
tetradic
#B03ECA #CA6A3E #58CA3E #3E9ECA
square
#B03ECA #CA6A3E #58CA3E #3E9ECA
split-complementary
#B03ECA #9ECA3E #3ECA6A
monochromatic
#601F6F #8A2C9F #B03ECA #C46ED7 #D79EE4

Accessibility & contrast

On white

4.79
#B03ECA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#B03ECA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B03ECA
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B03ECA#FFFFFF#000000##FFFFFF
##B03ECA1.004.794.394.79
#FFFFFF4.791.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BCE
Deuteranopia (green-blind)
#4976C7
Tritanopia (blue-blind)
#B05880
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #b03eca;
/* rgb */ color: rgb(176, 62, 202);
/* oklch */ color: oklch(58.2% 0.220 319.6);
Tailwind
colors: {
  custom: {
    50: '#cb7ddb',
    500: '#b03eca',
    950: '#000000',
  },
}
SCSS
$custom: #b03eca;
$custom-light: #cb7ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#b03eca",
  "rgb": {
    "r": 176,
    "g": 62,
    "b": 202
  },
  "hsl": {
    "h": 288.857,
    "s": 56.911,
    "l": 51.765
  },
  "oklch": {
    "l": 0.58166,
    "c": 0.22032,
    "h": 319.6
  },
  "luminance": 0.1694
}

Semantic roles & 50–950 ramp

primary
#B03ECA
secondary
#9FD193
accent
#E04864
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140A15
muted
#827C83

Preview Lab

Preview with #B03ECA

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

Preview Lab → · Contrast checker → · Palette generator →

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