#7A3EB3#7A3EB3

#7A3EB3 is a mid, vivid violet. Relative luminance 0.108; OKLCH L 49.8% C 0.179 H 304.2°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#7A3EB3
RGBrgb(122, 62, 179)
HSLhsl(271, 49%, 47%)
HSVhsv(271, 65%, 70%)
CMYKcmyk(31.8%, 65.4%, 0%, 29.8%)
CIE-LABlab(39.31, 48.12, -52.27)
CIE-LCHlch(39.31, 71.05, 312.63°)
OKLaboklab(49.77% 0.1006 -0.1483)
OKLCHoklch(49.77% 0.179 304.2)
XYZxyz(17.8835, 10.8376, 43.7888)
Luminance0.1084 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A3EB3 #77B33E
analogous
#3F3EB3 #7A3EB3 #B33EB2
triadic
#7A3EB3 #B37A3E #3EB37A
tetradic
#7A3EB3 #B33F3E #77B33E #3EB2B3
square
#7A3EB3 #B33F3E #77B33E #3EB2B3
split-complementary
#7A3EB3 #B2B33E #3EB33F
monochromatic
#3C1F58 #5B2E86 #7A3EB3 #9865CA #B792D9

Accessibility & contrast

On white

6.63
#7A3EB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#7A3EB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A3EB3
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A3EB3#FFFFFF#000000##FFFFFF
##7A3EB31.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB7
Deuteranopia (green-blind)
#1A5DB0
Tritanopia (blue-blind)
#6F5773
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7a3eb3;
/* rgb */ color: rgb(122, 62, 179);
/* oklch */ color: oklch(49.8% 0.179 304.2);
Tailwind
colors: {
  custom: {
    50: '#a577ca',
    500: '#7a3eb3',
    950: '#000000',
  },
}
SCSS
$custom: #7a3eb3;
$custom-light: #a577ca;
$custom-dark: #000000;
JSON
{
  "hex": "#7a3eb3",
  "rgb": {
    "r": 122,
    "g": 62,
    "b": 179
  },
  "hsl": {
    "h": 270.769,
    "s": 48.548,
    "l": 47.255
  },
  "oklch": {
    "l": 0.49772,
    "c": 0.1792,
    "h": 304.2
  },
  "luminance": 0.10837
}

Semantic roles & 50–950 ramp

primary
#7A3EB3
secondary
#A6C588
accent
#D85092
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #7A3EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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