#7824A0#7824A0

#7824A0 is a mid, vivid purple. Relative luminance 0.078; OKLCH L 45.2% C 0.191 H 311.9°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#7824A0
RGBrgb(120, 36, 160)
HSLhsl(281, 63%, 38%)
HSVhsv(281, 78%, 63%)
CMYKcmyk(25%, 77.5%, 0%, 37.3%)
CIE-LABlab(33.55, 54.94, -50.23)
CIE-LCHlch(33.55, 74.44, 317.56°)
OKLaboklab(45.18% 0.1277 -0.1422)
OKLCHoklch(45.18% 0.191 311.9)
XYZxyz(14.7206, 7.7933, 33.9797)
Luminance0.0779 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7824A0 #4CA024
analogous
#3A24A0 #7824A0 #A0248A
triadic
#7824A0 #A07824 #24A078
tetradic
#7824A0 #A03A24 #4CA024 #248AA0
square
#7824A0 #A03A24 #4CA024 #248AA0
split-complementary
#7824A0 #8AA024 #24A03A
monochromatic
#2D0E3C #53196E #7824A0 #9D31D1 #B563DC

Accessibility & contrast

On white

8.21
#7824A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#7824A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7824A0#FFFFFF#000000##FFFFFF
##7824A01.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA3
Deuteranopia (green-blind)
#0D509D
Tritanopia (blue-blind)
#734161
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7824a0;
/* rgb */ color: rgb(120, 36, 160);
/* oklch */ color: oklch(45.2% 0.191 311.9);
Tailwind
colors: {
  custom: {
    50: '#a368bd',
    500: '#7824a0',
    950: '#000000',
  },
}
SCSS
$custom: #7824a0;
$custom-light: #a368bd;
$custom-dark: #000000;
JSON
{
  "hex": "#7824a0",
  "rgb": {
    "r": 120,
    "g": 36,
    "b": 160
  },
  "hsl": {
    "h": 280.645,
    "s": 63.265,
    "l": 38.431
  },
  "oklch": {
    "l": 0.45181,
    "c": 0.19111,
    "h": 311.9
  },
  "luminance": 0.07793
}

Semantic roles & 50–950 ramp

primary
#7824A0
secondary
#7EC15F
accent
#E64177
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7824A0

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

Preview Lab → · Contrast checker → · Palette generator →

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