#7A3FA2#7A3FA2

#7A3FA2 is a mid, vivid violet. Relative luminance 0.103; OKLCH L 48.7% C 0.159 H 309.2°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#7A3FA2
RGBrgb(122, 63, 162)
HSLhsl(276, 44%, 44%)
HSVhsv(276, 61%, 64%)
CMYKcmyk(24.7%, 61.1%, 0%, 36.5%)
CIE-LABlab(38.38, 43.54, -43.64)
CIE-LCHlch(38.38, 61.65, 314.93°)
OKLaboklab(48.74% 0.1002 -0.123)
OKLCHoklch(48.74% 0.159 309.2)
XYZxyz(16.3239, 10.3015, 35.3039)
Luminance0.1030 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A3FA2 #67A23F
analogous
#493FA2 #7A3FA2 #A23F99
triadic
#7A3FA2 #A27A3F #3FA27A
tetradic
#7A3FA2 #A2493F #67A23F #3F99A2
square
#7A3FA2 #A2493F #67A23F #3F99A2
split-complementary
#7A3FA2 #99A23F #3FA249
monochromatic
#381D4A #592E76 #7A3FA2 #995EC0 #B58AD1

Accessibility & contrast

On white

6.86
#7A3FA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#7A3FA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A3FA2
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A3FA2#FFFFFF#000000##FFFFFF
##7A3FA21.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1658A5
Deuteranopia (green-blind)
#325BA0
Tritanopia (blue-blind)
#74526A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7a3fa2;
/* rgb */ color: rgb(122, 63, 162);
/* oklch */ color: oklch(48.7% 0.159 309.2);
Tailwind
colors: {
  custom: {
    50: '#a377be',
    500: '#7a3fa2',
    950: '#000000',
  },
}
SCSS
$custom: #7a3fa2;
$custom-light: #a377be;
$custom-dark: #000000;
JSON
{
  "hex": "#7a3fa2",
  "rgb": {
    "r": 122,
    "g": 63,
    "b": 162
  },
  "hsl": {
    "h": 275.758,
    "s": 44,
    "l": 44.118
  },
  "oklch": {
    "l": 0.48744,
    "c": 0.15864,
    "h": 309.2
  },
  "luminance": 0.10301
}

Semantic roles & 50–950 ramp

primary
#7A3FA2
secondary
#99BC81
accent
#D45488
background
#FAF7FB
surface
#F4EDF7
border
#CEC8D0
text
#0F0912
muted
#7F7B81

Preview Lab

Preview with #7A3FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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