#B02EA9#B02EA9

#B02EA9 is a mid, highly saturated purple. Relative luminance 0.140; OKLCH L 54.8% C 0.212 H 330.4°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#B02EA9
RGBrgb(176, 46, 169)
HSLhsl(303, 59%, 44%)
HSVhsv(303, 74%, 69%)
CMYKcmyk(0%, 73.9%, 4%, 31%)
CIE-LABlab(44.31, 64.82, -37.90)
CIE-LCHlch(44.31, 75.08, 329.68°)
OKLaboklab(54.78% 0.184 -0.1046)
OKLCHoklch(54.78% 0.212 330.4)
XYZxyz(26.0428, 14.0507, 38.8688)
Luminance0.1405 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02EA9 #2EB035
analogous
#762EB0 #B02EA9 #B02E68
triadic
#B02EA9 #A9B02E #2EA9B0
tetradic
#B02EA9 #B0762E #2EB035 #2E68B0
square
#B02EA9 #B0762E #2EB035 #2E68B0
split-complementary
#B02EA9 #68B02E #2EB076
monochromatic
#4F154C #7F217A #B02EA9 #D04BC9 #DD7CD7

Accessibility & contrast

On white

5.51
#B02EA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#B02EA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02EA9
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02EA9#FFFFFF#000000##FFFFFF
##B02EA91.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F5DAC
Deuteranopia (green-blind)
#566FA6
Tritanopia (blue-blind)
#B73F69
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b02ea9;
/* rgb */ color: rgb(176, 46, 169);
/* oklch */ color: oklch(54.8% 0.212 330.4);
Tailwind
colors: {
  custom: {
    50: '#cb74c3',
    500: '#b02ea9',
    950: '#000000',
  },
}
SCSS
$custom: #b02ea9;
$custom-light: #cb74c3;
$custom-dark: #000000;
JSON
{
  "hex": "#b02ea9",
  "rgb": {
    "r": 176,
    "g": 46,
    "b": 169
  },
  "hsl": {
    "h": 303.231,
    "s": 58.559,
    "l": 43.529
  },
  "oklch": {
    "l": 0.54783,
    "c": 0.21161,
    "h": 330.4
  },
  "luminance": 0.14049
}

Semantic roles & 50–950 ramp

primary
#B02EA9
secondary
#75C579
accent
#E24E46
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140912
muted
#837B81

Preview Lab

Preview with #B02EA9

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

Preview Lab → · Contrast checker → · Palette generator →

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