#B02EB5#B02EB5

#B02EB5 is a mid, highly saturated purple. Relative luminance 0.145; OKLCH L 55.5% C 0.221 H 326.4°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#B02EB5
RGBrgb(176, 46, 181)
HSLhsl(298, 59%, 45%)
HSVhsv(298, 75%, 71%)
CMYKcmyk(2.8%, 74.6%, 0%, 29%)
CIE-LABlab(44.97, 66.77, -43.93)
CIE-LCHlch(44.97, 79.93, 326.65°)
OKLaboklab(55.47% 0.1839 -0.1221)
OKLCHoklch(55.47% 0.221 326.4)
XYZxyz(27.2215, 14.5222, 45.0764)
Luminance0.1452 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02EB5 #33B52E
analogous
#6D2EB5 #B02EB5 #B52E76
triadic
#B02EB5 #B5B02E #2EB5B0
tetradic
#B02EB5 #B56D2E #33B52E #2E76B5
square
#B02EB5 #B56D2E #33B52E #2E76B5
split-complementary
#B02EB5 #76B52E #2EB56D
monochromatic
#511553 #812284 #B02EB5 #CD4ED2 #DB7FDE

Accessibility & contrast

On white

5.38
#B02EB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#B02EB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02EB5
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02EB5#FFFFFF#000000##FFFFFF
##B02EB51.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0160B9
Deuteranopia (green-blind)
#4F70B2
Tritanopia (blue-blind)
#B54570
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b02eb5;
/* rgb */ color: rgb(176, 46, 181);
/* oklch */ color: oklch(55.5% 0.221 326.4);
Tailwind
colors: {
  custom: {
    50: '#cb75cc',
    500: '#b02eb5',
    950: '#000000',
  },
}
SCSS
$custom: #b02eb5;
$custom-light: #cb75cc;
$custom-dark: #000000;
JSON
{
  "hex": "#b02eb5",
  "rgb": {
    "r": 176,
    "g": 46,
    "b": 181
  },
  "hsl": {
    "h": 297.778,
    "s": 59.471,
    "l": 44.51
  },
  "oklch": {
    "l": 0.55475,
    "c": 0.22074,
    "h": 326.4
  },
  "luminance": 0.1452
}

Semantic roles & 50–950 ramp

primary
#B02EB5
secondary
#7BC778
accent
#E3454B
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140913
muted
#837B82

Preview Lab

Preview with #B02EB5

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

Preview Lab → · Contrast checker → · Palette generator →

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