#B34CE9#B34CE9

#B34CE9 is a mid, highly saturated violet. Relative luminance 0.206; OKLCH L 62.0% C 0.233 H 311.6°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#B34CE9
RGBrgb(179, 76, 233)
HSLhsl(279, 78%, 61%)
HSVhsv(279, 67%, 91%)
CMYKcmyk(23.2%, 67.4%, 0%, 8.6%)
CIE-LABlab(52.55, 65.89, -61.65)
CIE-LCHlch(52.55, 90.24, 316.90°)
OKLaboklab(61.99% 0.1545 -0.1741)
OKLCHoklch(61.99% 0.233 311.6)
XYZxyz(35.8801, 20.6367, 79.1682)
Luminance0.2064 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B34CE9 #82E94C
analogous
#644CE9 #B34CE9 #E94CD0
triadic
#B34CE9 #E9B34C #4CE9B3
tetradic
#B34CE9 #E9644C #82E94C #4CD0E9
square
#B34CE9 #E9644C #82E94C #4CD0E9
split-complementary
#B34CE9 #D0E94C #4CE964
monochromatic
#7414A6 #9A1BDD #B34CE9 #CA83F0 #E1B9F6

Accessibility & contrast

On white

4.10
#B34CE9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#B34CE9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B34CE9
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B34CE9#FFFFFF#000000##000000
##B34CE91.004.105.135.13
#FFFFFF4.101.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078EE
Deuteranopia (green-blind)
#3A7FE5
Tritanopia (blue-blind)
#AC6D95
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #b34ce9;
/* rgb */ color: rgb(179, 76, 233);
/* oklch */ color: oklch(62.0% 0.233 311.6);
Tailwind
colors: {
  custom: {
    50: '#ce85f1',
    500: '#b34ce9',
    950: '#000000',
  },
}
SCSS
$custom: #b34ce9;
$custom-light: #ce85f1;
$custom-dark: #000000;
JSON
{
  "hex": "#b34ce9",
  "rgb": {
    "r": 179,
    "g": 76,
    "b": 233
  },
  "hsl": {
    "h": 279.363,
    "s": 78.109,
    "l": 60.588
  },
  "oklch": {
    "l": 0.61986,
    "c": 0.23273,
    "h": 311.6
  },
  "luminance": 0.20636
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B34CE9

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

Preview Lab → · Contrast checker → · Palette generator →

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