#B02EA3#B02EA3

#B02EA3 is a mid, highly saturated purple. Relative luminance 0.138; OKLCH L 54.5% C 0.207 H 332.5°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#B02EA3
RGBrgb(176, 46, 163)
HSLhsl(306, 59%, 44%)
HSVhsv(306, 74%, 69%)
CMYKcmyk(0%, 73.9%, 7.4%, 31%)
CIE-LABlab(43.99, 63.88, -34.83)
CIE-LCHlch(43.99, 72.75, 331.40°)
OKLaboklab(54.45% 0.1838 -0.0957)
OKLCHoklch(54.45% 0.207 332.5)
XYZxyz(25.4924, 13.8306, 35.9702)
Luminance0.1383 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02EA3 #2EB03B
analogous
#7C2EB0 #B02EA3 #B02E62
triadic
#B02EA3 #A3B02E #2EA3B0
tetradic
#B02EA3 #B07C2E #2EB03B #2E62B0
square
#B02EA3 #B07C2E #2EB03B #2E62B0
split-complementary
#B02EA3 #62B02E #2EB07C
monochromatic
#4F1549 #7F2176 #B02EA3 #D04BC3 #DD7CD3

Accessibility & contrast

On white

5.58
#B02EA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#B02EA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02EA3
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02EA3#FFFFFF#000000##FFFFFF
##B02EA31.005.583.775.58
#FFFFFF5.581.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#275CA6
Deuteranopia (green-blind)
#596EA0
Tritanopia (blue-blind)
#B83C66
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b02ea3;
/* rgb */ color: rgb(176, 46, 163);
/* oklch */ color: oklch(54.5% 0.207 332.5);
Tailwind
colors: {
  custom: {
    50: '#cb74be',
    500: '#b02ea3',
    950: '#000000',
  },
}
SCSS
$custom: #b02ea3;
$custom-light: #cb74be;
$custom-dark: #000000;
JSON
{
  "hex": "#b02ea3",
  "rgb": {
    "r": 176,
    "g": 46,
    "b": 163
  },
  "hsl": {
    "h": 306,
    "s": 58.559,
    "l": 43.529
  },
  "oklch": {
    "l": 0.54453,
    "c": 0.20718,
    "h": 332.5
  },
  "luminance": 0.13828
}

Semantic roles & 50–950 ramp

primary
#B02EA3
secondary
#75C57D
accent
#E25646
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#140912
muted
#827B81

Preview Lab

Preview with #B02EA3

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

Preview Lab → · Contrast checker → · Palette generator →

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