#7824A4#7824A4

#7824A4 is a mid, vivid violet. Relative luminance 0.079; OKLCH L 45.5% C 0.195 H 310.6°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#7824A4
RGBrgb(120, 36, 164)
HSLhsl(279, 64%, 39%)
HSVhsv(279, 78%, 64%)
CMYKcmyk(26.8%, 78%, 0%, 35.7%)
CIE-LABlab(33.85, 55.79, -52.16)
CIE-LCHlch(33.85, 76.38, 316.93°)
OKLaboklab(45.49% 0.1269 -0.1479)
OKLCHoklch(45.49% 0.195 310.6)
XYZxyz(15.0761, 7.9355, 35.8523)
Luminance0.0794 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7824A4 #50A424
analogous
#3824A4 #7824A4 #A42490
triadic
#7824A4 #A47824 #24A478
tetradic
#7824A4 #A43824 #50A424 #2490A4
square
#7824A4 #A43824 #50A424 #2490A4
split-complementary
#7824A4 #90A424 #24A438
monochromatic
#2F0E40 #531972 #7824A4 #9B33D2 #B465DD

Accessibility & contrast

On white

8.12
#7824A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#7824A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7824A4
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7824A4#FFFFFF#000000##FFFFFF
##7824A41.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA7
Deuteranopia (green-blind)
#0051A1
Tritanopia (blue-blind)
#724363
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7824a4;
/* rgb */ color: rgb(120, 36, 164);
/* oklch */ color: oklch(45.5% 0.195 310.6);
Tailwind
colors: {
  custom: {
    50: '#a469c0',
    500: '#7824a4',
    950: '#000000',
  },
}
SCSS
$custom: #7824a4;
$custom-light: #a469c0;
$custom-dark: #000000;
JSON
{
  "hex": "#7824a4",
  "rgb": {
    "r": 120,
    "g": 36,
    "b": 164
  },
  "hsl": {
    "h": 279.375,
    "s": 64,
    "l": 39.216
  },
  "oklch": {
    "l": 0.45486,
    "c": 0.19486,
    "h": 310.6
  },
  "luminance": 0.07935
}

Semantic roles & 50–950 ramp

primary
#7824A4
secondary
#83C361
accent
#E7417A
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7824A4

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

Preview Lab → · Contrast checker → · Palette generator →

#7824A4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva