#7A4CDD#7A4CDD

#7A4CDD is a mid, highly saturated violet. Relative luminance 0.145; OKLCH L 54.8% C 0.209 H 292.8°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#7A4CDD
RGBrgb(122, 76, 221)
HSLhsl(259, 68%, 58%)
HSVhsv(259, 66%, 87%)
CMYKcmyk(44.8%, 65.6%, 0%, 13.3%)
CIE-LABlab(44.98, 51.68, -67.44)
CIE-LCHlch(44.98, 84.97, 307.47°)
OKLaboklab(54.81% 0.0809 -0.1929)
OKLCHoklch(54.81% 0.209 292.8)
XYZxyz(23.6580, 14.5262, 69.9499)
Luminance0.1453 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A4CDD #AFDD4C
analogous
#4C67DD #7A4CDD #C24CDD
triadic
#7A4CDD #DD7A4C #4CDD7A
tetradic
#7A4CDD #DD4C67 #AFDD4C #4CDDC2
square
#7A4CDD #DD4C67 #AFDD4C #4CDDC2
split-complementary
#7A4CDD #DDC24C #67DD4C
monochromatic
#421C93 #5926C6 #7A4CDD #A07FE7 #C6B3F1

Accessibility & contrast

On white

5.38
#7A4CDD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#7A4CDD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A4CDD
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A4CDD#FFFFFF#000000##FFFFFF
##7A4CDD1.005.383.915.38
#FFFFFF5.381.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE1
Deuteranopia (green-blind)
#0068DA
Tritanopia (blue-blind)
#5D6F8E
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7a4cdd;
/* rgb */ color: rgb(122, 76, 221);
/* oklch */ color: oklch(54.8% 0.209 292.8);
Tailwind
colors: {
  custom: {
    50: '#a881e9',
    500: '#7a4cdd',
    950: '#000000',
  },
}
SCSS
$custom: #7a4cdd;
$custom-light: #a881e9;
$custom-dark: #000000;
JSON
{
  "hex": "#7a4cdd",
  "rgb": {
    "r": 122,
    "g": 76,
    "b": 221
  },
  "hsl": {
    "h": 259.034,
    "s": 68.075,
    "l": 58.235
  },
  "oklch": {
    "l": 0.5481,
    "c": 0.20919,
    "h": 292.8
  },
  "luminance": 0.14527
}

Semantic roles & 50–950 ramp

primary
#7A4CDD
secondary
#CDDFA6
accent
#EB3DB4
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #7A4CDD

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

Preview Lab → · Contrast checker → · Palette generator →

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