#B34DE5#B34DE5

#B34DE5 is a mid, highly saturated purple. Relative luminance 0.205; OKLCH L 61.8% C 0.228 H 312.5°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#B34DE5
RGBrgb(179, 77, 229)
HSLhsl(280, 75%, 60%)
HSVhsv(280, 66%, 90%)
CMYKcmyk(21.8%, 66.4%, 0%, 10.2%)
CIE-LABlab(52.45, 64.63, -59.56)
CIE-LCHlch(52.45, 87.89, 317.34°)
OKLaboklab(61.84% 0.1538 -0.1679)
OKLCHoklch(61.84% 0.228 312.5)
XYZxyz(35.3846, 20.5496, 76.2160)
Luminance0.2055 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B34DE5 #7FE54D
analogous
#674DE5 #B34DE5 #E54DCB
triadic
#B34DE5 #E5B34D #4DE5B3
tetradic
#B34DE5 #E5674D #7FE54D #4DCBE5
square
#B34DE5 #E5674D #7FE54D #4DCBE5
split-complementary
#B34DE5 #CBE54D #4DE567
monochromatic
#7317A0 #9A1FD6 #B34DE5 #CA82ED #E1B8F5

Accessibility & contrast

On white

4.11
#B34DE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#B34DE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B34DE5
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B34DE5#FFFFFF#000000##000000
##B34DE51.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078EA
Deuteranopia (green-blind)
#407FE2
Tritanopia (blue-blind)
#AD6C93
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #b34de5;
/* rgb */ color: rgb(179, 77, 229);
/* oklch */ color: oklch(61.8% 0.228 312.5);
Tailwind
colors: {
  custom: {
    50: '#ce86ee',
    500: '#b34de5',
    950: '#000000',
  },
}
SCSS
$custom: #b34de5;
$custom-light: #ce86ee;
$custom-dark: #000000;
JSON
{
  "hex": "#b34de5",
  "rgb": {
    "r": 179,
    "g": 77,
    "b": 229
  },
  "hsl": {
    "h": 280.263,
    "s": 74.51,
    "l": 60
  },
  "oklch": {
    "l": 0.61837,
    "c": 0.22767,
    "h": 312.5
  },
  "luminance": 0.20549
}

Semantic roles & 50–950 ramp

primary
#B34DE5
secondary
#BDE4AA
accent
#F13774
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C16
muted
#837D84

Preview Lab

Preview with #B34DE5

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

Preview Lab → · Contrast checker → · Palette generator →

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