#7824AA#7824AA

#7824AA is a mid, highly saturated violet. Relative luminance 0.082; OKLCH L 46.0% C 0.200 H 308.8°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#7824AA
RGBrgb(120, 36, 170)
HSLhsl(278, 65%, 40%)
HSVhsv(278, 79%, 67%)
CMYKcmyk(29.4%, 78.8%, 0%, 33.3%)
CIE-LABlab(34.31, 57.09, -55.02)
CIE-LCHlch(34.31, 79.29, 316.06°)
OKLaboklab(45.95% 0.1256 -0.1563)
OKLCHoklch(45.95% 0.2 308.8)
XYZxyz(15.6308, 8.1574, 38.7735)
Luminance0.0816 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7824AA #56AA24
analogous
#3524AA #7824AA #AA2499
triadic
#7824AA #AA7824 #24AA78
tetradic
#7824AA #AA3524 #56AA24 #2499AA
square
#7824AA #AA3524 #56AA24 #2499AA
split-complementary
#7824AA #99AA24 #24AA35
monochromatic
#310F45 #541977 #7824AA #9A37D5 #B369DF

Accessibility & contrast

On white

7.98
#7824AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#7824AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7824AA#FFFFFF#000000##FFFFFF
##7824AA1.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAE
Deuteranopia (green-blind)
#0052A7
Tritanopia (blue-blind)
#704667
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7824aa;
/* rgb */ color: rgb(120, 36, 170);
/* oklch */ color: oklch(46.0% 0.200 308.8);
Tailwind
colors: {
  custom: {
    50: '#a469c4',
    500: '#7824aa',
    950: '#000000',
  },
}
SCSS
$custom: #7824aa;
$custom-light: #a469c4;
$custom-dark: #000000;
JSON
{
  "hex": "#7824aa",
  "rgb": {
    "r": 120,
    "g": 36,
    "b": 170
  },
  "hsl": {
    "h": 277.612,
    "s": 65.049,
    "l": 40.392
  },
  "oklch": {
    "l": 0.45954,
    "c": 0.20048,
    "h": 308.8
  },
  "luminance": 0.08157
}

Semantic roles & 50–950 ramp

primary
#7824AA
secondary
#89C565
accent
#E8407F
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7824AA

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

Preview Lab → · Contrast checker → · Palette generator →

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