#7A4ADF#7A4ADF

#7A4ADF is a mid, highly saturated violet. Relative luminance 0.144; OKLCH L 54.7% C 0.214 H 292.7°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#7A4ADF
RGBrgb(122, 74, 223)
HSLhsl(259, 70%, 58%)
HSVhsv(259, 67%, 87%)
CMYKcmyk(45.3%, 66.8%, 0%, 12.5%)
CIE-LABlab(44.75, 53.26, -68.95)
CIE-LCHlch(44.75, 87.13, 307.68°)
OKLaboklab(54.69% 0.0826 -0.1974)
OKLCHoklch(54.69% 0.214 292.7)
XYZxyz(23.7904, 14.3621, 71.3164)
Luminance0.1436 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A4ADF #AFDF4A
analogous
#4A64DF #7A4ADF #C44ADF
triadic
#7A4ADF #DF7A4A #4ADF7A
tetradic
#7A4ADF #DF4A64 #AFDF4A #4ADFC4
square
#7A4ADF #DF4A64 #AFDF4A #4ADFC4
split-complementary
#7A4ADF #DFC44A #64DF4A
monochromatic
#421A94 #5923C8 #7A4ADF #A07EE8 #C6B2F1

Accessibility & contrast

On white

5.42
#7A4ADF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#7A4ADF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A4ADF
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A4ADF#FFFFFF#000000##FFFFFF
##7A4ADF1.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE4
Deuteranopia (green-blind)
#0067DC
Tritanopia (blue-blind)
#5C6E8E
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7a4adf;
/* rgb */ color: rgb(122, 74, 223);
/* oklch */ color: oklch(54.7% 0.214 292.7);
Tailwind
colors: {
  custom: {
    50: '#a880ea',
    500: '#7a4adf',
    950: '#000000',
  },
}
SCSS
$custom: #7a4adf;
$custom-light: #a880ea;
$custom-dark: #000000;
JSON
{
  "hex": "#7a4adf",
  "rgb": {
    "r": 122,
    "g": 74,
    "b": 223
  },
  "hsl": {
    "h": 259.329,
    "s": 69.953,
    "l": 58.235
  },
  "oklch": {
    "l": 0.54692,
    "c": 0.21395,
    "h": 292.7
  },
  "luminance": 0.14363
}

Semantic roles & 50–950 ramp

primary
#7A4ADF
secondary
#CDE0A5
accent
#ED3BB4
background
#FAF7FE
surface
#F5EEFD
border
#CFC9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #7A4ADF

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

Preview Lab → · Contrast checker → · Palette generator →

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