#B34FE7#B34FE7

#B34FE7 is a light, highly saturated violet. Relative luminance 0.209; OKLCH L 62.2% C 0.227 H 311.8°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#B34FE7
RGBrgb(179, 79, 231)
HSLhsl(279, 76%, 61%)
HSVhsv(279, 66%, 91%)
CMYKcmyk(22.5%, 65.8%, 0%, 9.4%)
CIE-LABlab(52.89, 64.18, -59.98)
CIE-LCHlch(52.89, 87.84, 316.94°)
OKLaboklab(62.19% 0.1515 -0.1692)
OKLCHoklch(62.19% 0.227 311.8)
XYZxyz(35.8076, 20.9461, 77.7425)
Luminance0.2094 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B34FE7 #83E74F
analogous
#674FE7 #B34FE7 #E74FCF
triadic
#B34FE7 #E7B34F #4FE7B3
tetradic
#B34FE7 #E7674F #83E74F #4FCFE7
square
#B34FE7 #E7674F #83E74F #4FCFE7
split-complementary
#B34FE7 #CFE74F #4FE767
monochromatic
#7417A5 #9A1EDB #B34FE7 #CA85EE #E2BBF6

Accessibility & contrast

On white

4.05
#B34FE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#B34FE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B34FE7
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B34FE7#FFFFFF#000000##000000
##B34FE71.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079EC
Deuteranopia (green-blind)
#4080E4
Tritanopia (blue-blind)
#AD6E95
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #b34fe7;
/* rgb */ color: rgb(179, 79, 231);
/* oklch */ color: oklch(62.2% 0.227 311.8);
Tailwind
colors: {
  custom: {
    50: '#ce87ef',
    500: '#b34fe7',
    950: '#000000',
  },
}
SCSS
$custom: #b34fe7;
$custom-light: #ce87ef;
$custom-dark: #000000;
JSON
{
  "hex": "#b34fe7",
  "rgb": {
    "r": 179,
    "g": 79,
    "b": 231
  },
  "hsl": {
    "h": 279.474,
    "s": 76,
    "l": 60.784
  },
  "oklch": {
    "l": 0.62191,
    "c": 0.22705,
    "h": 311.8
  },
  "luminance": 0.20945
}

Semantic roles & 50–950 ramp

primary
#B34FE7
secondary
#C0E6AC
accent
#D80D53
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C17
muted
#837D85

Preview Lab

Preview with #B34FE7

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

Preview Lab → · Contrast checker → · Palette generator →

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