#B34FF2#B34FF2

#B34FF2 is a light, highly saturated violet. Relative luminance 0.216; OKLCH L 62.9% C 0.238 H 309.3°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#B34FF2
RGBrgb(179, 79, 242)
HSLhsl(277, 86%, 63%)
HSVhsv(277, 67%, 95%)
CMYKcmyk(26%, 67.4%, 0%, 5.1%)
CIE-LABlab(53.59, 66.49, -65.03)
CIE-LCHlch(53.59, 93.00, 315.63°)
OKLaboklab(62.91% 0.1505 -0.184)
OKLCHoklch(62.91% 0.238 309.3)
XYZxyz(37.4102, 21.5872, 86.1832)
Luminance0.2159 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B34FF2 #8EF24F
analogous
#624FF2 #B34FF2 #F24FDF
triadic
#B34FF2 #F2B34F #4FF2B3
tetradic
#B34FF2 #F2624F #8EF24F #4FDFF2
square
#B34FF2 #F2624F #8EF24F #4FDFF2
split-complementary
#B34FF2 #DFF24F #4FF262
monochromatic
#770EB9 #9A16EE #B34FF2 #CC88F6 #E4C1FA

Accessibility & contrast

On white

3.95
#B34FF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#B34FF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B34FF2
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B34FF2#FFFFFF#000000##000000
##B34FF21.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF7
Deuteranopia (green-blind)
#3181EE
Tritanopia (blue-blind)
#AA729B
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #b34ff2;
/* rgb */ color: rgb(179, 79, 242);
/* oklch */ color: oklch(62.9% 0.238 309.3);
Tailwind
colors: {
  custom: {
    50: '#ce87f7',
    500: '#b34ff2',
    950: '#000000',
  },
}
SCSS
$custom: #b34ff2;
$custom-light: #ce87f7;
$custom-dark: #000000;
JSON
{
  "hex": "#b34ff2",
  "rgb": {
    "r": 179,
    "g": 79,
    "b": 242
  },
  "hsl": {
    "h": 276.81,
    "s": 86.243,
    "l": 62.941
  },
  "oklch": {
    "l": 0.62911,
    "c": 0.23771,
    "h": 309.3
  },
  "luminance": 0.21586
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B34FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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