#7927AD#7927AD

#7927AD is a mid, highly saturated violet. Relative luminance 0.085; OKLCH L 46.6% C 0.201 H 308.1°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#7927AD
RGBrgb(121, 39, 173)
HSLhsl(277, 63%, 42%)
HSVhsv(277, 77%, 68%)
CMYKcmyk(30.1%, 77.5%, 0%, 32.2%)
CIE-LABlab(35.07, 56.82, -55.57)
CIE-LCHlch(35.07, 79.48, 315.64°)
OKLaboklab(46.59% 0.1237 -0.1579)
OKLCHoklch(46.59% 0.201 308.1)
XYZxyz(16.1519, 8.5334, 40.3233)
Luminance0.0853 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7927AD #5BAD27
analogous
#3627AD #7927AD #AD279E
triadic
#7927AD #AD7927 #27AD79
tetradic
#7927AD #AD3627 #5BAD27 #279EAD
square
#7927AD #AD3627 #5BAD27 #279EAD
split-complementary
#7927AD #9EAD27 #27AD36
monochromatic
#331049 #561C7B #7927AD #993ED3 #B470DF

Accessibility & contrast

On white

7.76
#7927AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#7927AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7927AD#FFFFFF#000000##FFFFFF
##7927AD1.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B1
Deuteranopia (green-blind)
#0053AA
Tritanopia (blue-blind)
#714869
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7927ad;
/* rgb */ color: rgb(121, 39, 173);
/* oklch */ color: oklch(46.6% 0.201 308.1);
Tailwind
colors: {
  custom: {
    50: '#a56bc6',
    500: '#7927ad',
    950: '#000000',
  },
}
SCSS
$custom: #7927ad;
$custom-light: #a56bc6;
$custom-dark: #000000;
JSON
{
  "hex": "#7927ad",
  "rgb": {
    "r": 121,
    "g": 39,
    "b": 173
  },
  "hsl": {
    "h": 276.716,
    "s": 63.208,
    "l": 41.569
  },
  "oklch": {
    "l": 0.46591,
    "c": 0.2006,
    "h": 308.1
  },
  "luminance": 0.08533
}

Semantic roles & 50–950 ramp

primary
#7927AD
secondary
#8EC66A
accent
#E64281
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7927AD

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

Preview Lab → · Contrast checker → · Palette generator →

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