#B34EF1#B34EF1

#B34EF1 is a light, highly saturated violet. Relative luminance 0.214; OKLCH L 62.7% C 0.238 H 309.6°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#B34EF1
RGBrgb(179, 78, 241)
HSLhsl(277, 85%, 63%)
HSVhsv(277, 68%, 95%)
CMYKcmyk(25.7%, 67.6%, 0%, 5.5%)
CIE-LABlab(53.37, 66.71, -64.82)
CIE-LCHlch(53.37, 93.01, 315.82°)
OKLaboklab(62.73% 0.1517 -0.1834)
OKLCHoklch(62.73% 0.238 309.6)
XYZxyz(37.1888, 21.3841, 85.3705)
Luminance0.2138 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B34EF1 #8CF14E
analogous
#624EF1 #B34EF1 #F14EDD
triadic
#B34EF1 #F1B34E #4EF1B3
tetradic
#B34EF1 #F1624E #8CF14E #4EDDF1
square
#B34EF1 #F1624E #8CF14E #4EDDF1
split-complementary
#B34EF1 #DDF14E #4EF162
monochromatic
#760EB6 #9B15ED #B34EF1 #CB87F5 #E4BFFA

Accessibility & contrast

On white

3.98
#B34EF1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#B34EF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B34EF1
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B34EF1#FFFFFF#000000##000000
##B34EF11.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF6
Deuteranopia (green-blind)
#3181ED
Tritanopia (blue-blind)
#AA719A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #b34ef1;
/* rgb */ color: rgb(179, 78, 241);
/* oklch */ color: oklch(62.7% 0.238 309.6);
Tailwind
colors: {
  custom: {
    50: '#ce87f6',
    500: '#b34ef1',
    950: '#000000',
  },
}
SCSS
$custom: #b34ef1;
$custom-light: #ce87f6;
$custom-dark: #000000;
JSON
{
  "hex": "#b34ef1",
  "rgb": {
    "r": 179,
    "g": 78,
    "b": 241
  },
  "hsl": {
    "h": 277.178,
    "s": 85.34,
    "l": 62.549
  },
  "oklch": {
    "l": 0.62734,
    "c": 0.23795,
    "h": 309.6
  },
  "luminance": 0.21383
}

Semantic roles & 50–950 ramp

primary
#B34EF1
secondary
#C6EBB0
accent
#E20458
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#140C17
muted
#837D85

Preview Lab

Preview with #B34EF1

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

Preview Lab → · Contrast checker → · Palette generator →

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