#7927A3#7927A3

#7927A3 is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.8% C 0.191 H 311.2°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#7927A3
RGBrgb(121, 39, 163)
HSLhsl(280, 61%, 40%)
HSVhsv(280, 76%, 64%)
CMYKcmyk(25.8%, 76.1%, 0%, 36.1%)
CIE-LABlab(34.32, 54.64, -50.79)
CIE-LCHlch(34.32, 74.60, 317.09°)
OKLaboklab(45.82% 0.1257 -0.1438)
OKLCHoklch(45.82% 0.191 311.2)
XYZxyz(15.2203, 8.1607, 35.4166)
Luminance0.0816 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7927A3 #51A327
analogous
#3B27A3 #7927A3 #A3278F
triadic
#7927A3 #A37927 #27A379
tetradic
#7927A3 #A33B27 #51A327 #278FA3
square
#7927A3 #A33B27 #51A327 #278FA3
split-complementary
#7927A3 #8FA327 #27A33B
monochromatic
#300F40 #541B72 #7927A3 #9C38CF #B569DB

Accessibility & contrast

On white

7.98
#7927A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#7927A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7927A3#FFFFFF#000000##FFFFFF
##7927A31.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA6
Deuteranopia (green-blind)
#0D52A0
Tritanopia (blue-blind)
#734464
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7927a3;
/* rgb */ color: rgb(121, 39, 163);
/* oklch */ color: oklch(45.8% 0.191 311.2);
Tailwind
colors: {
  custom: {
    50: '#a46abf',
    500: '#7927a3',
    950: '#000000',
  },
}
SCSS
$custom: #7927a3;
$custom-light: #a46abf;
$custom-dark: #000000;
JSON
{
  "hex": "#7927a3",
  "rgb": {
    "r": 121,
    "g": 39,
    "b": 163
  },
  "hsl": {
    "h": 279.677,
    "s": 61.386,
    "l": 39.608
  },
  "oklch": {
    "l": 0.45822,
    "c": 0.19104,
    "h": 311.2
  },
  "luminance": 0.0816
}

Semantic roles & 50–950 ramp

primary
#7927A3
secondary
#84C164
accent
#E4437A
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7927A3

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

Preview Lab → · Contrast checker → · Palette generator →

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