#B02BA3#B02BA3

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

Color values

HEX#B02BA3
RGBrgb(176, 43, 163)
HSLhsl(306, 61%, 43%)
HSVhsv(306, 76%, 69%)
CMYKcmyk(0%, 75.6%, 7.4%, 31%)
CIE-LABlab(43.66, 64.82, -35.35)
CIE-LCHlch(43.66, 73.83, 331.39°)
OKLaboklab(54.22% 0.1865 -0.0972)
OKLCHoklch(54.22% 0.21 332.5)
XYZxyz(25.3793, 13.6043, 35.9325)
Luminance0.1360 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02BA3 #2BB038
analogous
#7B2BB0 #B02BA3 #B02B60
triadic
#B02BA3 #A3B02B #2BA3B0
tetradic
#B02BA3 #B07B2B #2BB038 #2B60B0
square
#B02BA3 #B07B2B #2BB038 #2B60B0
split-complementary
#B02BA3 #60B02B #2BB07B
monochromatic
#4E1348 #7F1F75 #B02BA3 #D246C4 #DE78D4

Accessibility & contrast

On white

5.64
#B02BA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#B02BA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02BA3
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02BA3#FFFFFF#000000##FFFFFF
##B02BA31.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235BA6
Deuteranopia (green-blind)
#586EA0
Tritanopia (blue-blind)
#B83A65
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b02ba3;
/* rgb */ color: rgb(176, 43, 163);
/* oklch */ color: oklch(54.2% 0.210 332.5);
Tailwind
colors: {
  custom: {
    50: '#cb73be',
    500: '#b02ba3',
    950: '#000000',
  },
}
SCSS
$custom: #b02ba3;
$custom-light: #cb73be;
$custom-dark: #000000;
JSON
{
  "hex": "#b02ba3",
  "rgb": {
    "r": 176,
    "g": 43,
    "b": 163
  },
  "hsl": {
    "h": 305.865,
    "s": 60.731,
    "l": 42.941
  },
  "oklch": {
    "l": 0.54217,
    "c": 0.21029,
    "h": 332.5
  },
  "luminance": 0.13602
}

Semantic roles & 50–950 ramp

primary
#B02BA3
secondary
#71C679
accent
#E45444
background
#FDF7FB
surface
#FAEDF7
border
#D3C8D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B02BA3

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

Preview Lab → · Contrast checker → · Palette generator →

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