#7824A7#7824A7

#7824A7 is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.7% C 0.198 H 309.7°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#7824A7
RGBrgb(120, 36, 167)
HSLhsl(278, 65%, 40%)
HSVhsv(278, 78%, 65%)
CMYKcmyk(28.1%, 78.4%, 0%, 34.5%)
CIE-LABlab(34.08, 56.44, -53.60)
CIE-LCHlch(34.08, 77.83, 316.48°)
OKLaboklab(45.72% 0.1263 -0.1521)
OKLCHoklch(45.72% 0.198 309.7)
XYZxyz(15.3503, 8.0452, 37.2960)
Luminance0.0804 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7824A7 #53A724
analogous
#3624A7 #7824A7 #A72495
triadic
#7824A7 #A77824 #24A778
tetradic
#7824A7 #A73624 #53A724 #2495A7
square
#7824A7 #A73624 #53A724 #2495A7
split-complementary
#7824A7 #95A724 #24A736
monochromatic
#300E42 #541975 #7824A7 #9A35D3 #B467DE

Accessibility & contrast

On white

8.05
#7824A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#7824A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7824A7#FFFFFF#000000##FFFFFF
##7824A71.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAB
Deuteranopia (green-blind)
#0051A4
Tritanopia (blue-blind)
#714565
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7824a7;
/* rgb */ color: rgb(120, 36, 167);
/* oklch */ color: oklch(45.7% 0.198 309.7);
Tailwind
colors: {
  custom: {
    50: '#a469c2',
    500: '#7824a7',
    950: '#000000',
  },
}
SCSS
$custom: #7824a7;
$custom-light: #a469c2;
$custom-dark: #000000;
JSON
{
  "hex": "#7824a7",
  "rgb": {
    "r": 120,
    "g": 36,
    "b": 167
  },
  "hsl": {
    "h": 278.473,
    "s": 64.532,
    "l": 39.804
  },
  "oklch": {
    "l": 0.45718,
    "c": 0.19766,
    "h": 309.7
  },
  "luminance": 0.08045
}

Semantic roles & 50–950 ramp

primary
#7824A7
secondary
#86C463
accent
#E8407C
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7824A7

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

Preview Lab → · Contrast checker → · Palette generator →

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