#7927A2#7927A2

#7927A2 is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.7% C 0.190 H 311.5°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#7927A2
RGBrgb(121, 39, 162)
HSLhsl(280, 61%, 39%)
HSVhsv(280, 76%, 64%)
CMYKcmyk(25.3%, 75.9%, 0%, 36.5%)
CIE-LABlab(34.24, 54.43, -50.31)
CIE-LCHlch(34.24, 74.12, 317.25°)
OKLaboklab(45.75% 0.1259 -0.1424)
OKLCHoklch(45.75% 0.19 311.5)
XYZxyz(15.1310, 8.1250, 34.9466)
Luminance0.0813 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7927A2 #50A227
analogous
#3C27A2 #7927A2 #A2278E
triadic
#7927A2 #A27927 #27A279
tetradic
#7927A2 #A23C27 #50A227 #278EA2
square
#7927A2 #A23C27 #50A227 #278EA2
split-complementary
#7927A2 #8EA227 #27A23C
monochromatic
#2F0F3F #541B71 #7927A2 #9C37CF #B569DB

Accessibility & contrast

On white

8.00
#7927A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

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

Contrast matrix

fg \ bg##7927A2#FFFFFF#000000##FFFFFF
##7927A21.008.002.638.00
#FFFFFF8.001.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA5
Deuteranopia (green-blind)
#10529F
Tritanopia (blue-blind)
#744463
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7927a2;
/* rgb */ color: rgb(121, 39, 162);
/* oklch */ color: oklch(45.7% 0.190 311.5);
Tailwind
colors: {
  custom: {
    50: '#a46abe',
    500: '#7927a2',
    950: '#000000',
  },
}
SCSS
$custom: #7927a2;
$custom-light: #a46abe;
$custom-dark: #000000;
JSON
{
  "hex": "#7927a2",
  "rgb": {
    "r": 121,
    "g": 39,
    "b": 162
  },
  "hsl": {
    "h": 280,
    "s": 61.194,
    "l": 39.412
  },
  "oklch": {
    "l": 0.45747,
    "c": 0.1901,
    "h": 311.5
  },
  "luminance": 0.08125
}

Semantic roles & 50–950 ramp

primary
#7927A2
secondary
#83C164
accent
#E44379
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7927A2

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

Preview Lab → · Contrast checker → · Palette generator →

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