#B02EA6#B02EA6

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

Color values

HEX#B02EA6
RGBrgb(176, 46, 166)
HSLhsl(305, 59%, 44%)
HSVhsv(305, 74%, 69%)
CMYKcmyk(0%, 73.9%, 5.7%, 31%)
CIE-LABlab(44.15, 64.34, -36.37)
CIE-LCHlch(44.15, 73.91, 330.52°)
OKLaboklab(54.62% 0.1839 -0.1001)
OKLCHoklch(54.62% 0.209 331.4)
XYZxyz(25.7644, 13.9394, 37.4026)
Luminance0.1394 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02EA6 #2EB038
analogous
#792EB0 #B02EA6 #B02E65
triadic
#B02EA6 #A6B02E #2EA6B0
tetradic
#B02EA6 #B0792E #2EB038 #2E65B0
square
#B02EA6 #B0792E #2EB038 #2E65B0
split-complementary
#B02EA6 #65B02E #2EB079
monochromatic
#4F154A #7F2178 #B02EA6 #D04BC6 #DD7CD5

Accessibility & contrast

On white

5.54
#B02EA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B02EA6
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02EA6#FFFFFF#000000##FFFFFF
##B02EA61.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235DA9
Deuteranopia (green-blind)
#576FA3
Tritanopia (blue-blind)
#B73E67
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b02ea6;
/* rgb */ color: rgb(176, 46, 166);
/* oklch */ color: oklch(54.6% 0.209 331.4);
Tailwind
colors: {
  custom: {
    50: '#cb74c1',
    500: '#b02ea6',
    950: '#000000',
  },
}
SCSS
$custom: #b02ea6;
$custom-light: #cb74c1;
$custom-dark: #000000;
JSON
{
  "hex": "#b02ea6",
  "rgb": {
    "r": 176,
    "g": 46,
    "b": 166
  },
  "hsl": {
    "h": 304.615,
    "s": 58.559,
    "l": 43.529
  },
  "oklch": {
    "l": 0.54617,
    "c": 0.20938,
    "h": 331.4
  },
  "luminance": 0.13937
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B02EA6

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

Preview Lab → · Contrast checker → · Palette generator →

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