#7927A4#7927A4

#7927A4 is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.9% C 0.192 H 310.8°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#7927A4
RGBrgb(121, 39, 164)
HSLhsl(279, 62%, 40%)
HSVhsv(279, 76%, 64%)
CMYKcmyk(26.2%, 76.2%, 0%, 35.7%)
CIE-LABlab(34.39, 54.86, -51.28)
CIE-LCHlch(34.39, 75.09, 316.93°)
OKLaboklab(45.9% 0.1256 -0.1453)
OKLCHoklch(45.9% 0.192 310.8)
XYZxyz(15.3102, 8.1967, 35.8904)
Luminance0.0820 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7927A4 #52A427
analogous
#3B27A4 #7927A4 #A42791
triadic
#7927A4 #A47927 #27A479
tetradic
#7927A4 #A43B27 #52A427 #2791A4
square
#7927A4 #A43B27 #52A427 #2791A4
split-complementary
#7927A4 #91A427 #27A43B
monochromatic
#300F41 #551B73 #7927A4 #9C38D0 #B46ADC

Accessibility & contrast

On white

7.96
#7927A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#7927A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7927A4
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7927A4#FFFFFF#000000##FFFFFF
##7927A41.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA7
Deuteranopia (green-blind)
#0A52A1
Tritanopia (blue-blind)
#734564
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7927a4;
/* rgb */ color: rgb(121, 39, 164);
/* oklch */ color: oklch(45.9% 0.192 310.8);
Tailwind
colors: {
  custom: {
    50: '#a46ac0',
    500: '#7927a4',
    950: '#000000',
  },
}
SCSS
$custom: #7927a4;
$custom-light: #a46ac0;
$custom-dark: #000000;
JSON
{
  "hex": "#7927a4",
  "rgb": {
    "r": 121,
    "g": 39,
    "b": 164
  },
  "hsl": {
    "h": 279.36,
    "s": 61.576,
    "l": 39.804
  },
  "oklch": {
    "l": 0.45898,
    "c": 0.192,
    "h": 310.8
  },
  "luminance": 0.08196
}

Semantic roles & 50–950 ramp

primary
#7927A4
secondary
#85C265
accent
#E5437B
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7927A4

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

Preview Lab → · Contrast checker → · Palette generator →

#7927A4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva