#B34FE8#B34FE8

#B34FE8 is a light, highly saturated violet. Relative luminance 0.210; OKLCH L 62.3% C 0.228 H 311.6°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#B34FE8
RGBrgb(179, 79, 232)
HSLhsl(279, 77%, 61%)
HSVhsv(279, 66%, 91%)
CMYKcmyk(22.8%, 65.9%, 0%, 9%)
CIE-LABlab(52.95, 64.38, -60.44)
CIE-LCHlch(52.95, 88.31, 316.81°)
OKLaboklab(62.26% 0.1514 -0.1705)
OKLCHoklch(62.26% 0.228 311.6)
XYZxyz(35.9492, 21.0028, 78.4885)
Luminance0.2100 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B34FE8 #84E84F
analogous
#664FE8 #B34FE8 #E84FD0
triadic
#B34FE8 #E8B34F #4FE8B3
tetradic
#B34FE8 #E8664F #84E84F #4FD0E8
square
#B34FE8 #E8664F #84E84F #4FD0E8
split-complementary
#B34FE8 #D0E84F #4FE866
monochromatic
#7516A7 #9A1DDD #B34FE8 #CA85EF #E2BBF6

Accessibility & contrast

On white

4.04
#B34FE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#B34FE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B34FE8
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B34FE8#FFFFFF#000000##000000
##B34FE81.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AED
Deuteranopia (green-blind)
#3E80E5
Tritanopia (blue-blind)
#AD6E95
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #b34fe8;
/* rgb */ color: rgb(179, 79, 232);
/* oklch */ color: oklch(62.3% 0.228 311.6);
Tailwind
colors: {
  custom: {
    50: '#ce87f0',
    500: '#b34fe8',
    950: '#000000',
  },
}
SCSS
$custom: #b34fe8;
$custom-light: #ce87f0;
$custom-dark: #000000;
JSON
{
  "hex": "#b34fe8",
  "rgb": {
    "r": 179,
    "g": 79,
    "b": 232
  },
  "hsl": {
    "h": 279.216,
    "s": 76.884,
    "l": 60.98
  },
  "oklch": {
    "l": 0.62255,
    "c": 0.22802,
    "h": 311.6
  },
  "luminance": 0.21002
}

Semantic roles & 50–950 ramp

primary
#B34FE8
secondary
#C1E6AD
accent
#D90C53
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C17
muted
#837D85

Preview Lab

Preview with #B34FE8

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

Preview Lab → · Contrast checker → · Palette generator →

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