#7924A8#7924A8

#7924A8 is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.9% C 0.199 H 309.8°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#7924A8
RGBrgb(121, 36, 168)
HSLhsl(279, 65%, 40%)
HSVhsv(279, 79%, 66%)
CMYKcmyk(28%, 78.6%, 0%, 34.1%)
CIE-LABlab(34.30, 56.84, -53.83)
CIE-LCHlch(34.30, 78.28, 316.56°)
OKLaboklab(45.93% 0.1274 -0.1527)
OKLCHoklch(45.93% 0.199 309.8)
XYZxyz(15.5825, 8.1542, 37.7912)
Luminance0.0815 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7924A8 #53A824
analogous
#3724A8 #7924A8 #A82495
triadic
#7924A8 #A87924 #24A879
tetradic
#7924A8 #A83724 #53A824 #2495A8
square
#7924A8 #A83724 #53A824 #2495A8
split-complementary
#7924A8 #95A824 #24A837
monochromatic
#300E43 #551976 #7924A8 #9B35D4 #B468DF

Accessibility & contrast

On white

7.98
#7924A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#7924A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7924A8
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7924A8#FFFFFF#000000##FFFFFF
##7924A81.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAC
Deuteranopia (green-blind)
#0052A5
Tritanopia (blue-blind)
#724566
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7924a8;
/* rgb */ color: rgb(121, 36, 168);
/* oklch */ color: oklch(45.9% 0.199 309.8);
Tailwind
colors: {
  custom: {
    50: '#a569c3',
    500: '#7924a8',
    950: '#000000',
  },
}
SCSS
$custom: #7924a8;
$custom-light: #a569c3;
$custom-dark: #000000;
JSON
{
  "hex": "#7924a8",
  "rgb": {
    "r": 121,
    "g": 36,
    "b": 168
  },
  "hsl": {
    "h": 278.636,
    "s": 64.706,
    "l": 40
  },
  "oklch": {
    "l": 0.45931,
    "c": 0.19889,
    "h": 309.8
  },
  "luminance": 0.08154
}

Semantic roles & 50–950 ramp

primary
#7924A8
secondary
#86C463
accent
#E8407C
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7924A8

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

Preview Lab → · Contrast checker → · Palette generator →

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