#B02FA6#B02FA6

#B02FA6 is a mid, highly saturated purple. Relative luminance 0.140; OKLCH L 54.7% C 0.208 H 331.4°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#B02FA6
RGBrgb(176, 47, 166)
HSLhsl(305, 58%, 44%)
HSVhsv(305, 73%, 69%)
CMYKcmyk(0%, 73.3%, 5.7%, 31%)
CIE-LABlab(44.26, 64.02, -36.19)
CIE-LCHlch(44.26, 73.54, 330.52°)
OKLaboklab(54.7% 0.1829 -0.0996)
OKLCHoklch(54.7% 0.208 331.4)
XYZxyz(25.8039, 14.0184, 37.4158)
Luminance0.1402 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02FA6 #2FB039
analogous
#792FB0 #B02FA6 #B02F65
triadic
#B02FA6 #A6B02F #2FA6B0
tetradic
#B02FA6 #B0792F #2FB039 #2F65B0
square
#B02FA6 #B0792F #2FB039 #2F65B0
split-complementary
#B02FA6 #65B02F #2FB079
monochromatic
#4F154B #802278 #B02FA6 #CF4DC5 #DC7DD5

Accessibility & contrast

On white

5.52
#B02FA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#B02FA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02FA6
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02FA6#FFFFFF#000000##FFFFFF
##B02FA61.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#245DA9
Deuteranopia (green-blind)
#586FA3
Tritanopia (blue-blind)
#B73E68
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b02fa6;
/* rgb */ color: rgb(176, 47, 166);
/* oklch */ color: oklch(54.7% 0.208 331.4);
Tailwind
colors: {
  custom: {
    50: '#cb75c1',
    500: '#b02fa6',
    950: '#000000',
  },
}
SCSS
$custom: #b02fa6;
$custom-light: #cb75c1;
$custom-dark: #000000;
JSON
{
  "hex": "#b02fa6",
  "rgb": {
    "r": 176,
    "g": 47,
    "b": 166
  },
  "hsl": {
    "h": 304.651,
    "s": 57.848,
    "l": 43.725
  },
  "oklch": {
    "l": 0.54698,
    "c": 0.20832,
    "h": 331.4
  },
  "luminance": 0.14016
}

Semantic roles & 50–950 ramp

primary
#B02FA6
secondary
#76C57C
accent
#E15347
background
#FCF7FB
surface
#F9EEF7
border
#D2C9D0
text
#140912
muted
#827B81

Preview Lab

Preview with #B02FA6

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

Preview Lab → · Contrast checker → · Palette generator →

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