#B02EB6#B02EB6

#B02EB6 is a mid, highly saturated purple. Relative luminance 0.146; OKLCH L 55.5% C 0.222 H 326.1°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#B02EB6
RGBrgb(176, 46, 182)
HSLhsl(297, 60%, 45%)
HSVhsv(297, 75%, 71%)
CMYKcmyk(3.3%, 74.7%, 0%, 28.6%)
CIE-LABlab(45.03, 66.93, -44.43)
CIE-LCHlch(45.03, 80.34, 326.42°)
OKLaboklab(55.54% 0.1839 -0.1235)
OKLCHoklch(55.54% 0.222 326.1)
XYZxyz(27.3244, 14.5634, 45.6187)
Luminance0.1456 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02EB6 #34B62E
analogous
#6C2EB6 #B02EB6 #B62E78
triadic
#B02EB6 #B6B02E #2EB6B0
tetradic
#B02EB6 #B66C2E #34B62E #2E78B6
square
#B02EB6 #B66C2E #34B62E #2E78B6
split-complementary
#B02EB6 #78B62E #2EB66C
monochromatic
#521554 #812285 #B02EB6 #CD4FD2 #DB80DF

Accessibility & contrast

On white

5.37
#B02EB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#B02EB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02EB6
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02EB6#FFFFFF#000000##FFFFFF
##B02EB61.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BA
Deuteranopia (green-blind)
#4E70B3
Tritanopia (blue-blind)
#B54670
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b02eb6;
/* rgb */ color: rgb(176, 46, 182);
/* oklch */ color: oklch(55.5% 0.222 326.1);
Tailwind
colors: {
  custom: {
    50: '#cb75cc',
    500: '#b02eb6',
    950: '#000000',
  },
}
SCSS
$custom: #b02eb6;
$custom-light: #cb75cc;
$custom-dark: #000000;
JSON
{
  "hex": "#b02eb6",
  "rgb": {
    "r": 176,
    "g": 46,
    "b": 182
  },
  "hsl": {
    "h": 297.353,
    "s": 59.649,
    "l": 44.706
  },
  "oklch": {
    "l": 0.55535,
    "c": 0.22152,
    "h": 326.1
  },
  "luminance": 0.14561
}

Semantic roles & 50–950 ramp

primary
#B02EB6
secondary
#7CC878
accent
#E3454C
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140913
muted
#837B82

Preview Lab

Preview with #B02EB6

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

Preview Lab → · Contrast checker → · Palette generator →

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