#7927AE#7927AE

#7927AE is a mid, highly saturated violet. Relative luminance 0.086; OKLCH L 46.7% C 0.202 H 307.8°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#7927AE
RGBrgb(121, 39, 174)
HSLhsl(276, 63%, 42%)
HSVhsv(276, 78%, 68%)
CMYKcmyk(30.5%, 77.6%, 0%, 31.8%)
CIE-LABlab(35.15, 57.04, -56.04)
CIE-LCHlch(35.15, 79.97, 315.50°)
OKLaboklab(46.67% 0.1235 -0.1593)
OKLCHoklch(46.67% 0.202 307.8)
XYZxyz(16.2490, 8.5722, 40.8348)
Luminance0.0857 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7927AE #5CAE27
analogous
#3527AE #7927AE #AE27A0
triadic
#7927AE #AE7927 #27AE79
tetradic
#7927AE #AE3527 #5CAE27 #27A0AE
square
#7927AE #AE3527 #5CAE27 #27A0AE
split-complementary
#7927AE #A0AE27 #27AE35
monochromatic
#33114A #561C7C #7927AE #993ED4 #B470DF

Accessibility & contrast

On white

7.74
#7927AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

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

Contrast matrix

fg \ bg##7927AE#FFFFFF#000000##FFFFFF
##7927AE1.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B2
Deuteranopia (green-blind)
#0053AB
Tritanopia (blue-blind)
#70496A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7927ae;
/* rgb */ color: rgb(121, 39, 174);
/* oklch */ color: oklch(46.7% 0.202 307.8);
Tailwind
colors: {
  custom: {
    50: '#a56bc7',
    500: '#7927ae',
    950: '#000000',
  },
}
SCSS
$custom: #7927ae;
$custom-light: #a56bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#7927ae",
  "rgb": {
    "r": 121,
    "g": 39,
    "b": 174
  },
  "hsl": {
    "h": 276.444,
    "s": 63.38,
    "l": 41.765
  },
  "oklch": {
    "l": 0.46669,
    "c": 0.20155,
    "h": 307.8
  },
  "luminance": 0.08572
}

Semantic roles & 50–950 ramp

primary
#7927AE
secondary
#8FC66B
accent
#E64182
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7927AE

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

Preview Lab → · Contrast checker → · Palette generator →

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