#B34FE4#B34FE4

#B34FE4 is a mid, highly saturated purple. Relative luminance 0.208; OKLCH L 62.0% C 0.224 H 312.6°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#B34FE4
RGBrgb(179, 79, 228)
HSLhsl(280, 73%, 60%)
HSVhsv(280, 65%, 89%)
CMYKcmyk(21.5%, 65.4%, 0%, 10.6%)
CIE-LABlab(52.71, 63.55, -58.59)
CIE-LCHlch(52.71, 86.44, 317.33°)
OKLaboklab(62% 0.1516 -0.1651)
OKLCHoklch(62% 0.224 312.6)
XYZxyz(35.3875, 20.7781, 75.5302)
Luminance0.2078 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B34FE4 #80E44F
analogous
#684FE4 #B34FE4 #E44FCB
triadic
#B34FE4 #E4B34F #4FE4B3
tetradic
#B34FE4 #E4684F #80E44F #4FCBE4
square
#B34FE4 #E4684F #80E44F #4FCBE4
split-complementary
#B34FE4 #CBE44F #4FE468
monochromatic
#7319A0 #9A21D5 #B34FE4 #CA84EC #E1B9F4

Accessibility & contrast

On white

4.07
#B34FE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#B34FE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B34FE4
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B34FE4#FFFFFF#000000##000000
##B34FE41.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079E8
Deuteranopia (green-blind)
#4380E1
Tritanopia (blue-blind)
#AE6D93
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #b34fe4;
/* rgb */ color: rgb(179, 79, 228);
/* oklch */ color: oklch(62.0% 0.224 312.6);
Tailwind
colors: {
  custom: {
    50: '#ce87ed',
    500: '#b34fe4',
    950: '#000000',
  },
}
SCSS
$custom: #b34fe4;
$custom-light: #ce87ed;
$custom-dark: #000000;
JSON
{
  "hex": "#b34fe4",
  "rgb": {
    "r": 179,
    "g": 79,
    "b": 228
  },
  "hsl": {
    "h": 280.268,
    "s": 73.399,
    "l": 60.196
  },
  "oklch": {
    "l": 0.61999,
    "c": 0.22416,
    "h": 312.6
  },
  "luminance": 0.20777
}

Semantic roles & 50–950 ramp

primary
#B34FE4
secondary
#BEE4AB
accent
#D61051
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C16
muted
#837D84

Preview Lab

Preview with #B34FE4

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

Preview Lab → · Contrast checker → · Palette generator →

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