#B02FB1#B02FB1

#B02FB1 is a mid, highly saturated purple. Relative luminance 0.144; OKLCH L 55.3% C 0.217 H 327.7°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#B02FB1
RGBrgb(176, 47, 177)
HSLhsl(300, 58%, 44%)
HSVhsv(300, 73%, 69%)
CMYKcmyk(0.6%, 73.4%, 0%, 30.6%)
CIE-LABlab(44.86, 65.79, -41.76)
CIE-LCHlch(44.86, 77.92, 327.59°)
OKLaboklab(55.32% 0.1831 -0.1158)
OKLCHoklch(55.32% 0.217 327.7)
XYZxyz(26.8565, 14.4394, 42.9590)
Luminance0.1444 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02FB1 #30B12F
analogous
#6F2FB1 #B02FB1 #B12F71
triadic
#B02FB1 #B1B02F #2FB1B0
tetradic
#B02FB1 #B16F2F #30B12F #2F71B1
square
#B02FB1 #B16F2F #30B12F #2F71B1
split-complementary
#B02FB1 #71B12F #2FB16F
monochromatic
#501550 #802281 #B02FB1 #CF4DD0 #DC7EDD

Accessibility & contrast

On white

5.40
#B02FB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#B02FB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02FB1
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02FB1#FFFFFF#000000##FFFFFF
##B02FB11.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#125FB5
Deuteranopia (green-blind)
#5270AE
Tritanopia (blue-blind)
#B5446E
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b02fb1;
/* rgb */ color: rgb(176, 47, 177);
/* oklch */ color: oklch(55.3% 0.217 327.7);
Tailwind
colors: {
  custom: {
    50: '#cb75c9',
    500: '#b02fb1',
    950: '#000000',
  },
}
SCSS
$custom: #b02fb1;
$custom-light: #cb75c9;
$custom-dark: #000000;
JSON
{
  "hex": "#b02fb1",
  "rgb": {
    "r": 176,
    "g": 47,
    "b": 177
  },
  "hsl": {
    "h": 299.538,
    "s": 58.036,
    "l": 43.922
  },
  "oklch": {
    "l": 0.55319,
    "c": 0.21663,
    "h": 327.7
  },
  "luminance": 0.14437
}

Semantic roles & 50–950 ramp

primary
#B02FB1
secondary
#77C576
accent
#E14748
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B02FB1

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

Preview Lab → · Contrast checker → · Palette generator →

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