#7927A1#7927A1

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

Color values

HEX#7927A1
RGBrgb(121, 39, 161)
HSLhsl(280, 61%, 39%)
HSVhsv(280, 76%, 63%)
CMYKcmyk(24.8%, 75.8%, 0%, 36.9%)
CIE-LABlab(34.17, 54.21, -49.82)
CIE-LCHlch(34.17, 73.63, 317.41°)
OKLaboklab(45.67% 0.1261 -0.141)
OKLCHoklch(45.67% 0.189 311.8)
XYZxyz(15.0425, 8.0896, 34.4803)
Luminance0.0809 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7927A1 #4FA127
analogous
#3C27A1 #7927A1 #A1278C
triadic
#7927A1 #A17927 #27A179
tetradic
#7927A1 #A13C27 #4FA127 #278CA1
square
#7927A1 #A13C27 #4FA127 #278CA1
split-complementary
#7927A1 #8CA127 #27A13C
monochromatic
#2F0F3E #541B70 #7927A1 #9D37CE #B568DA

Accessibility & contrast

On white

8.02
#7927A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#7927A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7927A1
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7927A1#FFFFFF#000000##FFFFFF
##7927A11.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA4
Deuteranopia (green-blind)
#13529E
Tritanopia (blue-blind)
#744362
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7927a1;
/* rgb */ color: rgb(121, 39, 161);
/* oklch */ color: oklch(45.7% 0.189 311.8);
Tailwind
colors: {
  custom: {
    50: '#a46abe',
    500: '#7927a1',
    950: '#000000',
  },
}
SCSS
$custom: #7927a1;
$custom-light: #a46abe;
$custom-dark: #000000;
JSON
{
  "hex": "#7927a1",
  "rgb": {
    "r": 121,
    "g": 39,
    "b": 161
  },
  "hsl": {
    "h": 280.328,
    "s": 61,
    "l": 39.216
  },
  "oklch": {
    "l": 0.45673,
    "c": 0.18914,
    "h": 311.8
  },
  "luminance": 0.08089
}

Semantic roles & 50–950 ramp

primary
#7927A1
secondary
#82C063
accent
#E44478
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7927A1

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

Preview Lab → · Contrast checker → · Palette generator →

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