#B02BB8#B02BB8

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

Color values

HEX#B02BB8
RGBrgb(176, 43, 184)
HSLhsl(297, 62%, 45%)
HSVhsv(297, 77%, 72%)
CMYKcmyk(4.3%, 76.6%, 0%, 27.8%)
CIE-LABlab(44.83, 68.18, -45.92)
CIE-LCHlch(44.83, 82.20, 326.04°)
OKLaboklab(55.43% 0.1863 -0.1279)
OKLCHoklch(55.43% 0.226 325.5)
XYZxyz(27.4195, 14.4204, 46.6773)
Luminance0.1442 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02BB8 #33B82B
analogous
#6A2BB8 #B02BB8 #B82B79
triadic
#B02BB8 #B8B02B #2BB8B0
tetradic
#B02BB8 #B86A2B #33B82B #2B79B8
square
#B02BB8 #B86A2B #33B82B #2B79B8
split-complementary
#B02BB8 #79B82B #2BB86A
monochromatic
#511455 #811F86 #B02BB8 #CD4BD5 #DB7DE1

Accessibility & contrast

On white

5.41
#B02BB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B02BB8
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02BB8#FFFFFF#000000##FFFFFF
##B02BB81.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BC
Deuteranopia (green-blind)
#4B70B5
Tritanopia (blue-blind)
#B44571
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b02bb8;
/* rgb */ color: rgb(176, 43, 184);
/* oklch */ color: oklch(55.4% 0.226 325.5);
Tailwind
colors: {
  custom: {
    50: '#cc74ce',
    500: '#b02bb8',
    950: '#000000',
  },
}
SCSS
$custom: #b02bb8;
$custom-light: #cc74ce;
$custom-dark: #000000;
JSON
{
  "hex": "#b02bb8",
  "rgb": {
    "r": 176,
    "g": 43,
    "b": 184
  },
  "hsl": {
    "h": 296.596,
    "s": 62.115,
    "l": 44.51
  },
  "oklch": {
    "l": 0.55429,
    "c": 0.22598,
    "h": 325.5
  },
  "luminance": 0.14419
}

Semantic roles & 50–950 ramp

primary
#B02BB8
secondary
#7BC976
accent
#E5434C
background
#FDF7FC
surface
#FAEDF9
border
#D3C8D2
text
#140914
muted
#837B82

Preview Lab

Preview with #B02BB8

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

Preview Lab → · Contrast checker → · Palette generator →

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