#B02BA1#B02BA1

#B02BA1 is a mid, highly saturated purple. Relative luminance 0.135; OKLCH L 54.1% C 0.209 H 333.2°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#B02BA1
RGBrgb(176, 43, 161)
HSLhsl(307, 61%, 43%)
HSVhsv(307, 76%, 69%)
CMYKcmyk(0%, 75.6%, 8.5%, 31%)
CIE-LABlab(43.56, 64.51, -34.32)
CIE-LCHlch(43.56, 73.07, 331.99°)
OKLaboklab(54.11% 0.1864 -0.0942)
OKLCHoklch(54.11% 0.209 333.2)
XYZxyz(25.2016, 13.5332, 34.9962)
Luminance0.1353 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02BA1 #2BB03A
analogous
#7C2BB0 #B02BA1 #B02B5E
triadic
#B02BA1 #A1B02B #2BA1B0
tetradic
#B02BA1 #B07C2B #2BB03A #2B5EB0
square
#B02BA1 #B07C2B #2BB03A #2B5EB0
split-complementary
#B02BA1 #5EB02B #2BB07C
monochromatic
#4E1347 #7F1F74 #B02BA1 #D246C2 #DE78D2

Accessibility & contrast

On white

5.67
#B02BA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#B02BA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02BA1
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02BA1#FFFFFF#000000##FFFFFF
##B02BA11.005.673.715.67
#FFFFFF5.671.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#255BA4
Deuteranopia (green-blind)
#596E9E
Tritanopia (blue-blind)
#B83964
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b02ba1;
/* rgb */ color: rgb(176, 43, 161);
/* oklch */ color: oklch(54.1% 0.209 333.2);
Tailwind
colors: {
  custom: {
    50: '#cb73bd',
    500: '#b02ba1',
    950: '#000000',
  },
}
SCSS
$custom: #b02ba1;
$custom-light: #cb73bd;
$custom-dark: #000000;
JSON
{
  "hex": "#b02ba1",
  "rgb": {
    "r": 176,
    "g": 43,
    "b": 161
  },
  "hsl": {
    "h": 306.767,
    "s": 60.731,
    "l": 42.941
  },
  "oklch": {
    "l": 0.54109,
    "c": 0.20885,
    "h": 333.2
  },
  "luminance": 0.13531
}

Semantic roles & 50–950 ramp

primary
#B02BA1
secondary
#71C67B
accent
#E45644
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B02BA1

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

Preview Lab → · Contrast checker → · Palette generator →

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