#B034B1#B034B1

#B034B1 is a mid, highly saturated purple. Relative luminance 0.149; OKLCH L 55.7% C 0.211 H 327.6°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#B034B1
RGBrgb(176, 52, 177)
HSLhsl(300, 55%, 45%)
HSVhsv(300, 71%, 69%)
CMYKcmyk(0.6%, 70.6%, 0%, 30.6%)
CIE-LABlab(45.45, 64.11, -40.83)
CIE-LCHlch(45.45, 76.01, 327.51°)
OKLaboklab(55.74% 0.1784 -0.1131)
OKLCHoklch(55.74% 0.211 327.6)
XYZxyz(27.0679, 14.8623, 43.0295)
Luminance0.1486 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B034B1 #35B134
analogous
#7234B1 #B034B1 #B13474
triadic
#B034B1 #B1B034 #34B1B0
tetradic
#B034B1 #B17234 #35B134 #3474B1
square
#B034B1 #B17234 #35B134 #3474B1
split-complementary
#B034B1 #74B134 #34B172
monochromatic
#521852 #812682 #B034B1 #CC55CD #DA84DB

Accessibility & contrast

On white

5.29
#B034B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#B034B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B034B1
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B034B1#FFFFFF#000000##FFFFFF
##B034B11.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D61B4
Deuteranopia (green-blind)
#5471AE
Tritanopia (blue-blind)
#B5476F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b034b1;
/* rgb */ color: rgb(176, 52, 177);
/* oklch */ color: oklch(55.7% 0.211 327.6);
Tailwind
colors: {
  custom: {
    50: '#cb77c9',
    500: '#b034b1',
    950: '#000000',
  },
}
SCSS
$custom: #b034b1;
$custom-light: #cb77c9;
$custom-dark: #000000;
JSON
{
  "hex": "#b034b1",
  "rgb": {
    "r": 176,
    "g": 52,
    "b": 177
  },
  "hsl": {
    "h": 299.52,
    "s": 54.585,
    "l": 44.902
  },
  "oklch": {
    "l": 0.5574,
    "c": 0.2112,
    "h": 327.6
  },
  "luminance": 0.1486
}

Semantic roles & 50–950 ramp

primary
#B034B1
secondary
#7DC57C
accent
#DE4A4B
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140A13
muted
#827C82

Preview Lab

Preview with #B034B1

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

Preview Lab → · Contrast checker → · Palette generator →

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