#B34EF2#B34EF2

#B34EF2 is a light, highly saturated violet. Relative luminance 0.214; OKLCH L 62.8% C 0.239 H 309.4°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#B34EF2
RGBrgb(179, 78, 242)
HSLhsl(277, 86%, 63%)
HSVhsv(277, 68%, 95%)
CMYKcmyk(26%, 67.8%, 0%, 5.1%)
CIE-LABlab(53.43, 66.92, -65.28)
CIE-LCHlch(53.43, 93.48, 315.71°)
OKLaboklab(62.8% 0.1516 -0.1847)
OKLCHoklch(62.8% 0.239 309.4)
XYZxyz(37.3386, 21.4440, 86.1593)
Luminance0.2144 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B34EF2 #8DF24E
analogous
#614EF2 #B34EF2 #F24EDF
triadic
#B34EF2 #F2B34E #4EF2B3
tetradic
#B34EF2 #F2614E #8DF24E #4EDFF2
square
#B34EF2 #F2614E #8DF24E #4EDFF2
split-complementary
#B34EF2 #DFF24E #4EF261
monochromatic
#770EB8 #9B15EE #B34EF2 #CB87F6 #E4C0FA

Accessibility & contrast

On white

3.97
#B34EF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#B34EF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B34EF2
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B34EF2#FFFFFF#000000##000000
##B34EF21.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF7
Deuteranopia (green-blind)
#2F81EE
Tritanopia (blue-blind)
#AA719A
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #b34ef2;
/* rgb */ color: rgb(179, 78, 242);
/* oklch */ color: oklch(62.8% 0.239 309.4);
Tailwind
colors: {
  custom: {
    50: '#ce87f7',
    500: '#b34ef2',
    950: '#000000',
  },
}
SCSS
$custom: #b34ef2;
$custom-light: #ce87f7;
$custom-dark: #000000;
JSON
{
  "hex": "#b34ef2",
  "rgb": {
    "r": 179,
    "g": 78,
    "b": 242
  },
  "hsl": {
    "h": 276.951,
    "s": 86.316,
    "l": 62.745
  },
  "oklch": {
    "l": 0.62801,
    "c": 0.23893,
    "h": 309.4
  },
  "luminance": 0.21443
}

Semantic roles & 50–950 ramp

primary
#B34EF2
secondary
#C7ECB0
accent
#E30359
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#140C17
muted
#837D85

Preview Lab

Preview with #B34EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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