#7824A9#7824A9

#7824A9 is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.9% C 0.200 H 309.1°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#7824A9
RGBrgb(120, 36, 169)
HSLhsl(278, 65%, 40%)
HSVhsv(278, 79%, 66%)
CMYKcmyk(29%, 78.7%, 0%, 33.7%)
CIE-LABlab(34.23, 56.87, -54.55)
CIE-LCHlch(34.23, 78.80, 316.20°)
OKLaboklab(45.88% 0.1258 -0.1549)
OKLCHoklch(45.88% 0.2 309.1)
XYZxyz(15.5366, 8.1197, 38.2772)
Luminance0.0812 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7824A9 #55A924
analogous
#3624A9 #7824A9 #A92497
triadic
#7824A9 #A97824 #24A978
tetradic
#7824A9 #A93624 #55A924 #2497A9
square
#7824A9 #A93624 #55A924 #2497A9
split-complementary
#7824A9 #97A924 #24A936
monochromatic
#300F44 #541977 #7824A9 #9A36D4 #B368DF

Accessibility & contrast

On white

8.00
#7824A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#7824A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7824A9
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7824A9#FFFFFF#000000##FFFFFF
##7824A91.008.002.628.00
#FFFFFF8.001.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAD
Deuteranopia (green-blind)
#0051A6
Tritanopia (blue-blind)
#704566
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7824a9;
/* rgb */ color: rgb(120, 36, 169);
/* oklch */ color: oklch(45.9% 0.200 309.1);
Tailwind
colors: {
  custom: {
    50: '#a469c3',
    500: '#7824a9',
    950: '#000000',
  },
}
SCSS
$custom: #7824a9;
$custom-light: #a469c3;
$custom-dark: #000000;
JSON
{
  "hex": "#7824a9",
  "rgb": {
    "r": 120,
    "g": 36,
    "b": 169
  },
  "hsl": {
    "h": 277.895,
    "s": 64.878,
    "l": 40.196
  },
  "oklch": {
    "l": 0.45875,
    "c": 0.19955,
    "h": 309.1
  },
  "luminance": 0.08119
}

Semantic roles & 50–950 ramp

primary
#7824A9
secondary
#88C564
accent
#E8407E
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7824A9

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

Preview Lab → · Contrast checker → · Palette generator →

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