#B02BB7#B02BB7

#B02BB7 is a mid, highly saturated purple. Relative luminance 0.144; OKLCH L 55.4% C 0.225 H 325.8°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#B02BB7
RGBrgb(176, 43, 183)
HSLhsl(297, 62%, 44%)
HSVhsv(297, 77%, 72%)
CMYKcmyk(3.8%, 76.5%, 0%, 28.2%)
CIE-LABlab(44.77, 68.01, -45.43)
CIE-LCHlch(44.77, 81.79, 326.26°)
OKLaboklab(55.37% 0.1864 -0.1264)
OKLCHoklch(55.37% 0.225 325.8)
XYZxyz(27.3150, 14.3786, 46.1272)
Luminance0.1438 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02BB7 #32B72B
analogous
#6A2BB7 #B02BB7 #B72B78
triadic
#B02BB7 #B7B02B #2BB7B0
tetradic
#B02BB7 #B76A2B #32B72B #2B78B7
square
#B02BB7 #B76A2B #32B72B #2B78B7
split-complementary
#B02BB7 #78B72B #2BB76A
monochromatic
#511454 #801F85 #B02BB7 #CE4BD5 #DB7CE0

Accessibility & contrast

On white

5.42
#B02BB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#B02BB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02BB7
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02BB7#FFFFFF#000000##FFFFFF
##B02BB71.005.423.885.42
#FFFFFF5.421.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBB
Deuteranopia (green-blind)
#4C6FB4
Tritanopia (blue-blind)
#B44470
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b02bb7;
/* rgb */ color: rgb(176, 43, 183);
/* oklch */ color: oklch(55.4% 0.225 325.8);
Tailwind
colors: {
  custom: {
    50: '#cc74cd',
    500: '#b02bb7',
    950: '#000000',
  },
}
SCSS
$custom: #b02bb7;
$custom-light: #cc74cd;
$custom-dark: #000000;
JSON
{
  "hex": "#b02bb7",
  "rgb": {
    "r": 176,
    "g": 43,
    "b": 183
  },
  "hsl": {
    "h": 297,
    "s": 61.947,
    "l": 44.314
  },
  "oklch": {
    "l": 0.55369,
    "c": 0.2252,
    "h": 325.8
  },
  "luminance": 0.14377
}

Semantic roles & 50–950 ramp

primary
#B02BB7
secondary
#79C975
accent
#E5434B
background
#FDF7FC
surface
#FAEDF9
border
#D3C8D2
text
#140913
muted
#837B82

Preview Lab

Preview with #B02BB7

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

Preview Lab → · Contrast checker → · Palette generator →

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