#B34AE1#B34AE1

#B34AE1 is a mid, highly saturated purple. Relative luminance 0.199; OKLCH L 61.3% C 0.228 H 313.7°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#B34AE1
RGBrgb(179, 74, 225)
HSLhsl(282, 72%, 59%)
HSVhsv(282, 67%, 88%)
CMYKcmyk(20.4%, 67.1%, 0%, 11.8%)
CIE-LABlab(51.75, 65.10, -58.44)
CIE-LCHlch(51.75, 87.48, 318.09°)
OKLaboklab(61.25% 0.1573 -0.1646)
OKLCHoklch(61.25% 0.228 313.7)
XYZxyz(34.6275, 19.9186, 73.2402)
Luminance0.1992 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B34AE1 #78E14A
analogous
#674AE1 #B34AE1 #E14AC3
triadic
#B34AE1 #E1B34A #4AE1B3
tetradic
#B34AE1 #E1674A #78E14A #4AC3E1
square
#B34AE1 #E1674A #78E14A #4AC3E1
split-complementary
#B34AE1 #C3E14A #4AE167
monochromatic
#711997 #9822CC #B34AE1 #C97EEA #DFB3F2

Accessibility & contrast

On white

4.21
#B34AE1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#B34AE1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B34AE1
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B34AE1#FFFFFF#000000##000000
##B34AE11.004.214.984.98
#FFFFFF4.211.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076E5
Deuteranopia (green-blind)
#417EDE
Tritanopia (blue-blind)
#AF6890
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #b34ae1;
/* rgb */ color: rgb(179, 74, 225);
/* oklch */ color: oklch(61.3% 0.228 313.7);
Tailwind
colors: {
  custom: {
    50: '#ce84eb',
    500: '#b34ae1',
    950: '#000000',
  },
}
SCSS
$custom: #b34ae1;
$custom-light: #ce84eb;
$custom-dark: #000000;
JSON
{
  "hex": "#b34ae1",
  "rgb": {
    "r": 179,
    "g": 74,
    "b": 225
  },
  "hsl": {
    "h": 281.722,
    "s": 71.564,
    "l": 58.627
  },
  "oklch": {
    "l": 0.6125,
    "c": 0.22764,
    "h": 313.7
  },
  "luminance": 0.19918
}

Semantic roles & 50–950 ramp

primary
#B34AE1
secondary
#B8E1A6
accent
#EE3971
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #B34AE1

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

Preview Lab → · Contrast checker → · Palette generator →

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