#B02EA2#B02EA2

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

Color values

HEX#B02EA2
RGBrgb(176, 46, 162)
HSLhsl(306, 59%, 44%)
HSVhsv(306, 74%, 69%)
CMYKcmyk(0%, 73.9%, 8%, 31%)
CIE-LABlab(43.94, 63.72, -34.31)
CIE-LCHlch(43.94, 72.37, 331.70°)
OKLaboklab(54.4% 0.1837 -0.0942)
OKLCHoklch(54.4% 0.206 332.8)
XYZxyz(25.4032, 13.7949, 35.5002)
Luminance0.1379 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02EA2 #2EB03C
analogous
#7D2EB0 #B02EA2 #B02E61
triadic
#B02EA2 #A2B02E #2EA2B0
tetradic
#B02EA2 #B07D2E #2EB03C #2E61B0
square
#B02EA2 #B07D2E #2EB03C #2E61B0
split-complementary
#B02EA2 #61B02E #2EB07D
monochromatic
#4F1549 #7F2175 #B02EA2 #D04BC2 #DD7CD2

Accessibility & contrast

On white

5.59
#B02EA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#B02EA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02EA2
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02EA2#FFFFFF#000000##FFFFFF
##B02EA21.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285CA5
Deuteranopia (green-blind)
#596E9F
Tritanopia (blue-blind)
#B83C65
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b02ea2;
/* rgb */ color: rgb(176, 46, 162);
/* oklch */ color: oklch(54.4% 0.206 332.8);
Tailwind
colors: {
  custom: {
    50: '#cb74be',
    500: '#b02ea2',
    950: '#000000',
  },
}
SCSS
$custom: #b02ea2;
$custom-light: #cb74be;
$custom-dark: #000000;
JSON
{
  "hex": "#b02ea2",
  "rgb": {
    "r": 176,
    "g": 46,
    "b": 162
  },
  "hsl": {
    "h": 306.462,
    "s": 58.559,
    "l": 43.529
  },
  "oklch": {
    "l": 0.54399,
    "c": 0.20645,
    "h": 332.8
  },
  "luminance": 0.13793
}

Semantic roles & 50–950 ramp

primary
#B02EA2
secondary
#75C57D
accent
#E25746
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#140912
muted
#827B81

Preview Lab

Preview with #B02EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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