#B034A1#B034A1

#B034A1 is a mid, vivid purple. Relative luminance 0.143; OKLCH L 54.9% C 0.199 H 333.3°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#B034A1
RGBrgb(176, 52, 161)
HSLhsl(307, 54%, 45%)
HSVhsv(307, 70%, 69%)
CMYKcmyk(0%, 70.5%, 8.5%, 31%)
CIE-LABlab(44.61, 61.53, -32.66)
CIE-LCHlch(44.61, 69.66, 332.04°)
OKLaboklab(54.86% 0.1777 -0.0895)
OKLCHoklch(54.86% 0.199 333.3)
XYZxyz(25.5656, 14.2614, 35.1175)
Luminance0.1426 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B034A1 #34B043
analogous
#8134B0 #B034A1 #B03463
triadic
#B034A1 #A1B034 #34A1B0
tetradic
#B034A1 #B08134 #34B043 #3463B0
square
#B034A1 #B08134 #34B043 #3463B0
split-complementary
#B034A1 #63B034 #34B081
monochromatic
#52184B #812676 #B034A1 #CD55BE #DB84D0

Accessibility & contrast

On white

5.45
#B034A1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#B034A1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B034A1
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B034A1#FFFFFF#000000##FFFFFF
##B034A11.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305EA4
Deuteranopia (green-blind)
#5C709E
Tritanopia (blue-blind)
#B84066
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b034a1;
/* rgb */ color: rgb(176, 52, 161);
/* oklch */ color: oklch(54.9% 0.199 333.3);
Tailwind
colors: {
  custom: {
    50: '#cb77bd',
    500: '#b034a1',
    950: '#000000',
  },
}
SCSS
$custom: #b034a1;
$custom-light: #cb77bd;
$custom-dark: #000000;
JSON
{
  "hex": "#b034a1",
  "rgb": {
    "r": 176,
    "g": 52,
    "b": 161
  },
  "hsl": {
    "h": 307.258,
    "s": 54.386,
    "l": 44.706
  },
  "oklch": {
    "l": 0.54864,
    "c": 0.19893,
    "h": 333.3
  },
  "luminance": 0.14259
}

Semantic roles & 50–950 ramp

primary
#B034A1
secondary
#7CC484
accent
#DE5C4A
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#140912
muted
#827B81

Preview Lab

Preview with #B034A1

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

Preview Lab → · Contrast checker → · Palette generator →

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