#7A4CE1#7A4CE1

#7A4CE1 is a mid, highly saturated violet. Relative luminance 0.147; OKLCH L 55.1% C 0.214 H 292.1°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#7A4CE1
RGBrgb(122, 76, 225)
HSLhsl(259, 71%, 59%)
HSVhsv(259, 66%, 88%)
CMYKcmyk(45.8%, 66.2%, 0%, 11.8%)
CIE-LABlab(45.28, 52.76, -69.22)
CIE-LCHlch(45.28, 87.04, 307.31°)
OKLaboklab(55.12% 0.0804 -0.1982)
OKLCHoklch(55.12% 0.214 292.1)
XYZxyz(24.1973, 14.7419, 72.7901)
Luminance0.1474 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A4CE1 #B3E14C
analogous
#4C69E1 #7A4CE1 #C44CE1
triadic
#7A4CE1 #E17A4C #4CE17A
tetradic
#7A4CE1 #E14C69 #B3E14C #4CE1C4
square
#7A4CE1 #E14C69 #B3E14C #4CE1C4
split-complementary
#7A4CE1 #E1C44C #69E14C
monochromatic
#411A99 #5722CD #7A4CE1 #A180EA #C8B5F3

Accessibility & contrast

On white

5.32
#7A4CE1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#7A4CE1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A4CE1
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A4CE1#FFFFFF#000000##FFFFFF
##7A4CE11.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE6
Deuteranopia (green-blind)
#0068DE
Tritanopia (blue-blind)
#5B7090
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7a4ce1;
/* rgb */ color: rgb(122, 76, 225);
/* oklch */ color: oklch(55.1% 0.214 292.1);
Tailwind
colors: {
  custom: {
    50: '#a881eb',
    500: '#7a4ce1',
    950: '#000000',
  },
}
SCSS
$custom: #7a4ce1;
$custom-light: #a881eb;
$custom-dark: #000000;
JSON
{
  "hex": "#7a4ce1",
  "rgb": {
    "r": 122,
    "g": 76,
    "b": 225
  },
  "hsl": {
    "h": 258.523,
    "s": 71.292,
    "l": 59.02
  },
  "oklch": {
    "l": 0.5512,
    "c": 0.21384,
    "h": 292.1
  },
  "luminance": 0.14743
}

Semantic roles & 50–950 ramp

primary
#7A4CE1
secondary
#D0E2A7
accent
#EE3AB6
background
#FAF8FE
surface
#F5EFFD
border
#CFCAD5
text
#110A16
muted
#807C84

Preview Lab

Preview with #7A4CE1

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

Preview Lab → · Contrast checker → · Palette generator →

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