#B02EAC#B02EAC

#B02EAC is a mid, highly saturated purple. Relative luminance 0.142; OKLCH L 55.0% C 0.214 H 329.4°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#B02EAC
RGBrgb(176, 46, 172)
HSLhsl(302, 59%, 44%)
HSVhsv(302, 74%, 69%)
CMYKcmyk(0%, 73.9%, 2.3%, 31%)
CIE-LABlab(44.47, 65.29, -39.42)
CIE-LCHlch(44.47, 76.27, 328.88°)
OKLaboklab(54.95% 0.184 -0.109)
OKLCHoklch(54.95% 0.214 329.4)
XYZxyz(26.3277, 14.1647, 40.3691)
Luminance0.1416 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02EAC #2EB032
analogous
#732EB0 #B02EAC #B02E6B
triadic
#B02EAC #ACB02E #2EACB0
tetradic
#B02EAC #B0732E #2EB032 #2E6BB0
square
#B02EAC #B0732E #2EB032 #2E6BB0
split-complementary
#B02EAC #6BB02E #2EB073
monochromatic
#4F154D #7F217D #B02EAC #D04BCC #DD7CDA

Accessibility & contrast

On white

5.48
#B02EAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#B02EAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02EAC
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02EAC#FFFFFF#000000##FFFFFF
##B02EAC1.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A5EAF
Deuteranopia (green-blind)
#546FA9
Tritanopia (blue-blind)
#B6416B
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b02eac;
/* rgb */ color: rgb(176, 46, 172);
/* oklch */ color: oklch(55.0% 0.214 329.4);
Tailwind
colors: {
  custom: {
    50: '#cb75c5',
    500: '#b02eac',
    950: '#000000',
  },
}
SCSS
$custom: #b02eac;
$custom-light: #cb75c5;
$custom-dark: #000000;
JSON
{
  "hex": "#b02eac",
  "rgb": {
    "r": 176,
    "g": 46,
    "b": 172
  },
  "hsl": {
    "h": 301.846,
    "s": 58.559,
    "l": 43.529
  },
  "oklch": {
    "l": 0.54952,
    "c": 0.21387,
    "h": 329.4
  },
  "luminance": 0.14163
}

Semantic roles & 50–950 ramp

primary
#B02EAC
secondary
#75C577
accent
#E24B46
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B02EAC

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

Preview Lab → · Contrast checker → · Palette generator →

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