#B34DE6#B34DE6

#B34DE6 is a mid, highly saturated purple. Relative luminance 0.206; OKLCH L 61.9% C 0.229 H 312.2°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#B34DE6
RGBrgb(179, 77, 230)
HSLhsl(280, 75%, 60%)
HSVhsv(280, 67%, 90%)
CMYKcmyk(22.2%, 66.5%, 0%, 9.8%)
CIE-LABlab(52.52, 64.84, -60.02)
CIE-LCHlch(52.52, 88.36, 317.21°)
OKLaboklab(61.9% 0.1537 -0.1693)
OKLCHoklch(61.9% 0.229 312.2)
XYZxyz(35.5246, 20.6056, 76.9535)
Luminance0.2061 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B34DE6 #80E64D
analogous
#674DE6 #B34DE6 #E64DCC
triadic
#B34DE6 #E6B34D #4DE6B3
tetradic
#B34DE6 #E6674D #80E64D #4DCCE6
square
#B34DE6 #E6674D #80E64D #4DCCE6
split-complementary
#B34DE6 #CCE64D #4DE667
monochromatic
#7317A2 #9A1ED8 #B34DE6 #CA83EE #E1B8F5

Accessibility & contrast

On white

4.10
#B34DE6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#B34DE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B34DE6
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B34DE6#FFFFFF#000000##000000
##B34DE61.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078EB
Deuteranopia (green-blind)
#3F7FE3
Tritanopia (blue-blind)
#AD6C93
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #b34de6;
/* rgb */ color: rgb(179, 77, 230);
/* oklch */ color: oklch(61.9% 0.229 312.2);
Tailwind
colors: {
  custom: {
    50: '#ce86ef',
    500: '#b34de6',
    950: '#000000',
  },
}
SCSS
$custom: #b34de6;
$custom-light: #ce86ef;
$custom-dark: #000000;
JSON
{
  "hex": "#b34de6",
  "rgb": {
    "r": 179,
    "g": 77,
    "b": 230
  },
  "hsl": {
    "h": 280,
    "s": 75.369,
    "l": 60.196
  },
  "oklch": {
    "l": 0.61901,
    "c": 0.22863,
    "h": 312.2
  },
  "luminance": 0.20605
}

Semantic roles & 50–950 ramp

primary
#B34DE6
secondary
#BEE5AA
accent
#D80E51
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C16
muted
#837D84

Preview Lab

Preview with #B34DE6

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

Preview Lab → · Contrast checker → · Palette generator →

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