#B02EB4#B02EB4

#B02EB4 is a mid, highly saturated purple. Relative luminance 0.145; OKLCH L 55.4% C 0.220 H 326.7°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#B02EB4
RGBrgb(176, 46, 180)
HSLhsl(298, 59%, 44%)
HSVhsv(298, 74%, 71%)
CMYKcmyk(2.2%, 74.4%, 0%, 29.4%)
CIE-LABlab(44.92, 66.60, -43.44)
CIE-LCHlch(44.92, 79.51, 326.89°)
OKLaboklab(55.42% 0.1839 -0.1206)
OKLCHoklch(55.42% 0.22 326.7)
XYZxyz(27.1192, 14.4813, 44.5380)
Luminance0.1448 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02EB4 #32B42E
analogous
#6D2EB4 #B02EB4 #B42E75
triadic
#B02EB4 #B4B02E #2EB4B0
tetradic
#B02EB4 #B46D2E #32B42E #2E75B4
square
#B02EB4 #B46D2E #32B42E #2E75B4
split-complementary
#B02EB4 #75B42E #2EB46D
monochromatic
#511553 #802283 #B02EB4 #CE4ED2 #DB7EDE

Accessibility & contrast

On white

5.39
#B02EB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B02EB4
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02EB4#FFFFFF#000000##FFFFFF
##B02EB41.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0560B8
Deuteranopia (green-blind)
#4F70B1
Tritanopia (blue-blind)
#B5456F
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b02eb4;
/* rgb */ color: rgb(176, 46, 180);
/* oklch */ color: oklch(55.4% 0.220 326.7);
Tailwind
colors: {
  custom: {
    50: '#cb75cb',
    500: '#b02eb4',
    950: '#000000',
  },
}
SCSS
$custom: #b02eb4;
$custom-light: #cb75cb;
$custom-dark: #000000;
JSON
{
  "hex": "#b02eb4",
  "rgb": {
    "r": 176,
    "g": 46,
    "b": 180
  },
  "hsl": {
    "h": 298.209,
    "s": 59.292,
    "l": 44.314
  },
  "oklch": {
    "l": 0.55416,
    "c": 0.21997,
    "h": 326.7
  },
  "luminance": 0.14479
}

Semantic roles & 50–950 ramp

primary
#B02EB4
secondary
#79C777
accent
#E2454A
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B02EB4

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

Preview Lab → · Contrast checker → · Palette generator →

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