#7A3AC5#7A3AC5

#7A3AC5 is a mid, highly saturated violet. Relative luminance 0.112; OKLCH L 50.6% C 0.204 H 300.2°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#7A3AC5
RGBrgb(122, 58, 197)
HSLhsl(268, 55%, 50%)
HSVhsv(268, 71%, 77%)
CMYKcmyk(38.1%, 70.6%, 0%, 22.7%)
CIE-LABlab(39.91, 54.50, -61.86)
CIE-LCHlch(39.91, 82.44, 311.38°)
OKLaboklab(50.61% 0.1025 -0.1764)
OKLCHoklch(50.61% 0.204 300.2)
XYZxyz(19.6146, 11.1947, 53.9399)
Luminance0.1119 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A3AC5 #85C53A
analogous
#3A3FC5 #7A3AC5 #C03AC5
triadic
#7A3AC5 #C57A3A #3AC57A
tetradic
#7A3AC5 #C53A3F #85C53A #3AC5C0
square
#7A3AC5 #C53A3F #85C53A #3AC5C0
split-complementary
#7A3AC5 #C5C03A #3FC53A
monochromatic
#3F1E66 #5D2C96 #7A3AC5 #9A69D3 #BA99E1

Accessibility & contrast

On white

6.48
#7A3AC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#7A3AC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A3AC5
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A3AC5#FFFFFF#000000##FFFFFF
##7A3AC51.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC9
Deuteranopia (green-blind)
#005DC2
Tritanopia (blue-blind)
#695C7C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7a3ac5;
/* rgb */ color: rgb(122, 58, 197);
/* oklch */ color: oklch(50.6% 0.204 300.2);
Tailwind
colors: {
  custom: {
    50: '#a675d7',
    500: '#7a3ac5',
    950: '#000000',
  },
}
SCSS
$custom: #7a3ac5;
$custom-light: #a675d7;
$custom-dark: #000000;
JSON
{
  "hex": "#7a3ac5",
  "rgb": {
    "r": 122,
    "g": 58,
    "b": 197
  },
  "hsl": {
    "h": 267.626,
    "s": 54.51,
    "l": 50
  },
  "oklch": {
    "l": 0.50614,
    "c": 0.20408,
    "h": 300.2
  },
  "luminance": 0.11195
}

Semantic roles & 50–950 ramp

primary
#7A3AC5
secondary
#B0CD8E
accent
#DE4A9A
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7A3AC5

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

Preview Lab → · Contrast checker → · Palette generator →

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