#B02FB5#B02FB5

#B02FB5 is a mid, highly saturated purple. Relative luminance 0.146; OKLCH L 55.6% C 0.220 H 326.4°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#B02FB5
RGBrgb(176, 47, 181)
HSLhsl(298, 59%, 45%)
HSVhsv(298, 74%, 71%)
CMYKcmyk(2.8%, 74%, 0%, 29%)
CIE-LABlab(45.08, 66.45, -43.76)
CIE-LCHlch(45.08, 79.56, 326.63°)
OKLaboklab(55.55% 0.183 -0.1216)
OKLCHoklch(55.55% 0.22 326.4)
XYZxyz(27.2610, 14.6012, 45.0896)
Luminance0.1460 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02FB5 #34B52F
analogous
#6D2FB5 #B02FB5 #B52F77
triadic
#B02FB5 #B5B02F #2FB5B0
tetradic
#B02FB5 #B56D2F #34B52F #2F77B5
square
#B02FB5 #B56D2F #34B52F #2F77B5
split-complementary
#B02FB5 #77B52F #2FB56D
monochromatic
#521654 #812284 #B02FB5 #CD50D1 #DB80DE

Accessibility & contrast

On white

5.36
#B02FB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#B02FB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02FB5
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02FB5#FFFFFF#000000##FFFFFF
##B02FB51.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0560B9
Deuteranopia (green-blind)
#4F70B2
Tritanopia (blue-blind)
#B54670
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b02fb5;
/* rgb */ color: rgb(176, 47, 181);
/* oklch */ color: oklch(55.6% 0.220 326.4);
Tailwind
colors: {
  custom: {
    50: '#cb75cc',
    500: '#b02fb5',
    950: '#000000',
  },
}
SCSS
$custom: #b02fb5;
$custom-light: #cb75cc;
$custom-dark: #000000;
JSON
{
  "hex": "#b02fb5",
  "rgb": {
    "r": 176,
    "g": 47,
    "b": 181
  },
  "hsl": {
    "h": 297.761,
    "s": 58.772,
    "l": 44.706
  },
  "oklch": {
    "l": 0.55554,
    "c": 0.21973,
    "h": 326.4
  },
  "luminance": 0.14599
}

Semantic roles & 50–950 ramp

primary
#B02FB5
secondary
#7CC779
accent
#E2464C
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140913
muted
#837B82

Preview Lab

Preview with #B02FB5

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

Preview Lab → · Contrast checker → · Palette generator →

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