#7A4DD9#7A4DD9

#7A4DD9 is a mid, highly saturated violet. Relative luminance 0.145; OKLCH L 54.6% C 0.203 H 293.3°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#7A4DD9
RGBrgb(122, 77, 217)
HSLhsl(259, 65%, 58%)
HSVhsv(259, 65%, 85%)
CMYKcmyk(43.8%, 64.5%, 0%, 14.9%)
CIE-LABlab(44.88, 50.08, -65.32)
CIE-LCHlch(44.88, 82.31, 307.48°)
OKLaboklab(54.65% 0.0803 -0.1867)
OKLCHoklch(54.65% 0.203 293.3)
XYZxyz(23.2009, 14.4544, 67.1998)
Luminance0.1446 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A4DD9 #ACD94D
analogous
#4D66D9 #7A4DD9 #C04DD9
triadic
#7A4DD9 #D97A4D #4DD97A
tetradic
#7A4DD9 #D94D66 #ACD94D #4DD9C0
square
#7A4DD9 #D94D66 #ACD94D #4DD9C0
split-complementary
#7A4DD9 #D9C04D #66D94D
monochromatic
#421E8D #5929C0 #7A4DD9 #A07FE4 #C5B2EF

Accessibility & contrast

On white

5.40
#7A4DD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#7A4DD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A4DD9
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A4DD9#FFFFFF#000000##FFFFFF
##7A4DD91.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CDD
Deuteranopia (green-blind)
#0068D6
Tritanopia (blue-blind)
#5F6E8C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7a4dd9;
/* rgb */ color: rgb(122, 77, 217);
/* oklch */ color: oklch(54.6% 0.203 293.3);
Tailwind
colors: {
  custom: {
    50: '#a781e6',
    500: '#7a4dd9',
    950: '#000000',
  },
}
SCSS
$custom: #7a4dd9;
$custom-light: #a781e6;
$custom-dark: #000000;
JSON
{
  "hex": "#7a4dd9",
  "rgb": {
    "r": 122,
    "g": 77,
    "b": 217
  },
  "hsl": {
    "h": 259.286,
    "s": 64.815,
    "l": 57.647
  },
  "oklch": {
    "l": 0.54645,
    "c": 0.20324,
    "h": 293.3
  },
  "luminance": 0.14455
}

Semantic roles & 50–950 ramp

primary
#7A4DD9
secondary
#CBDDA5
accent
#E840B2
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #7A4DD9

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

Preview Lab → · Contrast checker → · Palette generator →

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