#B02EAB#B02EAB

#B02EAB is a mid, highly saturated purple. Relative luminance 0.141; OKLCH L 54.9% C 0.213 H 329.7°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#B02EAB
RGBrgb(176, 46, 171)
HSLhsl(302, 59%, 44%)
HSVhsv(302, 74%, 69%)
CMYKcmyk(0%, 73.9%, 2.8%, 31%)
CIE-LABlab(44.41, 65.13, -38.92)
CIE-LCHlch(44.41, 75.87, 329.14°)
OKLaboklab(54.9% 0.184 -0.1075)
OKLCHoklch(54.9% 0.213 329.7)
XYZxyz(26.2320, 14.1264, 39.8652)
Luminance0.1412 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02EAB #2EB033
analogous
#742EB0 #B02EAB #B02E6A
triadic
#B02EAB #ABB02E #2EABB0
tetradic
#B02EAB #B0742E #2EB033 #2E6AB0
square
#B02EAB #B0742E #2EB033 #2E6AB0
split-complementary
#B02EAB #6AB02E #2EB074
monochromatic
#4F154D #7F217C #B02EAB #D04BCB #DD7CD9

Accessibility & contrast

On white

5.49
#B02EAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#B02EAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02EAB
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02EAB#FFFFFF#000000##FFFFFF
##B02EAB1.005.493.825.49
#FFFFFF5.491.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C5EAE
Deuteranopia (green-blind)
#556FA8
Tritanopia (blue-blind)
#B6406A
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b02eab;
/* rgb */ color: rgb(176, 46, 171);
/* oklch */ color: oklch(54.9% 0.213 329.7);
Tailwind
colors: {
  custom: {
    50: '#cb74c4',
    500: '#b02eab',
    950: '#000000',
  },
}
SCSS
$custom: #b02eab;
$custom-light: #cb74c4;
$custom-dark: #000000;
JSON
{
  "hex": "#b02eab",
  "rgb": {
    "r": 176,
    "g": 46,
    "b": 171
  },
  "hsl": {
    "h": 302.308,
    "s": 58.559,
    "l": 43.529
  },
  "oklch": {
    "l": 0.54895,
    "c": 0.21311,
    "h": 329.7
  },
  "luminance": 0.14124
}

Semantic roles & 50–950 ramp

primary
#B02EAB
secondary
#75C578
accent
#E24C46
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B02EAB

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

Preview Lab → · Contrast checker → · Palette generator →

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