#7E4AC3#7E4AC3

#7E4AC3 is a mid, vivid violet. Relative luminance 0.133; OKLCH L 53.0% C 0.182 H 300.0°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#7E4AC3
RGBrgb(126, 74, 195)
HSLhsl(266, 50%, 53%)
HSVhsv(266, 62%, 76%)
CMYKcmyk(35.4%, 62.1%, 0%, 23.5%)
CIE-LABlab(43.17, 46.74, -55.39)
CIE-LCHlch(43.17, 72.47, 310.16°)
OKLaboklab(53.02% 0.0909 -0.1573)
OKLCHoklch(53.02% 0.182 300)
XYZxyz(20.9009, 13.2731, 53.0800)
Luminance0.1327 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E4AC3 #8FC34A
analogous
#4A53C3 #7E4AC3 #BA4AC3
triadic
#7E4AC3 #C37E4A #4AC37E
tetradic
#7E4AC3 #C34A53 #8FC34A #4AC3BA
square
#7E4AC3 #C34A53 #8FC34A #4AC3BA
split-complementary
#7E4AC3 #C3BA4A #53C34A
monochromatic
#44246E #61349C #7E4AC3 #9F78D2 #C0A6E1

Accessibility & contrast

On white

5.75
#7E4AC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#7E4AC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E4AC3
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E4AC3#FFFFFF#000000##FFFFFF
##7E4AC31.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C7
Deuteranopia (green-blind)
#1B65C0
Tritanopia (blue-blind)
#6F6480
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7e4ac3;
/* rgb */ color: rgb(126, 74, 195);
/* oklch */ color: oklch(53.0% 0.182 300.0);
Tailwind
colors: {
  custom: {
    50: '#a87fd6',
    500: '#7e4ac3',
    950: '#000000',
  },
}
SCSS
$custom: #7e4ac3;
$custom-light: #a87fd6;
$custom-dark: #000000;
JSON
{
  "hex": "#7e4ac3",
  "rgb": {
    "r": 126,
    "g": 74,
    "b": 195
  },
  "hsl": {
    "h": 265.785,
    "s": 50.207,
    "l": 52.745
  },
  "oklch": {
    "l": 0.53021,
    "c": 0.18171,
    "h": 300
  },
  "luminance": 0.13273
}

Semantic roles & 50–950 ramp

primary
#7E4AC3
secondary
#B8CF9A
accent
#DA4E9E
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #7E4AC3

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

Preview Lab → · Contrast checker → · Palette generator →

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