#7927AA#7927AA

#7927AA is a mid, vivid violet. Relative luminance 0.084; OKLCH L 46.4% C 0.198 H 309.0°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#7927AA
RGBrgb(121, 39, 170)
HSLhsl(278, 63%, 41%)
HSVhsv(278, 77%, 67%)
CMYKcmyk(28.8%, 77.1%, 0%, 33.3%)
CIE-LABlab(34.84, 56.16, -54.15)
CIE-LCHlch(34.84, 78.02, 316.04°)
OKLaboklab(46.36% 0.1244 -0.1537)
OKLCHoklch(46.36% 0.198 309)
XYZxyz(15.8649, 8.4186, 38.8116)
Luminance0.0842 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7927AA #58AA27
analogous
#3727AA #7927AA #AA2799
triadic
#7927AA #AA7927 #27AA79
tetradic
#7927AA #AA3727 #58AA27 #2799AA
square
#7927AA #AA3727 #58AA27 #2799AA
split-complementary
#7927AA #99AA27 #27AA37
monochromatic
#321046 #561C78 #7927AA #9A3CD2 #B46EDE

Accessibility & contrast

On white

7.83
#7927AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#7927AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7927AA#FFFFFF#000000##FFFFFF
##7927AA1.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAE
Deuteranopia (green-blind)
#0053A7
Tritanopia (blue-blind)
#714768
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7927aa;
/* rgb */ color: rgb(121, 39, 170);
/* oklch */ color: oklch(46.4% 0.198 309.0);
Tailwind
colors: {
  custom: {
    50: '#a56ac4',
    500: '#7927aa',
    950: '#000000',
  },
}
SCSS
$custom: #7927aa;
$custom-light: #a56ac4;
$custom-dark: #000000;
JSON
{
  "hex": "#7927aa",
  "rgb": {
    "r": 121,
    "g": 39,
    "b": 170
  },
  "hsl": {
    "h": 277.557,
    "s": 62.679,
    "l": 40.98
  },
  "oklch": {
    "l": 0.46357,
    "c": 0.19772,
    "h": 309
  },
  "luminance": 0.08418
}

Semantic roles & 50–950 ramp

primary
#7927AA
secondary
#8BC469
accent
#E6427F
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7927AA

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

Preview Lab → · Contrast checker → · Palette generator →

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