#7824A2#7824A2

#7824A2 is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.3% C 0.193 H 311.3°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#7824A2
RGBrgb(120, 36, 162)
HSLhsl(280, 64%, 39%)
HSVhsv(280, 78%, 64%)
CMYKcmyk(25.9%, 77.8%, 0%, 36.5%)
CIE-LABlab(33.70, 55.37, -51.20)
CIE-LCHlch(33.70, 75.41, 317.24°)
OKLaboklab(45.33% 0.1273 -0.1451)
OKLCHoklch(45.33% 0.193 311.3)
XYZxyz(14.8970, 7.8638, 34.9085)
Luminance0.0786 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7824A2 #4EA224
analogous
#3924A2 #7824A2 #A2248D
triadic
#7824A2 #A27824 #24A278
tetradic
#7824A2 #A23924 #4EA224 #248DA2
square
#7824A2 #A23924 #4EA224 #248DA2
split-complementary
#7824A2 #8DA224 #24A239
monochromatic
#2E0E3E #531970 #7824A2 #9C32D1 #B464DD

Accessibility & contrast

On white

8.16
#7824A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#7824A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7824A2#FFFFFF#000000##FFFFFF
##7824A21.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA5
Deuteranopia (green-blind)
#06519F
Tritanopia (blue-blind)
#734262
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7824a2;
/* rgb */ color: rgb(120, 36, 162);
/* oklch */ color: oklch(45.3% 0.193 311.3);
Tailwind
colors: {
  custom: {
    50: '#a469be',
    500: '#7824a2',
    950: '#000000',
  },
}
SCSS
$custom: #7824a2;
$custom-light: #a469be;
$custom-dark: #000000;
JSON
{
  "hex": "#7824a2",
  "rgb": {
    "r": 120,
    "g": 36,
    "b": 162
  },
  "hsl": {
    "h": 280,
    "s": 63.636,
    "l": 38.824
  },
  "oklch": {
    "l": 0.45333,
    "c": 0.19298,
    "h": 311.3
  },
  "luminance": 0.07863
}

Semantic roles & 50–950 ramp

primary
#7824A2
secondary
#81C260
accent
#E74178
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7824A2

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

Preview Lab → · Contrast checker → · Palette generator →

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