#B34DE2#B34DE2

#B34DE2 is a mid, highly saturated purple. Relative luminance 0.204; OKLCH L 61.6% C 0.225 H 313.2°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#B34DE2
RGBrgb(179, 77, 226)
HSLhsl(281, 72%, 59%)
HSVhsv(281, 66%, 89%)
CMYKcmyk(20.8%, 65.9%, 0%, 11.4%)
CIE-LABlab(52.27, 64.02, -58.16)
CIE-LCHlch(52.27, 86.49, 317.75°)
OKLaboklab(61.65% 0.154 -0.1638)
OKLCHoklch(61.65% 0.225 313.2)
XYZxyz(34.9694, 20.3835, 74.0291)
Luminance0.2038 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B34DE2 #7CE24D
analogous
#694DE2 #B34DE2 #E24DC7
triadic
#B34DE2 #E2B34D #4DE2B3
tetradic
#B34DE2 #E2694D #7CE24D #4DC7E2
square
#B34DE2 #E2694D #7CE24D #4DC7E2
split-complementary
#B34DE2 #C7E24D #4DE269
monochromatic
#72199B #9922D0 #B34DE2 #C982EB #E0B6F3

Accessibility & contrast

On white

4.14
#B34DE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#B34DE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B34DE2
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B34DE2#FFFFFF#000000##000000
##B34DE21.004.145.085.08
#FFFFFF4.141.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077E6
Deuteranopia (green-blind)
#437FDF
Tritanopia (blue-blind)
#AE6B91
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #b34de2;
/* rgb */ color: rgb(179, 77, 226);
/* oklch */ color: oklch(61.6% 0.225 313.2);
Tailwind
colors: {
  custom: {
    50: '#ce86ec',
    500: '#b34de2',
    950: '#000000',
  },
}
SCSS
$custom: #b34de2;
$custom-light: #ce86ec;
$custom-dark: #000000;
JSON
{
  "hex": "#b34de2",
  "rgb": {
    "r": 179,
    "g": 77,
    "b": 226
  },
  "hsl": {
    "h": 281.074,
    "s": 71.981,
    "l": 59.412
  },
  "oklch": {
    "l": 0.61645,
    "c": 0.2248,
    "h": 313.2
  },
  "luminance": 0.20382
}

Semantic roles & 50–950 ramp

primary
#B34DE2
secondary
#BBE2A8
accent
#EF3972
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C16
muted
#837D84

Preview Lab

Preview with #B34DE2

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

Preview Lab → · Contrast checker → · Palette generator →

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