#B02BB3#B02BB3

#B02BB3 is a mid, highly saturated purple. Relative luminance 0.142; OKLCH L 55.1% C 0.222 H 327.1°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#B02BB3
RGBrgb(176, 43, 179)
HSLhsl(299, 61%, 44%)
HSVhsv(299, 76%, 70%)
CMYKcmyk(1.7%, 76%, 0%, 29.8%)
CIE-LABlab(44.54, 67.35, -43.45)
CIE-LCHlch(44.54, 80.15, 327.17°)
OKLaboklab(55.13% 0.1865 -0.1207)
OKLCHoklch(55.13% 0.222 327.1)
XYZxyz(26.9046, 14.2145, 43.9657)
Luminance0.1421 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02BB3 #2EB32B
analogous
#6C2BB3 #B02BB3 #B32B72
triadic
#B02BB3 #B3B02B #2BB3B0
tetradic
#B02BB3 #B36C2B #2EB32B #2B72B3
square
#B02BB3 #B36C2B #2EB32B #2B72B3
split-complementary
#B02BB3 #72B32B #2BB36C
monochromatic
#4F1350 #7F1F82 #B02BB3 #D048D3 #DD79DF

Accessibility & contrast

On white

5.47
#B02BB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#B02BB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02BB3
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02BB3#FFFFFF#000000##FFFFFF
##B02BB31.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FB7
Deuteranopia (green-blind)
#4F6FB0
Tritanopia (blue-blind)
#B5426E
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b02bb3;
/* rgb */ color: rgb(176, 43, 179);
/* oklch */ color: oklch(55.1% 0.222 327.1);
Tailwind
colors: {
  custom: {
    50: '#cc74ca',
    500: '#b02bb3',
    950: '#000000',
  },
}
SCSS
$custom: #b02bb3;
$custom-light: #cc74ca;
$custom-dark: #000000;
JSON
{
  "hex": "#b02bb3",
  "rgb": {
    "r": 176,
    "g": 43,
    "b": 179
  },
  "hsl": {
    "h": 298.676,
    "s": 61.261,
    "l": 43.529
  },
  "oklch": {
    "l": 0.55129,
    "c": 0.22215,
    "h": 327.1
  },
  "luminance": 0.14213
}

Semantic roles & 50–950 ramp

primary
#B02BB3
secondary
#75C773
accent
#E44347
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B02BB3

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

Preview Lab → · Contrast checker → · Palette generator →

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