#B34DE7#B34DE7

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

Color values

HEX#B34DE7
RGBrgb(179, 77, 231)
HSLhsl(280, 76%, 60%)
HSVhsv(280, 67%, 91%)
CMYKcmyk(22.5%, 66.7%, 0%, 9.4%)
CIE-LABlab(52.58, 65.05, -60.48)
CIE-LCHlch(52.58, 88.82, 317.08°)
OKLaboklab(61.97% 0.1536 -0.1706)
OKLCHoklch(61.97% 0.23 312)
XYZxyz(35.6655, 20.6619, 77.6952)
Luminance0.2066 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B34DE7 #81E74D
analogous
#664DE7 #B34DE7 #E74DCE
triadic
#B34DE7 #E7B34D #4DE7B3
tetradic
#B34DE7 #E7664D #81E74D #4DCEE7
square
#B34DE7 #E7664D #81E74D #4DCEE7
split-complementary
#B34DE7 #CEE74D #4DE766
monochromatic
#7416A4 #9A1DD9 #B34DE7 #CA83EE #E1B9F6

Accessibility & contrast

On white

4.09
#B34DE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##B34DE7#FFFFFF#000000##000000
##B34DE71.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078EC
Deuteranopia (green-blind)
#3D80E4
Tritanopia (blue-blind)
#AD6D94
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #b34de7;
/* rgb */ color: rgb(179, 77, 231);
/* oklch */ color: oklch(62.0% 0.230 312.0);
Tailwind
colors: {
  custom: {
    50: '#ce86ef',
    500: '#b34de7',
    950: '#000000',
  },
}
SCSS
$custom: #b34de7;
$custom-light: #ce86ef;
$custom-dark: #000000;
JSON
{
  "hex": "#b34de7",
  "rgb": {
    "r": 179,
    "g": 77,
    "b": 231
  },
  "hsl": {
    "h": 279.74,
    "s": 76.238,
    "l": 60.392
  },
  "oklch": {
    "l": 0.61966,
    "c": 0.22958,
    "h": 312
  },
  "luminance": 0.20661
}

Semantic roles & 50–950 ramp

primary
#B34DE7
secondary
#BEE5AA
accent
#D80D52
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C17
muted
#837D85

Preview Lab

Preview with #B34DE7

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

Preview Lab → · Contrast checker → · Palette generator →

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