#7E4FBF#7E4FBF

#7E4FBF is a mid, vivid violet. Relative luminance 0.138; OKLCH L 53.5% C 0.170 H 300.0°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#7E4FBF
RGBrgb(126, 79, 191)
HSLhsl(265, 47%, 53%)
HSVhsv(265, 59%, 75%)
CMYKcmyk(34%, 58.6%, 0%, 25.1%)
CIE-LABlab(43.93, 43.00, -51.84)
CIE-LCHlch(43.93, 67.36, 309.68°)
OKLaboklab(53.49% 0.085 -0.1469)
OKLCHoklch(53.49% 0.17 300)
XYZxyz(20.8019, 13.7890, 50.8457)
Luminance0.1379 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E4FBF #90BF4F
analogous
#4F58BF #7E4FBF #B64FBF
triadic
#7E4FBF #BF7E4F #4FBF7E
tetradic
#7E4FBF #BF4F58 #90BF4F #4FBFB6
square
#7E4FBF #BF4F58 #90BF4F #4FBFB6
split-complementary
#7E4FBF #BFB64F #58BF4F
monochromatic
#44276C #613899 #7E4FBF #9F7CCF #C0A9E0

Accessibility & contrast

On white

5.59
#7E4FBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#7E4FBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E4FBF
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E4FBF#FFFFFF#000000##FFFFFF
##7E4FBF1.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1568C3
Deuteranopia (green-blind)
#2C67BC
Tritanopia (blue-blind)
#70667F
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7e4fbf;
/* rgb */ color: rgb(126, 79, 191);
/* oklch */ color: oklch(53.5% 0.170 300.0);
Tailwind
colors: {
  custom: {
    50: '#a782d3',
    500: '#7e4fbf',
    950: '#000000',
  },
}
SCSS
$custom: #7e4fbf;
$custom-light: #a782d3;
$custom-dark: #000000;
JSON
{
  "hex": "#7e4fbf",
  "rgb": {
    "r": 126,
    "g": 79,
    "b": 191
  },
  "hsl": {
    "h": 265.179,
    "s": 46.667,
    "l": 52.941
  },
  "oklch": {
    "l": 0.53489,
    "c": 0.16975,
    "h": 300
  },
  "luminance": 0.13789
}

Semantic roles & 50–950 ramp

primary
#7E4FBF
secondary
#B9CD9D
accent
#D6519F
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100B14
muted
#7F7C83

Preview Lab

Preview with #7E4FBF

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

Preview Lab → · Contrast checker → · Palette generator →

#7E4FBF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva