#B34FEA#B34FEA

#B34FEA is a light, highly saturated violet. Relative luminance 0.211; OKLCH L 62.4% C 0.230 H 311.1°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#B34FEA
RGBrgb(179, 79, 234)
HSLhsl(279, 79%, 61%)
HSVhsv(279, 66%, 92%)
CMYKcmyk(23.5%, 66.2%, 0%, 8.2%)
CIE-LABlab(53.08, 64.80, -61.37)
CIE-LCHlch(53.08, 89.25, 316.56°)
OKLaboklab(62.38% 0.1512 -0.1732)
OKLCHoklch(62.38% 0.23 311.1)
XYZxyz(36.2349, 21.1170, 79.9931)
Luminance0.2112 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B34FEA #86EA4F
analogous
#664FEA #B34FEA #EA4FD3
triadic
#B34FEA #EAB34F #4FEAB3
tetradic
#B34FEA #EA664F #86EA4F #4FD3EA
square
#B34FEA #EA664F #86EA4F #4FD3EA
split-complementary
#B34FEA #D3EA4F #4FEA66
monochromatic
#7514AA #9B1BE1 #B34FEA #CB86F1 #E2BCF7

Accessibility & contrast

On white

4.02
#B34FEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#B34FEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B34FEA
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B34FEA#FFFFFF#000000##000000
##B34FEA1.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AEF
Deuteranopia (green-blind)
#3C81E7
Tritanopia (blue-blind)
#AC6F96
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #b34fea;
/* rgb */ color: rgb(179, 79, 234);
/* oklch */ color: oklch(62.4% 0.230 311.1);
Tailwind
colors: {
  custom: {
    50: '#ce87f1',
    500: '#b34fea',
    950: '#000000',
  },
}
SCSS
$custom: #b34fea;
$custom-light: #ce87f1;
$custom-dark: #000000;
JSON
{
  "hex": "#b34fea",
  "rgb": {
    "r": 179,
    "g": 79,
    "b": 234
  },
  "hsl": {
    "h": 278.71,
    "s": 78.68,
    "l": 61.373
  },
  "oklch": {
    "l": 0.62384,
    "c": 0.22995,
    "h": 311.1
  },
  "luminance": 0.21116
}

Semantic roles & 50–950 ramp

primary
#B34FEA
secondary
#C2E7AD
accent
#DB0B54
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C17
muted
#837D85

Preview Lab

Preview with #B34FEA

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

Preview Lab → · Contrast checker → · Palette generator →

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