#B02BA5#B02BA5

#B02BA5 is a mid, highly saturated purple. Relative luminance 0.137; OKLCH L 54.3% C 0.212 H 331.8°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#B02BA5
RGBrgb(176, 43, 165)
HSLhsl(305, 61%, 43%)
HSVhsv(305, 76%, 69%)
CMYKcmyk(0%, 75.6%, 6.2%, 31%)
CIE-LABlab(43.77, 65.12, -36.37)
CIE-LCHlch(43.77, 74.59, 330.81°)
OKLaboklab(54.33% 0.1866 -0.1001)
OKLCHoklch(54.33% 0.212 331.8)
XYZxyz(25.5599, 13.6766, 36.8837)
Luminance0.1367 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02BA5 #2BB036
analogous
#782BB0 #B02BA5 #B02B63
triadic
#B02BA5 #A5B02B #2BA5B0
tetradic
#B02BA5 #B0782B #2BB036 #2B63B0
square
#B02BA5 #B0782B #2BB036 #2B63B0
split-complementary
#B02BA5 #63B02B #2BB078
monochromatic
#4E1349 #7F1F77 #B02BA5 #D246C6 #DE78D5

Accessibility & contrast

On white

5.62
#B02BA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#B02BA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02BA5
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02BA5#FFFFFF#000000##FFFFFF
##B02BA51.005.623.735.62
#FFFFFF5.621.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#205CA8
Deuteranopia (green-blind)
#576EA2
Tritanopia (blue-blind)
#B73B66
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b02ba5;
/* rgb */ color: rgb(176, 43, 165);
/* oklch */ color: oklch(54.3% 0.212 331.8);
Tailwind
colors: {
  custom: {
    50: '#cb73c0',
    500: '#b02ba5',
    950: '#000000',
  },
}
SCSS
$custom: #b02ba5;
$custom-light: #cb73c0;
$custom-dark: #000000;
JSON
{
  "hex": "#b02ba5",
  "rgb": {
    "r": 176,
    "g": 43,
    "b": 165
  },
  "hsl": {
    "h": 304.962,
    "s": 60.731,
    "l": 42.941
  },
  "oklch": {
    "l": 0.54327,
    "c": 0.21174,
    "h": 331.8
  },
  "luminance": 0.13674
}

Semantic roles & 50–950 ramp

primary
#B02BA5
secondary
#71C678
accent
#E45144
background
#FDF7FB
surface
#FAEDF7
border
#D3C8D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B02BA5

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

Preview Lab → · Contrast checker → · Palette generator →

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