#B02EB7#B02EB7

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

Color values

HEX#B02EB7
RGBrgb(176, 46, 183)
HSLhsl(297, 60%, 45%)
HSVhsv(297, 75%, 72%)
CMYKcmyk(3.8%, 74.9%, 0%, 28.2%)
CIE-LABlab(45.09, 67.10, -44.93)
CIE-LCHlch(45.09, 80.75, 326.20°)
OKLaboklab(55.59% 0.1838 -0.125)
OKLCHoklch(55.59% 0.222 325.8)
XYZxyz(27.4282, 14.6048, 46.1649)
Luminance0.1460 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02EB7 #35B72E
analogous
#6B2EB7 #B02EB7 #B72E7A
triadic
#B02EB7 #B7B02E #2EB7B0
tetradic
#B02EB7 #B76B2E #35B72E #2E7AB7
square
#B02EB7 #B76B2E #35B72E #2E7AB7
split-complementary
#B02EB7 #7AB72E #2EB76B
monochromatic
#521555 #812286 #B02EB7 #CC4FD3 #DA80DF

Accessibility & contrast

On white

5.36
#B02EB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#B02EB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02EB7
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02EB7#FFFFFF#000000##FFFFFF
##B02EB71.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BB
Deuteranopia (green-blind)
#4D70B4
Tritanopia (blue-blind)
#B44671
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b02eb7;
/* rgb */ color: rgb(176, 46, 183);
/* oklch */ color: oklch(55.6% 0.222 325.8);
Tailwind
colors: {
  custom: {
    50: '#cc75cd',
    500: '#b02eb7',
    950: '#000000',
  },
}
SCSS
$custom: #b02eb7;
$custom-light: #cc75cd;
$custom-dark: #000000;
JSON
{
  "hex": "#b02eb7",
  "rgb": {
    "r": 176,
    "g": 46,
    "b": 183
  },
  "hsl": {
    "h": 296.934,
    "s": 59.825,
    "l": 44.902
  },
  "oklch": {
    "l": 0.55594,
    "c": 0.2223,
    "h": 325.8
  },
  "luminance": 0.14603
}

Semantic roles & 50–950 ramp

primary
#B02EB7
secondary
#7DC879
accent
#E3454D
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140913
muted
#837B82

Preview Lab

Preview with #B02EB7

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

Preview Lab → · Contrast checker → · Palette generator →

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