#B02BA2#B02BA2

#B02BA2 is a mid, highly saturated purple. Relative luminance 0.136; OKLCH L 54.2% C 0.210 H 332.8°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#B02BA2
RGBrgb(176, 43, 162)
HSLhsl(306, 61%, 43%)
HSVhsv(306, 76%, 69%)
CMYKcmyk(0%, 75.6%, 8%, 31%)
CIE-LABlab(43.61, 64.66, -34.83)
CIE-LCHlch(43.61, 73.45, 331.69°)
OKLaboklab(54.16% 0.1865 -0.0957)
OKLCHoklch(54.16% 0.21 332.8)
XYZxyz(25.2901, 13.5686, 35.4625)
Luminance0.1357 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02BA2 #2BB039
analogous
#7C2BB0 #B02BA2 #B02B5F
triadic
#B02BA2 #A2B02B #2BA2B0
tetradic
#B02BA2 #B07C2B #2BB039 #2B5FB0
square
#B02BA2 #B07C2B #2BB039 #2B5FB0
split-complementary
#B02BA2 #5FB02B #2BB07C
monochromatic
#4E1347 #7F1F75 #B02BA2 #D246C3 #DE78D3

Accessibility & contrast

On white

5.66
#B02BA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B02BA2
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02BA2#FFFFFF#000000##FFFFFF
##B02BA21.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#245BA5
Deuteranopia (green-blind)
#586E9F
Tritanopia (blue-blind)
#B83A64
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b02ba2;
/* rgb */ color: rgb(176, 43, 162);
/* oklch */ color: oklch(54.2% 0.210 332.8);
Tailwind
colors: {
  custom: {
    50: '#cb73be',
    500: '#b02ba2',
    950: '#000000',
  },
}
SCSS
$custom: #b02ba2;
$custom-light: #cb73be;
$custom-dark: #000000;
JSON
{
  "hex": "#b02ba2",
  "rgb": {
    "r": 176,
    "g": 43,
    "b": 162
  },
  "hsl": {
    "h": 306.316,
    "s": 60.731,
    "l": 42.941
  },
  "oklch": {
    "l": 0.54163,
    "c": 0.20957,
    "h": 332.8
  },
  "luminance": 0.13566
}

Semantic roles & 50–950 ramp

primary
#B02BA2
secondary
#71C67A
accent
#E45544
background
#FDF7FB
surface
#FAEDF7
border
#D3C8D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B02BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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