#B02FA7#B02FA7

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

Color values

HEX#B02FA7
RGBrgb(176, 47, 167)
HSLhsl(304, 58%, 44%)
HSVhsv(304, 73%, 69%)
CMYKcmyk(0%, 73.3%, 5.1%, 31%)
CIE-LABlab(44.31, 64.18, -36.70)
CIE-LCHlch(44.31, 73.93, 330.23°)
OKLaboklab(54.75% 0.183 -0.1011)
OKLCHoklch(54.75% 0.209 331.1)
XYZxyz(25.8960, 14.0552, 37.9008)
Luminance0.1405 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02FA7 #2FB038
analogous
#782FB0 #B02FA7 #B02F66
triadic
#B02FA7 #A7B02F #2FA7B0
tetradic
#B02FA7 #B0782F #2FB038 #2F66B0
square
#B02FA7 #B0782F #2FB038 #2F66B0
split-complementary
#B02FA7 #66B02F #2FB078
monochromatic
#4F154B #802279 #B02FA7 #CF4DC6 #DC7DD6

Accessibility & contrast

On white

5.51
#B02FA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#B02FA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02FA7
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02FA7#FFFFFF#000000##FFFFFF
##B02FA71.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235DAA
Deuteranopia (green-blind)
#576FA4
Tritanopia (blue-blind)
#B73F68
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b02fa7;
/* rgb */ color: rgb(176, 47, 167);
/* oklch */ color: oklch(54.8% 0.209 331.1);
Tailwind
colors: {
  custom: {
    50: '#cb75c1',
    500: '#b02fa7',
    950: '#000000',
  },
}
SCSS
$custom: #b02fa7;
$custom-light: #cb75c1;
$custom-dark: #000000;
JSON
{
  "hex": "#b02fa7",
  "rgb": {
    "r": 176,
    "g": 47,
    "b": 167
  },
  "hsl": {
    "h": 304.186,
    "s": 57.848,
    "l": 43.725
  },
  "oklch": {
    "l": 0.54753,
    "c": 0.20905,
    "h": 331.1
  },
  "luminance": 0.14053
}

Semantic roles & 50–950 ramp

primary
#B02FA7
secondary
#76C57B
accent
#E15147
background
#FCF7FB
surface
#F9EEF7
border
#D2C9D0
text
#140912
muted
#827B81

Preview Lab

Preview with #B02FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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