#7844AC#7844AC

#7844AC is a mid, vivid violet. Relative luminance 0.111; OKLCH L 49.9% C 0.162 H 304.2°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#7844AC
RGBrgb(120, 68, 172)
HSLhsl(270, 43%, 47%)
HSVhsv(270, 60%, 67%)
CMYKcmyk(30.2%, 60.5%, 0%, 32.5%)
CIE-LABlab(39.76, 42.79, -47.41)
CIE-LCHlch(39.76, 63.87, 312.07°)
OKLaboklab(49.9% 0.091 -0.1341)
OKLCHoklch(49.9% 0.162 304.2)
XYZxyz(17.2576, 11.1059, 40.2562)
Luminance0.1111 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7844AC #78AC44
analogous
#4444AC #7844AC #AC44AC
triadic
#7844AC #AC7844 #44AC78
tetradic
#7844AC #AC4444 #78AC44 #44ACAC
square
#7844AC #AC4444 #78AC44 #44ACAC
split-complementary
#7844AC #ACAC44 #44AC44
monochromatic
#3B2154 #593380 #7844AC #9769C4 #B595D5

Accessibility & contrast

On white

6.52
#7844AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#7844AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7844AC#FFFFFF#000000##FFFFFF
##7844AC1.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F5CAF
Deuteranopia (green-blind)
#2C5EAA
Tritanopia (blue-blind)
#6F5971
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7844ac;
/* rgb */ color: rgb(120, 68, 172);
/* oklch */ color: oklch(49.9% 0.162 304.2);
Tailwind
colors: {
  custom: {
    50: '#a27ac5',
    500: '#7844ac',
    950: '#000000',
  },
}
SCSS
$custom: #7844ac;
$custom-light: #a27ac5;
$custom-dark: #000000;
JSON
{
  "hex": "#7844ac",
  "rgb": {
    "r": 120,
    "g": 68,
    "b": 172
  },
  "hsl": {
    "h": 270,
    "s": 43.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.49898,
    "c": 0.16208,
    "h": 304.2
  },
  "luminance": 0.11106
}

Semantic roles & 50–950 ramp

primary
#7844AC
secondary
#A6C18B
accent
#D35594
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#0F0913
muted
#7F7B82

Preview Lab

Preview with #7844AC

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

Preview Lab → · Contrast checker → · Palette generator →

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