#B02EB3#B02EB3

#B02EB3 is a mid, highly saturated purple. Relative luminance 0.144; OKLCH L 55.4% C 0.219 H 327.1°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#B02EB3
RGBrgb(176, 46, 179)
HSLhsl(299, 59%, 44%)
HSVhsv(299, 74%, 70%)
CMYKcmyk(1.7%, 74.3%, 0%, 29.8%)
CIE-LABlab(44.86, 66.43, -42.94)
CIE-LCHlch(44.86, 79.10, 327.12°)
OKLaboklab(55.36% 0.184 -0.1192)
OKLCHoklch(55.36% 0.219 327.1)
XYZxyz(27.0177, 14.4407, 44.0034)
Luminance0.1444 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02EB3 #31B32E
analogous
#6E2EB3 #B02EB3 #B32E74
triadic
#B02EB3 #B3B02E #2EB3B0
tetradic
#B02EB3 #B36E2E #31B32E #2E74B3
square
#B02EB3 #B36E2E #31B32E #2E74B3
split-complementary
#B02EB3 #74B32E #2EB36E
monochromatic
#501552 #802182 #B02EB3 #CE4DD1 #DC7EDE

Accessibility & contrast

On white

5.40
#B02EB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#B02EB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02EB3
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02EB3#FFFFFF#000000##FFFFFF
##B02EB31.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0860B7
Deuteranopia (green-blind)
#5070B0
Tritanopia (blue-blind)
#B5446F
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b02eb3;
/* rgb */ color: rgb(176, 46, 179);
/* oklch */ color: oklch(55.4% 0.219 327.1);
Tailwind
colors: {
  custom: {
    50: '#cb75ca',
    500: '#b02eb3',
    950: '#000000',
  },
}
SCSS
$custom: #b02eb3;
$custom-light: #cb75ca;
$custom-dark: #000000;
JSON
{
  "hex": "#b02eb3",
  "rgb": {
    "r": 176,
    "g": 46,
    "b": 179
  },
  "hsl": {
    "h": 298.647,
    "s": 59.111,
    "l": 44.118
  },
  "oklch": {
    "l": 0.55357,
    "c": 0.21919,
    "h": 327.1
  },
  "luminance": 0.14439
}

Semantic roles & 50–950 ramp

primary
#B02EB3
secondary
#78C676
accent
#E24649
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B02EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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