#7824A5#7824A5

#7824A5 is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.6% C 0.196 H 310.3°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#7824A5
RGBrgb(120, 36, 165)
HSLhsl(279, 64%, 39%)
HSVhsv(279, 78%, 65%)
CMYKcmyk(27.3%, 78.2%, 0%, 35.3%)
CIE-LABlab(33.92, 56.01, -52.64)
CIE-LCHlch(33.92, 76.86, 316.78°)
OKLaboklab(45.56% 0.1267 -0.1493)
OKLCHoklch(45.56% 0.196 310.3)
XYZxyz(15.1668, 7.9718, 36.3298)
Luminance0.0797 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7824A5 #51A524
analogous
#3824A5 #7824A5 #A52492
triadic
#7824A5 #A57824 #24A578
tetradic
#7824A5 #A53824 #51A524 #2492A5
square
#7824A5 #A53824 #51A524 #2492A5
split-complementary
#7824A5 #92A524 #24A538
monochromatic
#2F0E41 #531973 #7824A5 #9B34D3 #B466DE

Accessibility & contrast

On white

8.09
#7824A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

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

Contrast matrix

fg \ bg##7824A5#FFFFFF#000000##FFFFFF
##7824A51.008.092.598.09
#FFFFFF8.091.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA9
Deuteranopia (green-blind)
#0051A2
Tritanopia (blue-blind)
#724464
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7824a5;
/* rgb */ color: rgb(120, 36, 165);
/* oklch */ color: oklch(45.6% 0.196 310.3);
Tailwind
colors: {
  custom: {
    50: '#a469c1',
    500: '#7824a5',
    950: '#000000',
  },
}
SCSS
$custom: #7824a5;
$custom-light: #a469c1;
$custom-dark: #000000;
JSON
{
  "hex": "#7824a5",
  "rgb": {
    "r": 120,
    "g": 36,
    "b": 165
  },
  "hsl": {
    "h": 279.07,
    "s": 64.179,
    "l": 39.412
  },
  "oklch": {
    "l": 0.45563,
    "c": 0.19579,
    "h": 310.3
  },
  "luminance": 0.07971
}

Semantic roles & 50–950 ramp

primary
#7824A5
secondary
#84C362
accent
#E7417B
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7824A5

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

Preview Lab → · Contrast checker → · Palette generator →

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