#7932D6#7932D6

#7932D6 is a mid, highly saturated violet. Relative luminance 0.112; OKLCH L 51.0% C 0.230 H 296.9°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#7932D6
RGBrgb(121, 50, 214)
HSLhsl(266, 67%, 52%)
HSVhsv(266, 77%, 84%)
CMYKcmyk(43.5%, 76.6%, 0%, 16.1%)
CIE-LABlab(39.92, 62.02, -71.69)
CIE-LCHlch(39.92, 94.80, 310.86°)
OKLaboklab(51.02% 0.1044 -0.2053)
OKLCHoklch(51.02% 0.23 296.9)
XYZxyz(21.1602, 11.2008, 64.6524)
Luminance0.1120 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7932D6 #8FD632
analogous
#323DD6 #7932D6 #CB32D6
triadic
#7932D6 #D67932 #32D679
tetradic
#7932D6 #D6323D #8FD632 #32D6CB
square
#7932D6 #D6323D #8FD632 #32D6CB
split-complementary
#7932D6 #D6CB32 #3DD632
monochromatic
#401876 #5C22A9 #7932D6 #9A65E0 #BC98EA

Accessibility & contrast

On white

6.48
#7932D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#7932D6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7932D6
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7932D6#FFFFFF#000000##FFFFFF
##7932D61.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FDB
Deuteranopia (green-blind)
#005CD3
Tritanopia (blue-blind)
#605F83
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7932d6;
/* rgb */ color: rgb(121, 50, 214);
/* oklch */ color: oklch(51.0% 0.230 296.9);
Tailwind
colors: {
  custom: {
    50: '#a872e4',
    500: '#7932d6',
    950: '#000000',
  },
}
SCSS
$custom: #7932d6;
$custom-light: #a872e4;
$custom-dark: #000000;
JSON
{
  "hex": "#7932d6",
  "rgb": {
    "r": 121,
    "g": 50,
    "b": 214
  },
  "hsl": {
    "h": 265.976,
    "s": 66.667,
    "l": 51.765
  },
  "oklch": {
    "l": 0.5102,
    "c": 0.23032,
    "h": 296.9
  },
  "luminance": 0.11201
}

Semantic roles & 50–950 ramp

primary
#7932D6
secondary
#B7D68E
accent
#EA3E9F
background
#FBF7FE
surface
#F6EDFC
border
#D0C8D5
text
#110816
muted
#807B84

Preview Lab

Preview with #7932D6

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

Preview Lab → · Contrast checker → · Palette generator →

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