#7844AA#7844AA

#7844AA is a mid, vivid violet. Relative luminance 0.110; OKLCH L 49.8% C 0.160 H 304.8°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#7844AA
RGBrgb(120, 68, 170)
HSLhsl(271, 43%, 47%)
HSVhsv(271, 60%, 67%)
CMYKcmyk(29.4%, 60%, 0%, 33.3%)
CIE-LABlab(39.63, 42.30, -46.43)
CIE-LCHlch(39.63, 62.80, 312.33°)
OKLaboklab(49.76% 0.0911 -0.1312)
OKLCHoklch(49.76% 0.16 304.8)
XYZxyz(17.0670, 11.0297, 39.2522)
Luminance0.1103 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7844AA #76AA44
analogous
#4544AA #7844AA #AA44A9
triadic
#7844AA #AA7844 #44AA78
tetradic
#7844AA #AA4544 #76AA44 #44A9AA
square
#7844AA #AA4544 #76AA44 #44A9AA
split-complementary
#7844AA #A9AA44 #44AA45
monochromatic
#3A2153 #59337E #7844AA #9668C3 #B594D4

Accessibility & contrast

On white

6.55
#7844AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#7844AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7844AA
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7844AA#FFFFFF#000000##FFFFFF
##7844AA1.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#145CAD
Deuteranopia (green-blind)
#2E5DA8
Tritanopia (blue-blind)
#6F5870
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7844aa;
/* rgb */ color: rgb(120, 68, 170);
/* oklch */ color: oklch(49.8% 0.160 304.8);
Tailwind
colors: {
  custom: {
    50: '#a27ac4',
    500: '#7844aa',
    950: '#000000',
  },
}
SCSS
$custom: #7844aa;
$custom-light: #a27ac4;
$custom-dark: #000000;
JSON
{
  "hex": "#7844aa",
  "rgb": {
    "r": 120,
    "g": 68,
    "b": 170
  },
  "hsl": {
    "h": 270.588,
    "s": 42.857,
    "l": 46.667
  },
  "oklch": {
    "l": 0.49764,
    "c": 0.15972,
    "h": 304.8
  },
  "luminance": 0.1103
}

Semantic roles & 50–950 ramp

primary
#7844AA
secondary
#A4C08A
accent
#D35593
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#0F0913
muted
#7F7B82

Preview Lab

Preview with #7844AA

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

Preview Lab → · Contrast checker → · Palette generator →

#7844AA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva