#B02BB0#B02BB0

#B02BB0 is a mid, highly saturated purple. Relative luminance 0.141; OKLCH L 55.0% C 0.220 H 328.1°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#B02BB0
RGBrgb(176, 43, 176)
HSLhsl(300, 61%, 43%)
HSVhsv(300, 76%, 69%)
CMYKcmyk(0%, 75.6%, 0%, 31%)
CIE-LABlab(44.37, 66.86, -41.95)
CIE-LCHlch(44.37, 78.93, 327.90°)
OKLaboklab(54.95% 0.1866 -0.1163)
OKLCHoklch(54.95% 0.22 328.1)
XYZxyz(26.6045, 14.0944, 42.3851)
Luminance0.1409 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02BB0 #2BB02B
analogous
#6D2BB0 #B02BB0 #B02B6D
triadic
#B02BB0 #B0B02B #2BB0B0
tetradic
#B02BB0 #B06D2B #2BB02B #2B6DB0
square
#B02BB0 #B06D2B #2BB02B #2B6DB0
split-complementary
#B02BB0 #6DB02B #2BB06D
monochromatic
#4E134E #7F1F7F #B02BB0 #D246D2 #DE78DE

Accessibility & contrast

On white

5.50
#B02BB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#B02BB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02BB0
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02BB0#FFFFFF#000000##FFFFFF
##B02BB01.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#095EB4
Deuteranopia (green-blind)
#516FAD
Tritanopia (blue-blind)
#B6416C
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b02bb0;
/* rgb */ color: rgb(176, 43, 176);
/* oklch */ color: oklch(55.0% 0.220 328.1);
Tailwind
colors: {
  custom: {
    50: '#cc73c8',
    500: '#b02bb0',
    950: '#000000',
  },
}
SCSS
$custom: #b02bb0;
$custom-light: #cc73c8;
$custom-dark: #000000;
JSON
{
  "hex": "#b02bb0",
  "rgb": {
    "r": 176,
    "g": 43,
    "b": 176
  },
  "hsl": {
    "h": 300,
    "s": 60.731,
    "l": 42.941
  },
  "oklch": {
    "l": 0.54952,
    "c": 0.21988,
    "h": 328.1
  },
  "luminance": 0.14092
}

Semantic roles & 50–950 ramp

primary
#B02BB0
secondary
#71C671
accent
#E44444
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B02BB0

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

Preview Lab → · Contrast checker → · Palette generator →

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