#7927C5#7927C5

#7927C5 is a mid, highly saturated violet. Relative luminance 0.095; OKLCH L 48.6% C 0.224 H 301.7°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#7927C5
RGBrgb(121, 39, 197)
HSLhsl(271, 67%, 46%)
HSVhsv(271, 80%, 77%)
CMYKcmyk(38.6%, 80.2%, 0%, 22.7%)
CIE-LABlab(37.02, 62.21, -66.58)
CIE-LCHlch(37.02, 91.12, 313.06°)
OKLaboklab(48.56% 0.1175 -0.1902)
OKLCHoklch(48.56% 0.224 301.7)
XYZxyz(18.6863, 9.5471, 53.6708)
Luminance0.0955 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7927C5 #73C527
analogous
#2A27C5 #7927C5 #C527C2
triadic
#7927C5 #C57927 #27C579
tetradic
#7927C5 #C52A27 #73C527 #27C2C5
square
#7927C5 #C52A27 #73C527 #27C2C5
split-complementary
#7927C5 #C2C527 #27C52A
monochromatic
#3A135F #5A1D92 #7927C5 #974DDC #B580E6

Accessibility & contrast

On white

7.22
#7927C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#7927C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7927C5
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7927C5#FFFFFF#000000##FFFFFF
##7927C51.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C9
Deuteranopia (green-blind)
#0056C2
Tritanopia (blue-blind)
#685377
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #7927c5;
/* rgb */ color: rgb(121, 39, 197);
/* oklch */ color: oklch(48.6% 0.224 301.7);
Tailwind
colors: {
  custom: {
    50: '#a76cd8',
    500: '#7927c5',
    950: '#000000',
  },
}
SCSS
$custom: #7927c5;
$custom-light: #a76cd8;
$custom-dark: #000000;
JSON
{
  "hex": "#7927c5",
  "rgb": {
    "r": 121,
    "g": 39,
    "b": 197
  },
  "hsl": {
    "h": 271.139,
    "s": 66.949,
    "l": 46.275
  },
  "oklch": {
    "l": 0.48555,
    "c": 0.22359,
    "h": 301.7
  },
  "luminance": 0.09547
}

Semantic roles & 50–950 ramp

primary
#7927C5
secondary
#A2CF79
accent
#EA3E91
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100715
muted
#7F7A83

Preview Lab

Preview with #7927C5

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

Preview Lab → · Contrast checker → · Palette generator →

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