#B34AC7#B34AC7

#B34AC7 is a mid, highly saturated purple. Relative luminance 0.186; OKLCH L 59.7% C 0.204 H 320.9°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#B34AC7
RGBrgb(179, 74, 199)
HSLhsl(290, 53%, 54%)
HSVhsv(290, 63%, 78%)
CMYKcmyk(10.1%, 62.8%, 0%, 22%)
CIE-LABlab(50.22, 60.01, -46.03)
CIE-LCHlch(50.22, 75.63, 322.51°)
OKLaboklab(59.67% 0.158 -0.1283)
OKLCHoklch(59.67% 0.204 320.9)
XYZxyz(31.3468, 18.6063, 55.9620)
Luminance0.1860 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B34AC7 #5EC74A
analogous
#744AC7 #B34AC7 #C74A9C
triadic
#B34AC7 #C7B34A #4AC7B3
tetradic
#B34AC7 #C7744A #5EC74A #4A9CC7
square
#B34AC7 #C7744A #5EC74A #4A9CC7
split-complementary
#B34AC7 #9CC74A #4AC774
monochromatic
#662473 #9032A2 #B34AC7 #C779D5 #DAA7E4

Accessibility & contrast

On white

4.45
#B34AC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#B34AC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B34AC7
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B34AC7#FFFFFF#000000##000000
##B34AC71.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B70CB
Deuteranopia (green-blind)
#577BC4
Tritanopia (blue-blind)
#B45E82
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #b34ac7;
/* rgb */ color: rgb(179, 74, 199);
/* oklch */ color: oklch(59.7% 0.204 320.9);
Tailwind
colors: {
  custom: {
    50: '#cd83d8',
    500: '#b34ac7',
    950: '#000000',
  },
}
SCSS
$custom: #b34ac7;
$custom-light: #cd83d8;
$custom-dark: #000000;
JSON
{
  "hex": "#b34ac7",
  "rgb": {
    "r": 179,
    "g": 74,
    "b": 199
  },
  "hsl": {
    "h": 290.4,
    "s": 52.743,
    "l": 53.529
  },
  "oklch": {
    "l": 0.59665,
    "c": 0.20353,
    "h": 320.9
  },
  "luminance": 0.18605
}

Semantic roles & 50–950 ramp

primary
#B34AC7
secondary
#A4D19C
accent
#DC4C63
background
#FCF8FD
surface
#F9EFFA
border
#D2CAD3
text
#140B14
muted
#827C83

Preview Lab

Preview with #B34AC7

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

Preview Lab → · Contrast checker → · Palette generator →

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