#7927AB#7927AB

#7927AB is a mid, vivid violet. Relative luminance 0.085; OKLCH L 46.4% C 0.199 H 308.7°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#7927AB
RGBrgb(121, 39, 171)
HSLhsl(277, 63%, 41%)
HSVhsv(277, 77%, 67%)
CMYKcmyk(29.2%, 77.2%, 0%, 32.9%)
CIE-LABlab(34.92, 56.38, -54.63)
CIE-LCHlch(34.92, 78.50, 315.90°)
OKLaboklab(46.43% 0.1242 -0.1551)
OKLCHoklch(46.43% 0.199 308.7)
XYZxyz(15.9598, 8.4565, 39.3117)
Luminance0.0846 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7927AB #59AB27
analogous
#3727AB #7927AB #AB279B
triadic
#7927AB #AB7927 #27AB79
tetradic
#7927AB #AB3727 #59AB27 #279BAB
square
#7927AB #AB3727 #59AB27 #279BAB
split-complementary
#7927AB #9BAB27 #27AB37
monochromatic
#321047 #561C79 #7927AB #9A3DD3 #B46EDE

Accessibility & contrast

On white

7.80
#7927AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#7927AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7927AB
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7927AB#FFFFFF#000000##FFFFFF
##7927AB1.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAF
Deuteranopia (green-blind)
#0053A8
Tritanopia (blue-blind)
#714868
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7927ab;
/* rgb */ color: rgb(121, 39, 171);
/* oklch */ color: oklch(46.4% 0.199 308.7);
Tailwind
colors: {
  custom: {
    50: '#a56ac5',
    500: '#7927ab',
    950: '#000000',
  },
}
SCSS
$custom: #7927ab;
$custom-light: #a56ac5;
$custom-dark: #000000;
JSON
{
  "hex": "#7927ab",
  "rgb": {
    "r": 121,
    "g": 39,
    "b": 171
  },
  "hsl": {
    "h": 277.273,
    "s": 62.857,
    "l": 41.176
  },
  "oklch": {
    "l": 0.46435,
    "c": 0.19868,
    "h": 308.7
  },
  "luminance": 0.08456
}

Semantic roles & 50–950 ramp

primary
#7927AB
secondary
#8CC569
accent
#E64280
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7927AB

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

Preview Lab → · Contrast checker → · Palette generator →

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