#B02FB4#B02FB4

#B02FB4 is a mid, highly saturated purple. Relative luminance 0.146; OKLCH L 55.5% C 0.219 H 326.7°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#B02FB4
RGBrgb(176, 47, 180)
HSLhsl(298, 59%, 45%)
HSVhsv(298, 74%, 71%)
CMYKcmyk(2.2%, 73.9%, 0%, 29.4%)
CIE-LABlab(45.03, 66.28, -43.26)
CIE-LCHlch(45.03, 79.15, 326.87°)
OKLaboklab(55.5% 0.183 -0.1201)
OKLCHoklch(55.5% 0.219 326.7)
XYZxyz(27.1588, 14.5603, 44.5511)
Luminance0.1456 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02FB4 #33B42F
analogous
#6D2FB4 #B02FB4 #B42F76
triadic
#B02FB4 #B4B02F #2FB4B0
tetradic
#B02FB4 #B46D2F #33B42F #2F76B4
square
#B02FB4 #B46D2F #33B42F #2F76B4
split-complementary
#B02FB4 #76B42F #2FB46D
monochromatic
#511653 #812283 #B02FB4 #CD4FD1 #DB80DE

Accessibility & contrast

On white

5.37
#B02FB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#B02FB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02FB4
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02FB4#FFFFFF#000000##FFFFFF
##B02FB41.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0860B8
Deuteranopia (green-blind)
#5070B1
Tritanopia (blue-blind)
#B5456F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b02fb4;
/* rgb */ color: rgb(176, 47, 180);
/* oklch */ color: oklch(55.5% 0.219 326.7);
Tailwind
colors: {
  custom: {
    50: '#cb75cb',
    500: '#b02fb4',
    950: '#000000',
  },
}
SCSS
$custom: #b02fb4;
$custom-light: #cb75cb;
$custom-dark: #000000;
JSON
{
  "hex": "#b02fb4",
  "rgb": {
    "r": 176,
    "g": 47,
    "b": 180
  },
  "hsl": {
    "h": 298.195,
    "s": 58.59,
    "l": 44.51
  },
  "oklch": {
    "l": 0.55495,
    "c": 0.21895,
    "h": 326.7
  },
  "luminance": 0.14558
}

Semantic roles & 50–950 ramp

primary
#B02FB4
secondary
#7BC778
accent
#E2464B
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B02FB4

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

Preview Lab → · Contrast checker → · Palette generator →

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