#7A4697#7A4697

#7A4697 is a mid, vivid violet. Relative luminance 0.108; OKLCH L 49.1% C 0.135 H 312.1°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#7A4697
RGBrgb(122, 70, 151)
HSLhsl(279, 37%, 43%)
HSVhsv(279, 54%, 59%)
CMYKcmyk(19.2%, 53.6%, 0%, 40.8%)
CIE-LABlab(39.16, 37.17, -35.78)
CIE-LCHlch(39.16, 51.59, 316.09°)
OKLaboklab(49.11% 0.0903 -0.1)
OKLCHoklch(49.11% 0.135 312.1)
XYZxyz(15.8011, 10.7526, 30.5152)
Luminance0.1075 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A4697 #639746
analogous
#514697 #7A4697 #97468B
triadic
#7A4697 #977A46 #46977A
tetradic
#7A4697 #975146 #639746 #468B97
square
#7A4697 #975146 #639746 #468B97
split-complementary
#7A4697 #8B9746 #469751
monochromatic
#361F43 #58336D #7A4697 #9963B7 #B48DCA

Accessibility & contrast

On white

6.67
#7A4697 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#7A4697 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A4697
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A4697#FFFFFF#000000##FFFFFF
##7A46971.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315A9A
Deuteranopia (green-blind)
#415D95
Tritanopia (blue-blind)
#775368
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7a4697;
/* rgb */ color: rgb(122, 70, 151);
/* oklch */ color: oklch(49.1% 0.135 312.1);
Tailwind
colors: {
  custom: {
    50: '#a27bb6',
    500: '#7a4697',
    950: '#000000',
  },
}
SCSS
$custom: #7a4697;
$custom-light: #a27bb6;
$custom-dark: #000000;
JSON
{
  "hex": "#7a4697",
  "rgb": {
    "r": 122,
    "g": 70,
    "b": 151
  },
  "hsl": {
    "h": 278.519,
    "s": 36.652,
    "l": 43.333
  },
  "oklch": {
    "l": 0.49108,
    "c": 0.13472,
    "h": 312.1
  },
  "luminance": 0.10752
}

Semantic roles & 50–950 ramp

primary
#7A4697
secondary
#95B683
accent
#CD5B84
background
#FAF7FB
surface
#F4EEF6
border
#CEC9D0
text
#0F0911
muted
#7F7B80

Preview Lab

Preview with #7A4697

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

Preview Lab → · Contrast checker → · Palette generator →

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