#B34AEF#B34AEF

#B34AEF is a light, highly saturated violet. Relative luminance 0.207; OKLCH L 62.2% C 0.241 H 310.4°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#B34AEF
RGBrgb(179, 74, 239)
HSLhsl(278, 84%, 61%)
HSVhsv(278, 69%, 94%)
CMYKcmyk(25.1%, 69%, 0%, 6.3%)
CIE-LABlab(52.64, 67.97, -64.88)
CIE-LCHlch(52.64, 93.97, 316.33°)
OKLaboklab(62.17% 0.1559 -0.1835)
OKLCHoklch(62.17% 0.241 310.4)
XYZxyz(36.6162, 20.7141, 83.7139)
Luminance0.2071 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B34AEF #86EF4A
analogous
#614AEF #B34AEF #EF4AD8
triadic
#B34AEF #EFB34A #4AEFB3
tetradic
#B34AEF #EF614A #86EF4A #4AD8EF
square
#B34AEF #EF614A #86EF4A #4AD8EF
split-complementary
#B34AEF #D8EF4A #4AEF61
monochromatic
#750FAF #9B14E7 #B34AEF #CB82F4 #E2BAF9

Accessibility & contrast

On white

4.08
#B34AEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#B34AEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B34AEF
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B34AEF#FFFFFF#000000##000000
##B34AEF1.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079F4
Deuteranopia (green-blind)
#2E7FEB
Tritanopia (blue-blind)
#AB6E98
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #b34aef;
/* rgb */ color: rgb(179, 74, 239);
/* oklch */ color: oklch(62.2% 0.241 310.4);
Tailwind
colors: {
  custom: {
    50: '#ce85f5',
    500: '#b34aef',
    950: '#000000',
  },
}
SCSS
$custom: #b34aef;
$custom-light: #ce85f5;
$custom-dark: #000000;
JSON
{
  "hex": "#b34aef",
  "rgb": {
    "r": 179,
    "g": 74,
    "b": 239
  },
  "hsl": {
    "h": 278.182,
    "s": 83.756,
    "l": 61.373
  },
  "oklch": {
    "l": 0.6217,
    "c": 0.24083,
    "h": 310.4
  },
  "luminance": 0.20713
}

Semantic roles & 50–950 ramp

primary
#B34AEF
secondary
#C2E9AC
accent
#E00555
background
#FDF8FF
surface
#FAF0FE
border
#D3CBD6
text
#140C17
muted
#837D85

Preview Lab

Preview with #B34AEF

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

Preview Lab → · Contrast checker → · Palette generator →

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