#B02EA1#B02EA1

#B02EA1 is a mid, highly saturated purple. Relative luminance 0.138; OKLCH L 54.3% C 0.206 H 333.2°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#B02EA1
RGBrgb(176, 46, 161)
HSLhsl(307, 59%, 44%)
HSVhsv(307, 74%, 69%)
CMYKcmyk(0%, 73.9%, 8.5%, 31%)
CIE-LABlab(43.89, 63.57, -33.80)
CIE-LCHlch(43.89, 71.99, 332.00°)
OKLaboklab(54.35% 0.1836 -0.0927)
OKLCHoklch(54.35% 0.206 333.2)
XYZxyz(25.3147, 13.7594, 35.0339)
Luminance0.1376 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02EA1 #2EB03D
analogous
#7E2EB0 #B02EA1 #B02E60
triadic
#B02EA1 #A1B02E #2EA1B0
tetradic
#B02EA1 #B07E2E #2EB03D #2E60B0
square
#B02EA1 #B07E2E #2EB03D #2E60B0
split-complementary
#B02EA1 #60B02E #2EB07E
monochromatic
#4F1548 #7F2175 #B02EA1 #D04BC1 #DD7CD1

Accessibility & contrast

On white

5.60
#B02EA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#B02EA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02EA1
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02EA1#FFFFFF#000000##FFFFFF
##B02EA11.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295CA4
Deuteranopia (green-blind)
#5A6E9E
Tritanopia (blue-blind)
#B83B65
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b02ea1;
/* rgb */ color: rgb(176, 46, 161);
/* oklch */ color: oklch(54.3% 0.206 333.2);
Tailwind
colors: {
  custom: {
    50: '#cb74bd',
    500: '#b02ea1',
    950: '#000000',
  },
}
SCSS
$custom: #b02ea1;
$custom-light: #cb74bd;
$custom-dark: #000000;
JSON
{
  "hex": "#b02ea1",
  "rgb": {
    "r": 176,
    "g": 46,
    "b": 161
  },
  "hsl": {
    "h": 306.923,
    "s": 58.559,
    "l": 43.529
  },
  "oklch": {
    "l": 0.54346,
    "c": 0.20572,
    "h": 333.2
  },
  "luminance": 0.13757
}

Semantic roles & 50–950 ramp

primary
#B02EA1
secondary
#75C57E
accent
#E25846
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140912
muted
#827B81

Preview Lab

Preview with #B02EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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