#7A3E99#7A3E99

#7A3E99 is a mid, vivid violet. Relative luminance 0.099; OKLCH L 48.0% C 0.150 H 312.5°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#7A3E99
RGBrgb(122, 62, 153)
HSLhsl(280, 42%, 42%)
HSVhsv(280, 59%, 60%)
CMYKcmyk(20.3%, 59.5%, 0%, 40%)
CIE-LABlab(37.63, 41.98, -39.42)
CIE-LCHlch(37.63, 57.59, 316.81°)
OKLaboklab(48.02% 0.1015 -0.1106)
OKLCHoklch(48.02% 0.15 312.5)
XYZxyz(15.4974, 9.8831, 31.2221)
Luminance0.0988 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A3E99 #5D993E
analogous
#4C3E99 #7A3E99 #993E8B
triadic
#7A3E99 #997A3E #3E997A
tetradic
#7A3E99 #994C3E #5D993E #3E8B99
square
#7A3E99 #994C3E #5D993E #3E8B99
split-complementary
#7A3E99 #8B993E #3E994C
monochromatic
#351B42 #572C6D #7A3E99 #9A59BC #B484CD

Accessibility & contrast

On white

7.06
#7A3E99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#7A3E99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A3E99
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A3E99#FFFFFF#000000##FFFFFF
##7A3E991.007.062.987.06
#FFFFFF7.061.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21559C
Deuteranopia (green-blind)
#395A97
Tritanopia (blue-blind)
#774E65
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7a3e99;
/* rgb */ color: rgb(122, 62, 153);
/* oklch */ color: oklch(48.0% 0.150 312.5);
Tailwind
colors: {
  custom: {
    50: '#a376b7',
    500: '#7a3e99',
    950: '#000000',
  },
}
SCSS
$custom: #7a3e99;
$custom-light: #a376b7;
$custom-dark: #000000;
JSON
{
  "hex": "#7a3e99",
  "rgb": {
    "r": 122,
    "g": 62,
    "b": 153
  },
  "hsl": {
    "h": 279.56,
    "s": 42.326,
    "l": 42.157
  },
  "oklch": {
    "l": 0.48023,
    "c": 0.15008,
    "h": 312.5
  },
  "luminance": 0.09883
}

Semantic roles & 50–950 ramp

primary
#7A3E99
secondary
#90B87B
accent
#D25680
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#0F0911
muted
#7F7B80

Preview Lab

Preview with #7A3E99

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

Preview Lab → · Contrast checker → · Palette generator →

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