#7A4DDE#7A4DDE

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

Color values

HEX#7A4DDE
RGBrgb(122, 77, 222)
HSLhsl(259, 69%, 59%)
HSVhsv(259, 65%, 87%)
CMYKcmyk(45%, 65.3%, 0%, 12.9%)
CIE-LABlab(45.25, 51.43, -67.57)
CIE-LCHlch(45.25, 84.92, 307.27°)
OKLaboklab(55.03% 0.0798 -0.1933)
OKLCHoklch(55.03% 0.209 292.4)
XYZxyz(23.8611, 14.7185, 70.6768)
Luminance0.1472 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A4DDE #B1DE4D
analogous
#4D68DE #7A4DDE #C24DDE
triadic
#7A4DDE #DE7A4D #4DDE7A
tetradic
#7A4DDE #DE4D68 #B1DE4D #4DDEC2
square
#7A4DDE #DE4D68 #B1DE4D #4DDEC2
split-complementary
#7A4DDE #DEC24D #68DE4D
monochromatic
#411C95 #5825C9 #7A4DDE #A181E8 #C7B4F1

Accessibility & contrast

On white

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

On black

3.94
#7A4DDE on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7A4DDE#FFFFFF#000000##FFFFFF
##7A4DDE1.005.323.945.32
#FFFFFF5.321.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE2
Deuteranopia (green-blind)
#0068DB
Tritanopia (blue-blind)
#5C708F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7a4dde;
/* rgb */ color: rgb(122, 77, 222);
/* oklch */ color: oklch(55.0% 0.209 292.4);
Tailwind
colors: {
  custom: {
    50: '#a881e9',
    500: '#7a4dde',
    950: '#000000',
  },
}
SCSS
$custom: #7a4dde;
$custom-light: #a881e9;
$custom-dark: #000000;
JSON
{
  "hex": "#7a4dde",
  "rgb": {
    "r": 122,
    "g": 77,
    "b": 222
  },
  "hsl": {
    "h": 258.621,
    "s": 68.72,
    "l": 58.627
  },
  "oklch": {
    "l": 0.55027,
    "c": 0.20912,
    "h": 292.4
  },
  "luminance": 0.14719
}

Semantic roles & 50–950 ramp

primary
#7A4DDE
secondary
#CEE0A7
accent
#EC3CB5
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7A4DDE

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

Preview Lab → · Contrast checker → · Palette generator →

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