#B034B5#B034B5

#B034B5 is a mid, highly saturated purple. Relative luminance 0.150; OKLCH L 56.0% C 0.214 H 326.3°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#B034B5
RGBrgb(176, 52, 181)
HSLhsl(298, 55%, 46%)
HSVhsv(298, 71%, 71%)
CMYKcmyk(2.8%, 71.3%, 0%, 29%)
CIE-LABlab(45.67, 64.78, -42.83)
CIE-LCHlch(45.67, 77.66, 326.53°)
OKLaboklab(55.97% 0.1784 -0.1189)
OKLCHoklch(55.97% 0.214 326.3)
XYZxyz(27.4725, 15.0241, 45.1601)
Luminance0.1502 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B034B5 #39B534
analogous
#6F34B5 #B034B5 #B5347A
triadic
#B034B5 #B5B034 #34B5B0
tetradic
#B034B5 #B56F34 #39B534 #347AB5
square
#B034B5 #B56F34 #39B534 #347AB5
split-complementary
#B034B5 #7AB534 #34B56F
monochromatic
#541956 #822685 #B034B5 #CA57CF #D987DC

Accessibility & contrast

On white

5.24
#B034B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#B034B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B034B5
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B034B5#FFFFFF#000000##FFFFFF
##B034B51.005.244.005.24
#FFFFFF5.241.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1562B9
Deuteranopia (green-blind)
#5271B2
Tritanopia (blue-blind)
#B54971
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b034b5;
/* rgb */ color: rgb(176, 52, 181);
/* oklch */ color: oklch(56.0% 0.214 326.3);
Tailwind
colors: {
  custom: {
    50: '#cb77cc',
    500: '#b034b5',
    950: '#000000',
  },
}
SCSS
$custom: #b034b5;
$custom-light: #cb77cc;
$custom-dark: #000000;
JSON
{
  "hex": "#b034b5",
  "rgb": {
    "r": 176,
    "g": 52,
    "b": 181
  },
  "hsl": {
    "h": 297.674,
    "s": 55.365,
    "l": 45.686
  },
  "oklch": {
    "l": 0.55971,
    "c": 0.21436,
    "h": 326.3
  },
  "luminance": 0.15022
}

Semantic roles & 50–950 ramp

primary
#B034B5
secondary
#81C67F
accent
#DF494F
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#140A13
muted
#827C82

Preview Lab

Preview with #B034B5

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

Preview Lab → · Contrast checker → · Palette generator →

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