#7A4DE1#7A4DE1

#7A4DE1 is a mid, highly saturated violet. Relative luminance 0.149; OKLCH L 55.3% C 0.213 H 291.9°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#7A4DE1
RGBrgb(122, 77, 225)
HSLhsl(258, 71%, 59%)
HSVhsv(258, 66%, 88%)
CMYKcmyk(45.8%, 65.8%, 0%, 11.8%)
CIE-LABlab(45.47, 52.24, -68.91)
CIE-LCHlch(45.47, 86.47, 307.16°)
OKLaboklab(55.26% 0.0794 -0.1972)
OKLCHoklch(55.26% 0.213 291.9)
XYZxyz(24.2667, 14.8808, 72.8132)
Luminance0.1488 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A4DE1 #B4E14D
analogous
#4D6AE1 #7A4DE1 #C44DE1
triadic
#7A4DE1 #E17A4D #4DE17A
tetradic
#7A4DE1 #E14D6A #B4E14D #4DE1C4
square
#7A4DE1 #E14D6A #B4E14D #4DE1C4
split-complementary
#7A4DE1 #E1C44D #6AE14D
monochromatic
#411A9A #5723CE #7A4DE1 #A181EA #C8B6F3

Accessibility & contrast

On white

5.28
#7A4DE1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#7A4DE1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A4DE1
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A4DE1#FFFFFF#000000##FFFFFF
##7A4DE11.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE6
Deuteranopia (green-blind)
#0069DE
Tritanopia (blue-blind)
#5B7191
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7a4de1;
/* rgb */ color: rgb(122, 77, 225);
/* oklch */ color: oklch(55.3% 0.213 291.9);
Tailwind
colors: {
  custom: {
    50: '#a882eb',
    500: '#7a4de1',
    950: '#000000',
  },
}
SCSS
$custom: #7a4de1;
$custom-light: #a882eb;
$custom-dark: #000000;
JSON
{
  "hex": "#7a4de1",
  "rgb": {
    "r": 122,
    "g": 77,
    "b": 225
  },
  "hsl": {
    "h": 258.243,
    "s": 71.154,
    "l": 59.216
  },
  "oklch": {
    "l": 0.55258,
    "c": 0.21263,
    "h": 291.9
  },
  "luminance": 0.14882
}

Semantic roles & 50–950 ramp

primary
#7A4DE1
secondary
#D0E2A8
accent
#EE3AB7
background
#FAF8FE
surface
#F5EFFD
border
#CFCAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #7A4DE1

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

Preview Lab → · Contrast checker → · Palette generator →

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