#B034A6#B034A6

#B034A6 is a mid, highly saturated purple. Relative luminance 0.144; OKLCH L 55.1% C 0.203 H 331.4°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#B034A6
RGBrgb(176, 52, 166)
HSLhsl(305, 54%, 45%)
HSVhsv(305, 70%, 69%)
CMYKcmyk(0%, 70.5%, 5.7%, 31%)
CIE-LABlab(44.86, 62.31, -35.24)
CIE-LCHlch(44.86, 71.59, 330.51°)
OKLaboklab(55.13% 0.178 -0.0969)
OKLCHoklch(55.13% 0.203 331.4)
XYZxyz(26.0154, 14.4413, 37.4863)
Luminance0.1444 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B034A6 #34B03E
analogous
#7C34B0 #B034A6 #B03468
triadic
#B034A6 #A6B034 #34A6B0
tetradic
#B034A6 #B07C34 #34B03E #3468B0
square
#B034A6 #B07C34 #34B03E #3468B0
split-complementary
#B034A6 #68B034 #34B07C
monochromatic
#52184D #812679 #B034A6 #CD55C3 #DB84D4

Accessibility & contrast

On white

5.40
#B034A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#B034A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B034A6
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B034A6#FFFFFF#000000##FFFFFF
##B034A61.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5FA9
Deuteranopia (green-blind)
#5A70A3
Tritanopia (blue-blind)
#B74269
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b034a6;
/* rgb */ color: rgb(176, 52, 166);
/* oklch */ color: oklch(55.1% 0.203 331.4);
Tailwind
colors: {
  custom: {
    50: '#cb77c1',
    500: '#b034a6',
    950: '#000000',
  },
}
SCSS
$custom: #b034a6;
$custom-light: #cb77c1;
$custom-dark: #000000;
JSON
{
  "hex": "#b034a6",
  "rgb": {
    "r": 176,
    "g": 52,
    "b": 166
  },
  "hsl": {
    "h": 304.839,
    "s": 54.386,
    "l": 44.706
  },
  "oklch": {
    "l": 0.5513,
    "c": 0.20269,
    "h": 331.4
  },
  "luminance": 0.14439
}

Semantic roles & 50–950 ramp

primary
#B034A6
secondary
#7CC482
accent
#DE564A
background
#FCF7FB
surface
#F9EEF7
border
#D2C9D0
text
#140912
muted
#827B81

Preview Lab

Preview with #B034A6

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

Preview Lab → · Contrast checker → · Palette generator →

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