#B02EA7#B02EA7

#B02EA7 is a mid, highly saturated purple. Relative luminance 0.140; OKLCH L 54.7% C 0.210 H 331.1°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#B02EA7
RGBrgb(176, 46, 167)
HSLhsl(304, 59%, 44%)
HSVhsv(304, 74%, 69%)
CMYKcmyk(0%, 73.9%, 5.1%, 31%)
CIE-LABlab(44.20, 64.50, -36.88)
CIE-LCHlch(44.20, 74.30, 330.24°)
OKLaboklab(54.67% 0.1839 -0.1016)
OKLCHoklch(54.67% 0.21 331.1)
XYZxyz(25.8565, 13.9762, 37.8876)
Luminance0.1397 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02EA7 #2EB037
analogous
#782EB0 #B02EA7 #B02E66
triadic
#B02EA7 #A7B02E #2EA7B0
tetradic
#B02EA7 #B0782E #2EB037 #2E66B0
square
#B02EA7 #B0782E #2EB037 #2E66B0
split-complementary
#B02EA7 #66B02E #2EB078
monochromatic
#4F154B #7F2179 #B02EA7 #D04BC7 #DD7CD6

Accessibility & contrast

On white

5.53
#B02EA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#B02EA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02EA7
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02EA7#FFFFFF#000000##FFFFFF
##B02EA71.005.533.795.53
#FFFFFF5.531.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#225DAA
Deuteranopia (green-blind)
#576FA4
Tritanopia (blue-blind)
#B73E68
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b02ea7;
/* rgb */ color: rgb(176, 46, 167);
/* oklch */ color: oklch(54.7% 0.210 331.1);
Tailwind
colors: {
  custom: {
    50: '#cb74c1',
    500: '#b02ea7',
    950: '#000000',
  },
}
SCSS
$custom: #b02ea7;
$custom-light: #cb74c1;
$custom-dark: #000000;
JSON
{
  "hex": "#b02ea7",
  "rgb": {
    "r": 176,
    "g": 46,
    "b": 167
  },
  "hsl": {
    "h": 304.154,
    "s": 58.559,
    "l": 43.529
  },
  "oklch": {
    "l": 0.54672,
    "c": 0.21012,
    "h": 331.1
  },
  "luminance": 0.13974
}

Semantic roles & 50–950 ramp

primary
#B02EA7
secondary
#75C57A
accent
#E25146
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#140912
muted
#827B81

Preview Lab

Preview with #B02EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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