#B02FA9#B02FA9

#B02FA9 is a mid, highly saturated purple. Relative luminance 0.141; OKLCH L 54.9% C 0.211 H 330.4°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#B02FA9
RGBrgb(176, 47, 169)
HSLhsl(303, 58%, 44%)
HSVhsv(303, 73%, 69%)
CMYKcmyk(0%, 73.3%, 4%, 31%)
CIE-LABlab(44.42, 64.49, -37.72)
CIE-LCHlch(44.42, 74.72, 329.68°)
OKLaboklab(54.86% 0.183 -0.1041)
OKLCHoklch(54.86% 0.211 330.4)
XYZxyz(26.0823, 14.1297, 38.8820)
Luminance0.1413 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02FA9 #2FB036
analogous
#762FB0 #B02FA9 #B02F68
triadic
#B02FA9 #A9B02F #2FA9B0
tetradic
#B02FA9 #B0762F #2FB036 #2F68B0
square
#B02FA9 #B0762F #2FB036 #2F68B0
split-complementary
#B02FA9 #68B02F #2FB076
monochromatic
#4F154C #80227B #B02FA9 #CF4DC8 #DC7DD7

Accessibility & contrast

On white

5.49
#B02FA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B02FA9
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02FA9#FFFFFF#000000##FFFFFF
##B02FA91.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#205EAC
Deuteranopia (green-blind)
#566FA6
Tritanopia (blue-blind)
#B74069
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b02fa9;
/* rgb */ color: rgb(176, 47, 169);
/* oklch */ color: oklch(54.9% 0.211 330.4);
Tailwind
colors: {
  custom: {
    50: '#cb75c3',
    500: '#b02fa9',
    950: '#000000',
  },
}
SCSS
$custom: #b02fa9;
$custom-light: #cb75c3;
$custom-dark: #000000;
JSON
{
  "hex": "#b02fa9",
  "rgb": {
    "r": 176,
    "g": 47,
    "b": 169
  },
  "hsl": {
    "h": 303.256,
    "s": 57.848,
    "l": 43.725
  },
  "oklch": {
    "l": 0.54864,
    "c": 0.21055,
    "h": 330.4
  },
  "luminance": 0.14128
}

Semantic roles & 50–950 ramp

primary
#B02FA9
secondary
#76C57A
accent
#E14F47
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140912
muted
#827B81

Preview Lab

Preview with #B02FA9

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

Preview Lab → · Contrast checker → · Palette generator →

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