#B34ED9#B34ED9

#B34ED9 is a mid, highly saturated purple. Relative luminance 0.200; OKLCH L 61.2% C 0.215 H 315.5°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#B34ED9
RGBrgb(179, 78, 217)
HSLhsl(284, 65%, 58%)
HSVhsv(284, 64%, 85%)
CMYKcmyk(17.5%, 64.1%, 0%, 14.9%)
CIE-LABlab(51.89, 61.76, -53.67)
CIE-LCHlch(51.89, 81.82, 319.01°)
OKLaboklab(61.2% 0.1533 -0.1507)
OKLCHoklch(61.2% 0.215 315.5)
XYZxyz(33.8372, 20.0434, 67.7185)
Luminance0.2004 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B34ED9 #74D94E
analogous
#6D4ED9 #B34ED9 #D94EB9
triadic
#B34ED9 #D9B34E #4ED9B3
tetradic
#B34ED9 #D96D4E #74D94E #4EB9D9
square
#B34ED9 #D96D4E #74D94E #4EB9D9
split-complementary
#B34ED9 #B9D94E #4ED96D
monochromatic
#701F8E #9729C0 #B34ED9 #C980E4 #DEB3EF

Accessibility & contrast

On white

4.19
#B34ED9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#B34ED9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B34ED9
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B34ED9#FFFFFF#000000##000000
##B34ED91.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#1376DD
Deuteranopia (green-blind)
#4C7ED6
Tritanopia (blue-blind)
#B0688D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b34ed9;
/* rgb */ color: rgb(179, 78, 217);
/* oklch */ color: oklch(61.2% 0.215 315.5);
Tailwind
colors: {
  custom: {
    50: '#cd86e5',
    500: '#b34ed9',
    950: '#000000',
  },
}
SCSS
$custom: #b34ed9;
$custom-light: #cd86e5;
$custom-dark: #000000;
JSON
{
  "hex": "#b34ed9",
  "rgb": {
    "r": 179,
    "g": 78,
    "b": 217
  },
  "hsl": {
    "h": 283.597,
    "s": 64.651,
    "l": 57.843
  },
  "oklch": {
    "l": 0.61197,
    "c": 0.21491,
    "h": 315.5
  },
  "luminance": 0.20042
}

Semantic roles & 50–950 ramp

primary
#B34ED9
secondary
#B5DDA6
accent
#E8406E
background
#FDF8FE
surface
#FAF0FC
border
#D3CBD5
text
#140C16
muted
#837D84

Preview Lab

Preview with #B34ED9

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

Preview Lab → · Contrast checker → · Palette generator →

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