#B34CF6#B34CF6

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

Color values

HEX#B34CF6
RGBrgb(179, 76, 246)
HSLhsl(276, 90%, 63%)
HSVhsv(276, 69%, 96%)
CMYKcmyk(27.2%, 69.1%, 0%, 3.5%)
CIE-LABlab(53.39, 68.61, -67.58)
CIE-LCHlch(53.39, 96.30, 315.44°)
OKLaboklab(62.86% 0.1531 -0.1914)
OKLCHoklch(62.86% 0.245 308.6)
XYZxyz(37.8060, 21.4070, 89.3113)
Luminance0.2141 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B34CF6 #8FF64C
analogous
#5E4CF6 #B34CF6 #F64CE4
triadic
#B34CF6 #F6B34C #4CF6B3
tetradic
#B34CF6 #F65E4C #8FF64C #4CE4F6
square
#B34CF6 #F65E4C #8FF64C #4CE4F6
split-complementary
#B34CF6 #E4F64C #4CF65E
monochromatic
#770ABE #9A12F3 #B34CF6 #CC86F9 #E4C1FC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B34CF6#FFFFFF#000000##000000
##B34CF61.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)
#007CFB
Deuteranopia (green-blind)
#2481F2
Tritanopia (blue-blind)
#A9729C
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #b34cf6;
/* rgb */ color: rgb(179, 76, 246);
/* oklch */ color: oklch(62.9% 0.245 308.6);
Tailwind
colors: {
  custom: {
    50: '#cf86fa',
    500: '#b34cf6',
    950: '#000000',
  },
}
SCSS
$custom: #b34cf6;
$custom-light: #cf86fa;
$custom-dark: #000000;
JSON
{
  "hex": "#b34cf6",
  "rgb": {
    "r": 179,
    "g": 76,
    "b": 246
  },
  "hsl": {
    "h": 276.353,
    "s": 90.426,
    "l": 63.137
  },
  "oklch": {
    "l": 0.62856,
    "c": 0.24514,
    "h": 308.6
  },
  "luminance": 0.21406
}

Semantic roles & 50–950 ramp

primary
#B34CF6
secondary
#C8EDB0
accent
#E6005A
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#140C17
muted
#837D85

Preview Lab

Preview with #B34CF6

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

Preview Lab → · Contrast checker → · Palette generator →

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