#B034B7#B034B7

#B034B7 is a mid, highly saturated purple. Relative luminance 0.151; OKLCH L 56.1% C 0.216 H 325.7°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#B034B7
RGBrgb(176, 52, 183)
HSLhsl(297, 56%, 46%)
HSVhsv(297, 72%, 72%)
CMYKcmyk(3.8%, 71.6%, 0%, 28.2%)
CIE-LABlab(45.78, 65.12, -43.82)
CIE-LCHlch(45.78, 78.50, 326.06°)
OKLaboklab(56.09% 0.1783 -0.1218)
OKLCHoklch(56.09% 0.216 325.7)
XYZxyz(27.6791, 15.1068, 46.2486)
Luminance0.1510 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B034B7 #3BB734
analogous
#6E34B7 #B034B7 #B7347C
triadic
#B034B7 #B7B034 #34B7B0
tetradic
#B034B7 #B76E34 #3BB734 #347CB7
square
#B034B7 #B76E34 #3BB734 #347CB7
split-complementary
#B034B7 #7CB734 #34B76E
monochromatic
#541958 #822687 #B034B7 #C959D0 #D988DD

Accessibility & contrast

On white

5.22
#B034B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#B034B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B034B7
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B034B7#FFFFFF#000000##FFFFFF
##B034B71.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1063BB
Deuteranopia (green-blind)
#5072B4
Tritanopia (blue-blind)
#B44A72
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b034b7;
/* rgb */ color: rgb(176, 52, 183);
/* oklch */ color: oklch(56.1% 0.216 325.7);
Tailwind
colors: {
  custom: {
    50: '#cb77cd',
    500: '#b034b7',
    950: '#000000',
  },
}
SCSS
$custom: #b034b7;
$custom-light: #cb77cd;
$custom-dark: #000000;
JSON
{
  "hex": "#b034b7",
  "rgb": {
    "r": 176,
    "g": 52,
    "b": 183
  },
  "hsl": {
    "h": 296.794,
    "s": 55.745,
    "l": 46.078
  },
  "oklch": {
    "l": 0.56089,
    "c": 0.21597,
    "h": 325.7
  },
  "luminance": 0.15105
}

Semantic roles & 50–950 ramp

primary
#B034B7
secondary
#83C780
accent
#DF4951
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#140A13
muted
#827C82

Preview Lab

Preview with #B034B7

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

Preview Lab → · Contrast checker → · Palette generator →

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