#B02FA8#B02FA8

#B02FA8 is a mid, highly saturated purple. Relative luminance 0.141; OKLCH L 54.8% C 0.210 H 330.7°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#B02FA8
RGBrgb(176, 47, 168)
HSLhsl(304, 58%, 44%)
HSVhsv(304, 73%, 69%)
CMYKcmyk(0%, 73.3%, 4.5%, 31%)
CIE-LABlab(44.37, 64.33, -37.21)
CIE-LCHlch(44.37, 74.32, 329.95°)
OKLaboklab(54.81% 0.183 -0.1026)
OKLCHoklch(54.81% 0.21 330.7)
XYZxyz(25.9888, 14.0923, 38.3895)
Luminance0.1409 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02FA8 #2FB037
analogous
#772FB0 #B02FA8 #B02F67
triadic
#B02FA8 #A8B02F #2FA8B0
tetradic
#B02FA8 #B0772F #2FB037 #2F67B0
square
#B02FA8 #B0772F #2FB037 #2F67B0
split-complementary
#B02FA8 #67B02F #2FB077
monochromatic
#4F154C #80227A #B02FA8 #CF4DC7 #DC7DD6

Accessibility & contrast

On white

5.50
#B02FA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B02FA8
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02FA8#FFFFFF#000000##FFFFFF
##B02FA81.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#225EAB
Deuteranopia (green-blind)
#576FA5
Tritanopia (blue-blind)
#B73F69
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b02fa8;
/* rgb */ color: rgb(176, 47, 168);
/* oklch */ color: oklch(54.8% 0.210 330.7);
Tailwind
colors: {
  custom: {
    50: '#cb75c2',
    500: '#b02fa8',
    950: '#000000',
  },
}
SCSS
$custom: #b02fa8;
$custom-light: #cb75c2;
$custom-dark: #000000;
JSON
{
  "hex": "#b02fa8",
  "rgb": {
    "r": 176,
    "g": 47,
    "b": 168
  },
  "hsl": {
    "h": 303.721,
    "s": 57.848,
    "l": 43.725
  },
  "oklch": {
    "l": 0.54808,
    "c": 0.2098,
    "h": 330.7
  },
  "luminance": 0.1409
}

Semantic roles & 50–950 ramp

primary
#B02FA8
secondary
#76C57B
accent
#E15047
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140912
muted
#827B81

Preview Lab

Preview with #B02FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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