#B34BE9#B34BE9

#B34BE9 is a mid, highly saturated violet. Relative luminance 0.205; OKLCH L 61.9% C 0.234 H 311.7°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#B34BE9
RGBrgb(179, 75, 233)
HSLhsl(279, 78%, 60%)
HSVhsv(279, 68%, 91%)
CMYKcmyk(23.2%, 67.8%, 0%, 8.6%)
CIE-LABlab(52.40, 66.31, -61.90)
CIE-LCHlch(52.40, 90.71, 316.97°)
OKLaboklab(61.88% 0.1555 -0.1748)
OKLCHoklch(61.88% 0.234 311.7)
XYZxyz(35.8117, 20.5000, 79.1454)
Luminance0.2050 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B34BE9 #81E94B
analogous
#644BE9 #B34BE9 #E94BD0
triadic
#B34BE9 #E9B34B #4BE9B3
tetradic
#B34BE9 #E9644B #81E94B #4BD0E9
square
#B34BE9 #E9644B #81E94B #4BD0E9
split-complementary
#B34BE9 #D0E94B #4BE964
monochromatic
#7414A5 #9A1BDC #B34BE9 #CA82F0 #E1B8F6

Accessibility & contrast

On white

4.12
#B34BE9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#B34BE9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B34BE9
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B34BE9#FFFFFF#000000##000000
##B34BE91.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078EE
Deuteranopia (green-blind)
#397FE5
Tritanopia (blue-blind)
#AC6C95
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #b34be9;
/* rgb */ color: rgb(179, 75, 233);
/* oklch */ color: oklch(61.9% 0.234 311.7);
Tailwind
colors: {
  custom: {
    50: '#ce85f1',
    500: '#b34be9',
    950: '#000000',
  },
}
SCSS
$custom: #b34be9;
$custom-light: #ce85f1;
$custom-dark: #000000;
JSON
{
  "hex": "#b34be9",
  "rgb": {
    "r": 179,
    "g": 75,
    "b": 233
  },
  "hsl": {
    "h": 279.494,
    "s": 78.218,
    "l": 60.392
  },
  "oklch": {
    "l": 0.61878,
    "c": 0.23395,
    "h": 311.7
  },
  "luminance": 0.20499
}

Semantic roles & 50–950 ramp

primary
#B34BE9
secondary
#BEE6AA
accent
#DA0B52
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C17
muted
#837D85

Preview Lab

Preview with #B34BE9

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

Preview Lab → · Contrast checker → · Palette generator →

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