#7A4E91#7A4E91

#7A4E91 is a mid, moderate violet. Relative luminance 0.116; OKLCH L 50.1% C 0.114 H 313.2°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#7A4E91
RGBrgb(122, 78, 145)
HSLhsl(279, 30%, 44%)
HSVhsv(279, 46%, 57%)
CMYKcmyk(15.9%, 46.2%, 0%, 43.1%)
CIE-LABlab(40.62, 31.20, -29.85)
CIE-LCHlch(40.62, 43.18, 316.27°)
OKLaboklab(50.09% 0.0777 -0.0828)
OKLCHoklch(50.09% 0.114 313.2)
XYZxyz(15.8604, 11.6310, 28.1921)
Luminance0.1163 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A4E91 #65914E
analogous
#584E91 #7A4E91 #914E86
triadic
#7A4E91 #917A4E #4E917A
tetradic
#7A4E91 #91584E #65914E #4E8691
square
#7A4E91 #91584E #65914E #4E8691
split-complementary
#7A4E91 #86914E #4E9158
monochromatic
#372341 #593969 #7A4E91 #996CB0 #B494C5

Accessibility & contrast

On white

6.31
#7A4E91 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#7A4E91 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A4E91
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A4E91#FFFFFF#000000##FFFFFF
##7A4E911.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405D93
Deuteranopia (green-blind)
#4C618F
Tritanopia (blue-blind)
#785868
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7a4e91;
/* rgb */ color: rgb(122, 78, 145);
/* oklch */ color: oklch(50.1% 0.114 313.2);
Tailwind
colors: {
  custom: {
    50: '#a281b1',
    500: '#7a4e91',
    950: '#000000',
  },
}
SCSS
$custom: #7a4e91;
$custom-light: #a281b1;
$custom-dark: #000000;
JSON
{
  "hex": "#7a4e91",
  "rgb": {
    "r": 122,
    "g": 78,
    "b": 145
  },
  "hsl": {
    "h": 279.403,
    "s": 30.045,
    "l": 43.725
  },
  "oklch": {
    "l": 0.50091,
    "c": 0.11356,
    "h": 313.2
  },
  "luminance": 0.11631
}

Semantic roles & 50–950 ramp

primary
#7A4E91
secondary
#97B289
accent
#C66284
background
#FAF7FA
surface
#F4EEF5
border
#CEC9CF
text
#0F0A11
muted
#7F7C80

Preview Lab

Preview with #7A4E91

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

Preview Lab → · Contrast checker → · Palette generator →

#7A4E91 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva