#7844AF#7844AF

#7844AF is a mid, vivid violet. Relative luminance 0.112; OKLCH L 50.1% C 0.166 H 303.3°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#7844AF
RGBrgb(120, 68, 175)
HSLhsl(269, 44%, 48%)
HSVhsv(269, 61%, 69%)
CMYKcmyk(31.4%, 61.1%, 0%, 31.4%)
CIE-LABlab(39.95, 43.54, -48.88)
CIE-LCHlch(39.95, 65.46, 311.69°)
OKLaboklab(50.1% 0.091 -0.1384)
OKLCHoklch(50.1% 0.166 303.3)
XYZxyz(17.5490, 11.2225, 41.7908)
Luminance0.1122 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7844AF #7BAF44
analogous
#4445AF #7844AF #AE44AF
triadic
#7844AF #AF7844 #44AF78
tetradic
#7844AF #AF4445 #7BAF44 #44AFAE
square
#7844AF #AF4445 #7BAF44 #44AFAE
split-complementary
#7844AF #AFAE44 #45AF44
monochromatic
#3C2257 #5A3383 #7844AF #976BC5 #B697D7

Accessibility & contrast

On white

6.47
#7844AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#7844AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7844AF#FFFFFF#000000##FFFFFF
##7844AF1.006.473.246.47
#FFFFFF6.471.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#055DB2
Deuteranopia (green-blind)
#285EAD
Tritanopia (blue-blind)
#6E5A73
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7844af;
/* rgb */ color: rgb(120, 68, 175);
/* oklch */ color: oklch(50.1% 0.166 303.3);
Tailwind
colors: {
  custom: {
    50: '#a37ac7',
    500: '#7844af',
    950: '#000000',
  },
}
SCSS
$custom: #7844af;
$custom-light: #a37ac7;
$custom-dark: #000000;
JSON
{
  "hex": "#7844af",
  "rgb": {
    "r": 120,
    "g": 68,
    "b": 175
  },
  "hsl": {
    "h": 269.159,
    "s": 44.033,
    "l": 47.647
  },
  "oklch": {
    "l": 0.50102,
    "c": 0.16561,
    "h": 303.3
  },
  "luminance": 0.11222
}

Semantic roles & 50–950 ramp

primary
#7844AF
secondary
#A8C28C
accent
#D45496
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#0F0913
muted
#7F7B82

Preview Lab

Preview with #7844AF

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

Preview Lab → · Contrast checker → · Palette generator →

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