#7E4ACA#7E4ACA

#7E4ACA is a mid, vivid violet. Relative luminance 0.136; OKLCH L 53.5% C 0.190 H 298.4°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#7E4ACA
RGBrgb(126, 74, 202)
HSLhsl(264, 55%, 54%)
HSVhsv(264, 63%, 79%)
CMYKcmyk(37.6%, 63.4%, 0%, 20.8%)
CIE-LABlab(43.65, 48.53, -58.67)
CIE-LCHlch(43.65, 76.14, 309.60°)
OKLaboklab(53.52% 0.0904 -0.167)
OKLCHoklch(53.52% 0.19 298.4)
XYZxyz(21.7110, 13.5972, 57.3463)
Luminance0.1360 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E4ACA #96CA4A
analogous
#4A56CA #7E4ACA #BE4ACA
triadic
#7E4ACA #CA7E4A #4ACA7E
tetradic
#7E4ACA #CA4A56 #96CA4A #4ACABE
square
#7E4ACA #CA4A56 #96CA4A #4ACABE
split-complementary
#7E4ACA #CABE4A #56CA4A
monochromatic
#452377 #6031A6 #7E4ACA #A079D8 #C1A9E6

Accessibility & contrast

On white

5.65
#7E4ACA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#7E4ACA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E4ACA
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E4ACA#FFFFFF#000000##FFFFFF
##7E4ACA1.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CE
Deuteranopia (green-blind)
#0366C7
Tritanopia (blue-blind)
#6C6783
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7e4aca;
/* rgb */ color: rgb(126, 74, 202);
/* oklch */ color: oklch(53.5% 0.190 298.4);
Tailwind
colors: {
  custom: {
    50: '#a97fdb',
    500: '#7e4aca',
    950: '#000000',
  },
}
SCSS
$custom: #7e4aca;
$custom-light: #a97fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#7e4aca",
  "rgb": {
    "r": 126,
    "g": 74,
    "b": 202
  },
  "hsl": {
    "h": 264.375,
    "s": 54.701,
    "l": 54.118
  },
  "oklch": {
    "l": 0.53519,
    "c": 0.18991,
    "h": 298.4
  },
  "luminance": 0.13597
}

Semantic roles & 50–950 ramp

primary
#7E4ACA
secondary
#BDD39D
accent
#DE4AA2
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7E4ACA

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

Preview Lab → · Contrast checker → · Palette generator →

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