#B02FAA#B02FAA

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

Color values

HEX#B02FAA
RGBrgb(176, 47, 170)
HSLhsl(303, 58%, 44%)
HSVhsv(303, 73%, 69%)
CMYKcmyk(0%, 73.3%, 3.4%, 31%)
CIE-LABlab(44.47, 64.65, -38.23)
CIE-LCHlch(44.47, 75.11, 329.40°)
OKLaboklab(54.92% 0.1831 -0.1055)
OKLCHoklch(54.92% 0.211 330)
XYZxyz(26.1766, 14.1674, 39.3783)
Luminance0.1416 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02FAA #2FB035
analogous
#752FB0 #B02FAA #B02F69
triadic
#B02FAA #AAB02F #2FAAB0
tetradic
#B02FAA #B0752F #2FB035 #2F69B0
square
#B02FAA #B0752F #2FB035 #2F69B0
split-complementary
#B02FAA #69B02F #2FB075
monochromatic
#4F154D #80227B #B02FAA #CF4DC9 #DC7DD8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B02FAA#FFFFFF#000000##FFFFFF
##B02FAA1.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)
#1F5EAD
Deuteranopia (green-blind)
#566FA7
Tritanopia (blue-blind)
#B7406A
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b02faa;
/* rgb */ color: rgb(176, 47, 170);
/* oklch */ color: oklch(54.9% 0.211 330.0);
Tailwind
colors: {
  custom: {
    50: '#cb75c4',
    500: '#b02faa',
    950: '#000000',
  },
}
SCSS
$custom: #b02faa;
$custom-light: #cb75c4;
$custom-dark: #000000;
JSON
{
  "hex": "#b02faa",
  "rgb": {
    "r": 176,
    "g": 47,
    "b": 170
  },
  "hsl": {
    "h": 302.791,
    "s": 57.848,
    "l": 43.725
  },
  "oklch": {
    "l": 0.5492,
    "c": 0.2113,
    "h": 330
  },
  "luminance": 0.14165
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B02FAA

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

Preview Lab → · Contrast checker → · Palette generator →

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