#B02FA0#B02FA0

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

Color values

HEX#B02FA0
RGBrgb(176, 47, 160)
HSLhsl(307, 58%, 44%)
HSVhsv(307, 73%, 69%)
CMYKcmyk(0%, 73.3%, 9.1%, 31%)
CIE-LABlab(43.95, 63.09, -33.10)
CIE-LCHlch(43.95, 71.24, 332.32°)
OKLaboklab(54.37% 0.1826 -0.0907)
OKLCHoklch(54.37% 0.204 333.6)
XYZxyz(25.2664, 13.8034, 34.5845)
Luminance0.1380 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02FA0 #2FB03F
analogous
#7F2FB0 #B02FA0 #B02F5F
triadic
#B02FA0 #A0B02F #2FA0B0
tetradic
#B02FA0 #B07F2F #2FB03F #2F5FB0
square
#B02FA0 #B07F2F #2FB03F #2F5FB0
split-complementary
#B02FA0 #5FB02F #2FB07F
monochromatic
#4F1548 #802274 #B02FA0 #CF4DBF #DC7DD0

Accessibility & contrast

On white

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

On black

3.76
#B02FA0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##B02FA0#FFFFFF#000000##FFFFFF
##B02FA01.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5CA3
Deuteranopia (green-blind)
#5B6E9D
Tritanopia (blue-blind)
#B83B64
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b02fa0;
/* rgb */ color: rgb(176, 47, 160);
/* oklch */ color: oklch(54.4% 0.204 333.6);
Tailwind
colors: {
  custom: {
    50: '#cb74bc',
    500: '#b02fa0',
    950: '#000000',
  },
}
SCSS
$custom: #b02fa0;
$custom-light: #cb74bc;
$custom-dark: #000000;
JSON
{
  "hex": "#b02fa0",
  "rgb": {
    "r": 176,
    "g": 47,
    "b": 160
  },
  "hsl": {
    "h": 307.442,
    "s": 57.848,
    "l": 43.725
  },
  "oklch": {
    "l": 0.54375,
    "c": 0.20391,
    "h": 333.6
  },
  "luminance": 0.13801
}

Semantic roles & 50–950 ramp

primary
#B02FA0
secondary
#76C580
accent
#E15A47
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140912
muted
#827B81

Preview Lab

Preview with #B02FA0

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

Preview Lab → · Contrast checker → · Palette generator →

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