#B02BAF#B02BAF

#B02BAF is a mid, highly saturated purple. Relative luminance 0.141; OKLCH L 54.9% C 0.219 H 328.4°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#B02BAF
RGBrgb(176, 43, 175)
HSLhsl(300, 61%, 43%)
HSVhsv(300, 76%, 69%)
CMYKcmyk(0%, 75.6%, 0.6%, 31%)
CIE-LABlab(44.31, 66.70, -41.45)
CIE-LCHlch(44.31, 78.53, 328.14°)
OKLaboklab(54.89% 0.1866 -0.1148)
OKLCHoklch(54.89% 0.219 328.4)
XYZxyz(26.5059, 14.0550, 41.8660)
Luminance0.1405 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02BAF #2BB02C
analogous
#6E2BB0 #B02BAF #B02B6C
triadic
#B02BAF #AFB02B #2BAFB0
tetradic
#B02BAF #B06E2B #2BB02C #2B6CB0
square
#B02BAF #B06E2B #2BB02C #2B6CB0
split-complementary
#B02BAF #6CB02B #2BB06E
monochromatic
#4E134D #7F1F7E #B02BAF #D246D1 #DE78DD

Accessibility & contrast

On white

5.51
#B02BAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#B02BAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02BAF
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02BAF#FFFFFF#000000##FFFFFF
##B02BAF1.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C5EB3
Deuteranopia (green-blind)
#516FAC
Tritanopia (blue-blind)
#B6406C
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b02baf;
/* rgb */ color: rgb(176, 43, 175);
/* oklch */ color: oklch(54.9% 0.219 328.4);
Tailwind
colors: {
  custom: {
    50: '#cc73c7',
    500: '#b02baf',
    950: '#000000',
  },
}
SCSS
$custom: #b02baf;
$custom-light: #cc73c7;
$custom-dark: #000000;
JSON
{
  "hex": "#b02baf",
  "rgb": {
    "r": 176,
    "g": 43,
    "b": 175
  },
  "hsl": {
    "h": 300.451,
    "s": 60.731,
    "l": 42.941
  },
  "oklch": {
    "l": 0.54894,
    "c": 0.21914,
    "h": 328.4
  },
  "luminance": 0.14053
}

Semantic roles & 50–950 ramp

primary
#B02BAF
secondary
#71C672
accent
#E44544
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B02BAF

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

Preview Lab → · Contrast checker → · Palette generator →

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