#7932A2#7932A2

#7932A2 is a mid, vivid violet. Relative luminance 0.090; OKLCH L 46.9% C 0.177 H 310.4°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#7932A2
RGBrgb(121, 50, 162)
HSLhsl(278, 53%, 42%)
HSVhsv(278, 69%, 64%)
CMYKcmyk(25.3%, 69.1%, 0%, 36.5%)
CIE-LABlab(35.90, 49.74, -47.64)
CIE-LCHlch(35.90, 68.87, 316.24°)
OKLaboklab(46.93% 0.1146 -0.1346)
OKLCHoklch(46.93% 0.177 310.4)
XYZxyz(15.5461, 8.9551, 35.0850)
Luminance0.0896 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7932A2 #5BA232
analogous
#4132A2 #7932A2 #A23293
triadic
#7932A2 #A27932 #32A279
tetradic
#7932A2 #A24132 #5BA232 #3293A2
square
#7932A2 #A24132 #5BA232 #3293A2
split-complementary
#7932A2 #93A232 #32A241
monochromatic
#331544 #562473 #7932A2 #994AC7 #B479D6

Accessibility & contrast

On white

7.52
#7932A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#7932A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7932A2
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7932A2#FFFFFF#000000##FFFFFF
##7932A21.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A5
Deuteranopia (green-blind)
#2156A0
Tritanopia (blue-blind)
#734A66
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7932a2;
/* rgb */ color: rgb(121, 50, 162);
/* oklch */ color: oklch(46.9% 0.177 310.4);
Tailwind
colors: {
  custom: {
    50: '#a370be',
    500: '#7932a2',
    950: '#000000',
  },
}
SCSS
$custom: #7932a2;
$custom-light: #a370be;
$custom-dark: #000000;
JSON
{
  "hex": "#7932a2",
  "rgb": {
    "r": 121,
    "g": 50,
    "b": 162
  },
  "hsl": {
    "h": 278.036,
    "s": 52.83,
    "l": 41.569
  },
  "oklch": {
    "l": 0.46925,
    "c": 0.1768,
    "h": 310.4
  },
  "luminance": 0.08955
}

Semantic roles & 50–950 ramp

primary
#7932A2
secondary
#8EBE72
accent
#DC4C81
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#100812
muted
#7F7B81

Preview Lab

Preview with #7932A2

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

Preview Lab → · Contrast checker → · Palette generator →

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