#B02FB2#B02FB2

#B02FB2 is a mid, highly saturated purple. Relative luminance 0.145; OKLCH L 55.4% C 0.217 H 327.4°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#B02FB2
RGBrgb(176, 47, 178)
HSLhsl(299, 58%, 44%)
HSVhsv(299, 74%, 70%)
CMYKcmyk(1.1%, 73.6%, 0%, 30.2%)
CIE-LABlab(44.91, 65.95, -42.26)
CIE-LCHlch(44.91, 78.33, 327.35°)
OKLaboklab(55.38% 0.1831 -0.1172)
OKLCHoklch(55.38% 0.217 327.4)
XYZxyz(26.9565, 14.4794, 43.4859)
Luminance0.1448 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02FB2 #31B22F
analogous
#6F2FB2 #B02FB2 #B22F73
triadic
#B02FB2 #B2B02F #2FB2B0
tetradic
#B02FB2 #B26F2F #31B22F #2F73B2
square
#B02FB2 #B26F2F #31B22F #2F73B2
split-complementary
#B02FB2 #73B22F #2FB26F
monochromatic
#501551 #802282 #B02FB2 #CE4ED0 #DC7EDD

Accessibility & contrast

On white

5.39
#B02FB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#B02FB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02FB2
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02FB2#FFFFFF#000000##FFFFFF
##B02FB21.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F60B6
Deuteranopia (green-blind)
#5170AF
Tritanopia (blue-blind)
#B5446E
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b02fb2;
/* rgb */ color: rgb(176, 47, 178);
/* oklch */ color: oklch(55.4% 0.217 327.4);
Tailwind
colors: {
  custom: {
    50: '#cb75c9',
    500: '#b02fb2',
    950: '#000000',
  },
}
SCSS
$custom: #b02fb2;
$custom-light: #cb75c9;
$custom-dark: #000000;
JSON
{
  "hex": "#b02fb2",
  "rgb": {
    "r": 176,
    "g": 47,
    "b": 178
  },
  "hsl": {
    "h": 299.084,
    "s": 58.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.55377,
    "c": 0.2174,
    "h": 327.4
  },
  "luminance": 0.14477
}

Semantic roles & 50–950 ramp

primary
#B02FB2
secondary
#78C677
accent
#E14649
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B02FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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