#B030A2#B030A2

#B030A2 is a mid, highly saturated purple. Relative luminance 0.140; OKLCH L 54.6% C 0.204 H 332.9°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#B030A2
RGBrgb(176, 48, 162)
HSLhsl(307, 57%, 44%)
HSVhsv(307, 73%, 69%)
CMYKcmyk(0%, 72.7%, 8%, 31%)
CIE-LABlab(44.17, 63.06, -33.95)
CIE-LCHlch(44.17, 71.62, 331.71°)
OKLaboklab(54.57% 0.1818 -0.0932)
OKLCHoklch(54.57% 0.204 332.9)
XYZxyz(25.4832, 13.9548, 35.5268)
Luminance0.1395 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B030A2 #30B03E
analogous
#7E30B0 #B030A2 #B03062
triadic
#B030A2 #A2B030 #30A2B0
tetradic
#B030A2 #B07E30 #30B03E #3062B0
square
#B030A2 #B07E30 #30B03E #3062B0
split-complementary
#B030A2 #62B030 #30B07E
monochromatic
#501649 #802376 #B030A2 #CF4EC1 #DC7ED2

Accessibility & contrast

On white

5.54
#B030A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#B030A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B030A2
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B030A2#FFFFFF#000000##FFFFFF
##B030A21.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5DA5
Deuteranopia (green-blind)
#5A6F9F
Tritanopia (blue-blind)
#B83D66
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b030a2;
/* rgb */ color: rgb(176, 48, 162);
/* oklch */ color: oklch(54.6% 0.204 332.9);
Tailwind
colors: {
  custom: {
    50: '#cb75be',
    500: '#b030a2',
    950: '#000000',
  },
}
SCSS
$custom: #b030a2;
$custom-light: #cb75be;
$custom-dark: #000000;
JSON
{
  "hex": "#b030a2",
  "rgb": {
    "r": 176,
    "g": 48,
    "b": 162
  },
  "hsl": {
    "h": 306.563,
    "s": 57.143,
    "l": 43.922
  },
  "oklch": {
    "l": 0.54565,
    "c": 0.20427,
    "h": 332.9
  },
  "luminance": 0.13953
}

Semantic roles & 50–950 ramp

primary
#B030A2
secondary
#77C580
accent
#E05847
background
#FCF7FB
surface
#F9EEF7
border
#D2C9D0
text
#140912
muted
#827B81

Preview Lab

Preview with #B030A2

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

Preview Lab → · Contrast checker → · Palette generator →

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