#B02BB2#B02BB2

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

Color values

HEX#B02BB2
RGBrgb(176, 43, 178)
HSLhsl(299, 61%, 43%)
HSVhsv(299, 76%, 70%)
CMYKcmyk(1.1%, 75.8%, 0%, 30.2%)
CIE-LABlab(44.48, 67.19, -42.95)
CIE-LCHlch(44.48, 79.74, 327.41°)
OKLaboklab(55.07% 0.1866 -0.1192)
OKLCHoklch(55.07% 0.221 327.4)
XYZxyz(26.8039, 14.1741, 43.4350)
Luminance0.1417 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02BB2 #2DB22B
analogous
#6C2BB2 #B02BB2 #B22B70
triadic
#B02BB2 #B2B02B #2BB2B0
tetradic
#B02BB2 #B26C2B #2DB22B #2B70B2
square
#B02BB2 #B26C2B #2DB22B #2B70B2
split-complementary
#B02BB2 #70B22B #2BB26C
monochromatic
#4F134F #7F1F81 #B02BB2 #D148D3 #DD79DF

Accessibility & contrast

On white

5.48
#B02BB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#B02BB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02BB2
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02BB2#FFFFFF#000000##FFFFFF
##B02BB21.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#015EB6
Deuteranopia (green-blind)
#4F6FAF
Tritanopia (blue-blind)
#B5426D
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b02bb2;
/* rgb */ color: rgb(176, 43, 178);
/* oklch */ color: oklch(55.1% 0.221 327.4);
Tailwind
colors: {
  custom: {
    50: '#cc74c9',
    500: '#b02bb2',
    950: '#000000',
  },
}
SCSS
$custom: #b02bb2;
$custom-light: #cc74c9;
$custom-dark: #000000;
JSON
{
  "hex": "#b02bb2",
  "rgb": {
    "r": 176,
    "g": 43,
    "b": 178
  },
  "hsl": {
    "h": 299.111,
    "s": 61.086,
    "l": 43.333
  },
  "oklch": {
    "l": 0.5507,
    "c": 0.22139,
    "h": 327.4
  },
  "luminance": 0.14172
}

Semantic roles & 50–950 ramp

primary
#B02BB2
secondary
#73C772
accent
#E44446
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B02BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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