#7927AC#7927AC

#7927AC is a mid, vivid violet. Relative luminance 0.085; OKLCH L 46.5% C 0.200 H 308.4°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#7927AC
RGBrgb(121, 39, 172)
HSLhsl(277, 63%, 41%)
HSVhsv(277, 77%, 67%)
CMYKcmyk(29.7%, 77.3%, 0%, 32.5%)
CIE-LABlab(34.99, 56.60, -55.10)
CIE-LCHlch(34.99, 78.99, 315.77°)
OKLaboklab(46.51% 0.124 -0.1565)
OKLCHoklch(46.51% 0.2 308.4)
XYZxyz(16.0555, 8.4948, 39.8156)
Luminance0.0849 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7927AC #5AAC27
analogous
#3627AC #7927AC #AC279D
triadic
#7927AC #AC7927 #27AC79
tetradic
#7927AC #AC3627 #5AAC27 #279DAC
square
#7927AC #AC3627 #5AAC27 #279DAC
split-complementary
#7927AC #9DAC27 #27AC36
monochromatic
#331048 #561C7A #7927AC #9A3DD3 #B46FDE

Accessibility & contrast

On white

7.78
#7927AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#7927AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7927AC#FFFFFF#000000##FFFFFF
##7927AC1.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB0
Deuteranopia (green-blind)
#0053A9
Tritanopia (blue-blind)
#714869
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7927ac;
/* rgb */ color: rgb(121, 39, 172);
/* oklch */ color: oklch(46.5% 0.200 308.4);
Tailwind
colors: {
  custom: {
    50: '#a56bc6',
    500: '#7927ac',
    950: '#000000',
  },
}
SCSS
$custom: #7927ac;
$custom-light: #a56bc6;
$custom-dark: #000000;
JSON
{
  "hex": "#7927ac",
  "rgb": {
    "r": 121,
    "g": 39,
    "b": 172
  },
  "hsl": {
    "h": 276.992,
    "s": 63.033,
    "l": 41.373
  },
  "oklch": {
    "l": 0.46512,
    "c": 0.19964,
    "h": 308.4
  },
  "luminance": 0.08495
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7927AC

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

Preview Lab → · Contrast checker → · Palette generator →

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