#7A4DDD#7A4DDD

#7A4DDD is a mid, highly saturated violet. Relative luminance 0.147; OKLCH L 54.9% C 0.208 H 292.6°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#7A4DDD
RGBrgb(122, 77, 221)
HSLhsl(259, 68%, 58%)
HSVhsv(259, 65%, 87%)
CMYKcmyk(44.8%, 65.2%, 0%, 13.3%)
CIE-LABlab(45.17, 51.16, -67.12)
CIE-LCHlch(45.17, 84.40, 307.31°)
OKLaboklab(54.95% 0.0799 -0.192)
OKLCHoklch(54.95% 0.208 292.6)
XYZxyz(23.7275, 14.6650, 69.9731)
Luminance0.1467 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A4DDD #B0DD4D
analogous
#4D68DD #7A4DDD #C24DDD
triadic
#7A4DDD #DD7A4D #4DDD7A
tetradic
#7A4DDD #DD4D68 #B0DD4D #4DDDC2
square
#7A4DDD #DD4D68 #B0DD4D #4DDDC2
split-complementary
#7A4DDD #DDC24D #68DD4D
monochromatic
#411C93 #5826C7 #7A4DDD #A080E7 #C7B4F1

Accessibility & contrast

On white

5.34
#7A4DDD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#7A4DDD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A4DDD
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A4DDD#FFFFFF#000000##FFFFFF
##7A4DDD1.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE1
Deuteranopia (green-blind)
#0068DA
Tritanopia (blue-blind)
#5D708E
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7a4ddd;
/* rgb */ color: rgb(122, 77, 221);
/* oklch */ color: oklch(54.9% 0.208 292.6);
Tailwind
colors: {
  custom: {
    50: '#a881e9',
    500: '#7a4ddd',
    950: '#000000',
  },
}
SCSS
$custom: #7a4ddd;
$custom-light: #a881e9;
$custom-dark: #000000;
JSON
{
  "hex": "#7a4ddd",
  "rgb": {
    "r": 122,
    "g": 77,
    "b": 221
  },
  "hsl": {
    "h": 258.75,
    "s": 67.925,
    "l": 58.431
  },
  "oklch": {
    "l": 0.5495,
    "c": 0.20795,
    "h": 292.6
  },
  "luminance": 0.14666
}

Semantic roles & 50–950 ramp

primary
#7A4DDD
secondary
#CEDFA6
accent
#EB3DB4
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7A4DDD

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

Preview Lab → · Contrast checker → · Palette generator →

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