#7A4DD3#7A4DD3

#7A4DD3 is a mid, vivid violet. Relative luminance 0.141; OKLCH L 54.2% C 0.196 H 294.4°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#7A4DD3
RGBrgb(122, 77, 211)
HSLhsl(260, 60%, 56%)
HSVhsv(260, 64%, 83%)
CMYKcmyk(42.2%, 63.5%, 0%, 17.3%)
CIE-LABlab(44.44, 48.47, -62.59)
CIE-LCHlch(44.44, 79.16, 307.75°)
OKLaboklab(54.2% 0.0809 -0.1786)
OKLCHoklch(54.2% 0.196 294.4)
XYZxyz(22.4346, 14.1479, 63.1642)
Luminance0.1415 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A4DD3 #A6D34D
analogous
#4D63D3 #7A4DD3 #BD4DD3
triadic
#7A4DD3 #D37A4D #4DD37A
tetradic
#7A4DD3 #D34D63 #A6D34D #4DD3BD
square
#7A4DD3 #D34D63 #A6D34D #4DD3BD
split-complementary
#7A4DD3 #D3BD4D #63D34D
monochromatic
#422185 #5B2DB6 #7A4DD3 #9F7EDF #C3AFEB

Accessibility & contrast

On white

5.48
#7A4DD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#7A4DD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A4DD3
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A4DD3#FFFFFF#000000##FFFFFF
##7A4DD31.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD7
Deuteranopia (green-blind)
#0067D0
Tritanopia (blue-blind)
#626C89
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7a4dd3;
/* rgb */ color: rgb(122, 77, 211);
/* oklch */ color: oklch(54.2% 0.196 294.4);
Tailwind
colors: {
  custom: {
    50: '#a781e1',
    500: '#7a4dd3',
    950: '#000000',
  },
}
SCSS
$custom: #7a4dd3;
$custom-light: #a781e1;
$custom-dark: #000000;
JSON
{
  "hex": "#7a4dd3",
  "rgb": {
    "r": 122,
    "g": 77,
    "b": 211
  },
  "hsl": {
    "h": 260.149,
    "s": 60.36,
    "l": 56.471
  },
  "oklch": {
    "l": 0.54195,
    "c": 0.19613,
    "h": 294.4
  },
  "luminance": 0.14148
}

Semantic roles & 50–950 ramp

primary
#7A4DD3
secondary
#C7D9A2
accent
#E444AE
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7A4DD3

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

Preview Lab → · Contrast checker → · Palette generator →

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