#B02EA4#B02EA4

#B02EA4 is a mid, highly saturated purple. Relative luminance 0.139; OKLCH L 54.5% C 0.208 H 332.1°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#B02EA4
RGBrgb(176, 46, 164)
HSLhsl(306, 59%, 44%)
HSVhsv(306, 74%, 69%)
CMYKcmyk(0%, 73.9%, 6.8%, 31%)
CIE-LABlab(44.04, 64.03, -35.34)
CIE-LCHlch(44.04, 73.14, 331.10°)
OKLaboklab(54.51% 0.1838 -0.0972)
OKLCHoklch(54.51% 0.208 332.1)
XYZxyz(25.5824, 13.8665, 36.4439)
Luminance0.1386 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02EA4 #2EB03A
analogous
#7B2EB0 #B02EA4 #B02E63
triadic
#B02EA4 #A4B02E #2EA4B0
tetradic
#B02EA4 #B07B2E #2EB03A #2E63B0
square
#B02EA4 #B07B2E #2EB03A #2E63B0
split-complementary
#B02EA4 #63B02E #2EB07B
monochromatic
#4F154A #7F2177 #B02EA4 #D04BC4 #DD7CD4

Accessibility & contrast

On white

5.57
#B02EA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#B02EA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02EA4
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02EA4#FFFFFF#000000##FFFFFF
##B02EA41.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#255CA7
Deuteranopia (green-blind)
#586FA1
Tritanopia (blue-blind)
#B83D66
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b02ea4;
/* rgb */ color: rgb(176, 46, 164);
/* oklch */ color: oklch(54.5% 0.208 332.1);
Tailwind
colors: {
  custom: {
    50: '#cb74bf',
    500: '#b02ea4',
    950: '#000000',
  },
}
SCSS
$custom: #b02ea4;
$custom-light: #cb74bf;
$custom-dark: #000000;
JSON
{
  "hex": "#b02ea4",
  "rgb": {
    "r": 176,
    "g": 46,
    "b": 164
  },
  "hsl": {
    "h": 305.538,
    "s": 58.559,
    "l": 43.529
  },
  "oklch": {
    "l": 0.54507,
    "c": 0.2079,
    "h": 332.1
  },
  "luminance": 0.13864
}

Semantic roles & 50–950 ramp

primary
#B02EA4
secondary
#75C57C
accent
#E25446
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#140912
muted
#827B81

Preview Lab

Preview with #B02EA4

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

Preview Lab → · Contrast checker → · Palette generator →

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