#7824A8#7824A8

#7824A8 is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.8% C 0.199 H 309.4°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#7824A8
RGBrgb(120, 36, 168)
HSLhsl(278, 65%, 40%)
HSVhsv(278, 79%, 66%)
CMYKcmyk(28.6%, 78.6%, 0%, 34.1%)
CIE-LABlab(34.15, 56.66, -54.07)
CIE-LCHlch(34.15, 78.32, 316.34°)
OKLaboklab(45.8% 0.126 -0.1535)
OKLCHoklch(45.8% 0.199 309.4)
XYZxyz(15.4431, 8.0823, 37.7847)
Luminance0.0808 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7824A8 #54A824
analogous
#3624A8 #7824A8 #A82496
triadic
#7824A8 #A87824 #24A878
tetradic
#7824A8 #A83624 #54A824 #2496A8
square
#7824A8 #A83624 #54A824 #2496A8
split-complementary
#7824A8 #96A824 #24A836
monochromatic
#300E43 #541976 #7824A8 #9A35D4 #B368DF

Accessibility & contrast

On white

8.03
#7824A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#7824A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7824A8#FFFFFF#000000##FFFFFF
##7824A81.008.032.628.03
#FFFFFF8.031.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAC
Deuteranopia (green-blind)
#0051A5
Tritanopia (blue-blind)
#714566
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7824a8;
/* rgb */ color: rgb(120, 36, 168);
/* oklch */ color: oklch(45.8% 0.199 309.4);
Tailwind
colors: {
  custom: {
    50: '#a469c3',
    500: '#7824a8',
    950: '#000000',
  },
}
SCSS
$custom: #7824a8;
$custom-light: #a469c3;
$custom-dark: #000000;
JSON
{
  "hex": "#7824a8",
  "rgb": {
    "r": 120,
    "g": 36,
    "b": 168
  },
  "hsl": {
    "h": 278.182,
    "s": 64.706,
    "l": 40
  },
  "oklch": {
    "l": 0.45796,
    "c": 0.1986,
    "h": 309.4
  },
  "luminance": 0.08082
}

Semantic roles & 50–950 ramp

primary
#7824A8
secondary
#87C463
accent
#E8407D
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7824A8

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

Preview Lab → · Contrast checker → · Palette generator →

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