#B02EB8#B02EB8

#B02EB8 is a mid, highly saturated purple. Relative luminance 0.146; OKLCH L 55.7% C 0.223 H 325.5°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#B02EB8
RGBrgb(176, 46, 184)
HSLhsl(297, 60%, 45%)
HSVhsv(297, 75%, 72%)
CMYKcmyk(4.3%, 75%, 0%, 27.8%)
CIE-LABlab(45.15, 67.27, -45.42)
CIE-LCHlch(45.15, 81.17, 325.97°)
OKLaboklab(55.66% 0.1838 -0.1264)
OKLCHoklch(55.66% 0.223 325.5)
XYZxyz(27.5326, 14.6466, 46.7150)
Luminance0.1464 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02EB8 #36B82E
analogous
#6B2EB8 #B02EB8 #B82E7B
triadic
#B02EB8 #B8B02E #2EB8B0
tetradic
#B02EB8 #B86B2E #36B82E #2E7BB8
square
#B02EB8 #B86B2E #36B82E #2E7BB8
split-complementary
#B02EB8 #7BB82E #2EB86B
monochromatic
#521656 #812287 #B02EB8 #CC50D3 #DA81DF

Accessibility & contrast

On white

5.34
#B02EB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#B02EB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02EB8
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02EB8#FFFFFF#000000##FFFFFF
##B02EB81.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061BC
Deuteranopia (green-blind)
#4D70B5
Tritanopia (blue-blind)
#B44771
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b02eb8;
/* rgb */ color: rgb(176, 46, 184);
/* oklch */ color: oklch(55.7% 0.223 325.5);
Tailwind
colors: {
  custom: {
    50: '#cc75ce',
    500: '#b02eb8',
    950: '#000000',
  },
}
SCSS
$custom: #b02eb8;
$custom-light: #cc75ce;
$custom-dark: #000000;
JSON
{
  "hex": "#b02eb8",
  "rgb": {
    "r": 176,
    "g": 46,
    "b": 184
  },
  "hsl": {
    "h": 296.522,
    "s": 60,
    "l": 45.098
  },
  "oklch": {
    "l": 0.55655,
    "c": 0.22308,
    "h": 325.5
  },
  "luminance": 0.14645
}

Semantic roles & 50–950 ramp

primary
#B02EB8
secondary
#7EC879
accent
#E3454E
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140914
muted
#837B82

Preview Lab

Preview with #B02EB8

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

Preview Lab → · Contrast checker → · Palette generator →

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