#B02EA5#B02EA5

#B02EA5 is a mid, highly saturated purple. Relative luminance 0.139; OKLCH L 54.6% C 0.209 H 331.8°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#B02EA5
RGBrgb(176, 46, 165)
HSLhsl(305, 59%, 44%)
HSVhsv(305, 74%, 69%)
CMYKcmyk(0%, 73.9%, 6.2%, 31%)
CIE-LABlab(44.09, 64.19, -35.86)
CIE-LCHlch(44.09, 73.52, 330.81°)
OKLaboklab(54.56% 0.1838 -0.0987)
OKLCHoklch(54.56% 0.209 331.8)
XYZxyz(25.6731, 13.9028, 36.9214)
Luminance0.1390 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02EA5 #2EB039
analogous
#7A2EB0 #B02EA5 #B02E64
triadic
#B02EA5 #A5B02E #2EA5B0
tetradic
#B02EA5 #B07A2E #2EB039 #2E64B0
square
#B02EA5 #B07A2E #2EB039 #2E64B0
split-complementary
#B02EA5 #64B02E #2EB07A
monochromatic
#4F154A #7F2178 #B02EA5 #D04BC5 #DD7CD4

Accessibility & contrast

On white

5.56
#B02EA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#B02EA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02EA5
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02EA5#FFFFFF#000000##FFFFFF
##B02EA51.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#245DA8
Deuteranopia (green-blind)
#586FA2
Tritanopia (blue-blind)
#B73D67
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b02ea5;
/* rgb */ color: rgb(176, 46, 165);
/* oklch */ color: oklch(54.6% 0.209 331.8);
Tailwind
colors: {
  custom: {
    50: '#cb74c0',
    500: '#b02ea5',
    950: '#000000',
  },
}
SCSS
$custom: #b02ea5;
$custom-light: #cb74c0;
$custom-dark: #000000;
JSON
{
  "hex": "#b02ea5",
  "rgb": {
    "r": 176,
    "g": 46,
    "b": 165
  },
  "hsl": {
    "h": 305.077,
    "s": 58.559,
    "l": 43.529
  },
  "oklch": {
    "l": 0.54562,
    "c": 0.20865,
    "h": 331.8
  },
  "luminance": 0.13901
}

Semantic roles & 50–950 ramp

primary
#B02EA5
secondary
#75C57B
accent
#E25346
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#140912
muted
#827B81

Preview Lab

Preview with #B02EA5

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

Preview Lab → · Contrast checker → · Palette generator →

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