#7A3ACA#7A3ACA

#7A3ACA is a mid, highly saturated violet. Relative luminance 0.114; OKLCH L 51.0% C 0.209 H 299.0°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#7A3ACA
RGBrgb(122, 58, 202)
HSLhsl(267, 58%, 51%)
HSVhsv(267, 71%, 79%)
CMYKcmyk(39.6%, 71.3%, 0%, 20.8%)
CIE-LABlab(40.29, 55.73, -64.14)
CIE-LCHlch(40.29, 84.97, 310.99°)
OKLaboklab(51.01% 0.1016 -0.1832)
OKLCHoklch(51.01% 0.209 299)
XYZxyz(20.1971, 11.4277, 57.0073)
Luminance0.1143 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A3ACA #8ACA3A
analogous
#3A42CA #7A3ACA #C23ACA
triadic
#7A3ACA #CA7A3A #3ACA7A
tetradic
#7A3ACA #CA3A42 #8ACA3A #3ACAC2
square
#7A3ACA #CA3A42 #8ACA3A #3ACAC2
split-complementary
#7A3ACA #CAC23A #42CA3A
monochromatic
#401D6C #5D2A9D #7A3ACA #9B6AD7 #BB9AE4

Accessibility & contrast

On white

6.39
#7A3ACA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#7A3ACA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A3ACA
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A3ACA#FFFFFF#000000##FFFFFF
##7A3ACA1.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCE
Deuteranopia (green-blind)
#005EC7
Tritanopia (blue-blind)
#675E7E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7a3aca;
/* rgb */ color: rgb(122, 58, 202);
/* oklch */ color: oklch(51.0% 0.209 299.0);
Tailwind
colors: {
  custom: {
    50: '#a776db',
    500: '#7a3aca',
    950: '#000000',
  },
}
SCSS
$custom: #7a3aca;
$custom-light: #a776db;
$custom-dark: #000000;
JSON
{
  "hex": "#7a3aca",
  "rgb": {
    "r": 122,
    "g": 58,
    "b": 202
  },
  "hsl": {
    "h": 266.667,
    "s": 57.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.51008,
    "c": 0.20947,
    "h": 299
  },
  "luminance": 0.11428
}

Semantic roles & 50–950 ramp

primary
#7A3ACA
secondary
#B3D090
accent
#E1479C
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7A3ACA

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

Preview Lab → · Contrast checker → · Palette generator →

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