#B02FA3#B02FA3

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

Color values

HEX#B02FA3
RGBrgb(176, 47, 163)
HSLhsl(306, 58%, 44%)
HSVhsv(306, 73%, 69%)
CMYKcmyk(0%, 73.3%, 7.4%, 31%)
CIE-LABlab(44.10, 63.55, -34.65)
CIE-LCHlch(44.10, 72.38, 331.40°)
OKLaboklab(54.54% 0.1828 -0.0952)
OKLCHoklch(54.54% 0.206 332.5)
XYZxyz(25.5320, 13.9096, 35.9833)
Luminance0.1391 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02FA3 #2FB03C
analogous
#7C2FB0 #B02FA3 #B02F62
triadic
#B02FA3 #A3B02F #2FA3B0
tetradic
#B02FA3 #B07C2F #2FB03C #2F62B0
square
#B02FA3 #B07C2F #2FB03C #2F62B0
split-complementary
#B02FA3 #62B02F #2FB07C
monochromatic
#4F154A #802276 #B02FA3 #CF4DC2 #DC7DD3

Accessibility & contrast

On white

5.55
#B02FA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#B02FA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02FA3
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02FA3#FFFFFF#000000##FFFFFF
##B02FA31.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285DA6
Deuteranopia (green-blind)
#596FA0
Tritanopia (blue-blind)
#B83D66
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b02fa3;
/* rgb */ color: rgb(176, 47, 163);
/* oklch */ color: oklch(54.5% 0.206 332.5);
Tailwind
colors: {
  custom: {
    50: '#cb75be',
    500: '#b02fa3',
    950: '#000000',
  },
}
SCSS
$custom: #b02fa3;
$custom-light: #cb75be;
$custom-dark: #000000;
JSON
{
  "hex": "#b02fa3",
  "rgb": {
    "r": 176,
    "g": 47,
    "b": 163
  },
  "hsl": {
    "h": 306.047,
    "s": 57.848,
    "l": 43.725
  },
  "oklch": {
    "l": 0.54535,
    "c": 0.2061,
    "h": 332.5
  },
  "luminance": 0.13907
}

Semantic roles & 50–950 ramp

primary
#B02FA3
secondary
#76C57E
accent
#E15647
background
#FCF7FB
surface
#F9EEF7
border
#D2C9D0
text
#140912
muted
#827B81

Preview Lab

Preview with #B02FA3

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

Preview Lab → · Contrast checker → · Palette generator →

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