#B02EAF#B02EAF

#B02EAF is a mid, highly saturated purple. Relative luminance 0.143; OKLCH L 55.1% C 0.216 H 328.4°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#B02EAF
RGBrgb(176, 46, 175)
HSLhsl(300, 59%, 44%)
HSVhsv(300, 74%, 69%)
CMYKcmyk(0%, 73.9%, 0.6%, 31%)
CIE-LABlab(44.63, 65.78, -40.94)
CIE-LCHlch(44.63, 77.48, 328.10°)
OKLaboklab(55.12% 0.184 -0.1134)
OKLCHoklch(55.12% 0.216 328.4)
XYZxyz(26.6191, 14.2812, 41.9037)
Luminance0.1428 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02EAF #2EB02F
analogous
#702EB0 #B02EAF #B02E6E
triadic
#B02EAF #AFB02E #2EAFB0
tetradic
#B02EAF #B0702E #2EB02F #2E6EB0
square
#B02EAF #B0702E #2EB02F #2E6EB0
split-complementary
#B02EAF #6EB02E #2EB070
monochromatic
#4F154F #7F217F #B02EAF #D04BCF #DD7CDC

Accessibility & contrast

On white

5.45
#B02EAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#B02EAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02EAF
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02EAF#FFFFFF#000000##FFFFFF
##B02EAF1.005.453.865.45
#FFFFFF5.451.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#145FB2
Deuteranopia (green-blind)
#526FAC
Tritanopia (blue-blind)
#B6426C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b02eaf;
/* rgb */ color: rgb(176, 46, 175);
/* oklch */ color: oklch(55.1% 0.216 328.4);
Tailwind
colors: {
  custom: {
    50: '#cb75c7',
    500: '#b02eaf',
    950: '#000000',
  },
}
SCSS
$custom: #b02eaf;
$custom-light: #cb75c7;
$custom-dark: #000000;
JSON
{
  "hex": "#b02eaf",
  "rgb": {
    "r": 176,
    "g": 46,
    "b": 175
  },
  "hsl": {
    "h": 300.462,
    "s": 58.559,
    "l": 43.529
  },
  "oklch": {
    "l": 0.55124,
    "c": 0.21614,
    "h": 328.4
  },
  "luminance": 0.14279
}

Semantic roles & 50–950 ramp

primary
#B02EAF
secondary
#75C575
accent
#E24746
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B02EAF

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

Preview Lab → · Contrast checker → · Palette generator →

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