#7A3EB8#7A3EB8

#7A3EB8 is a mid, vivid violet. Relative luminance 0.110; OKLCH L 50.1% C 0.185 H 302.8°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#7A3EB8
RGBrgb(122, 62, 184)
HSLhsl(270, 50%, 48%)
HSVhsv(270, 66%, 72%)
CMYKcmyk(33.7%, 66.3%, 0%, 27.8%)
CIE-LABlab(39.65, 49.35, -54.66)
CIE-LCHlch(39.65, 73.64, 312.08°)
OKLaboklab(50.13% 0.1002 -0.1553)
OKLCHoklch(50.13% 0.185 302.8)
XYZxyz(18.3984, 11.0435, 46.5004)
Luminance0.1104 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A3EB8 #7CB83E
analogous
#3E3FB8 #7A3EB8 #B73EB8
triadic
#7A3EB8 #B87A3E #3EB87A
tetradic
#7A3EB8 #B83E3F #7CB83E #3EB8B7
square
#7A3EB8 #B83E3F #7CB83E #3EB8B7
split-complementary
#7A3EB8 #B8B73E #3FB83E
monochromatic
#3D1F5C #5C2F8A #7A3EB8 #9967CC #B895DB

Accessibility & contrast

On white

6.54
#7A3EB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#7A3EB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A3EB8
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A3EB8#FFFFFF#000000##FFFFFF
##7A3EB81.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBC
Deuteranopia (green-blind)
#0C5DB5
Tritanopia (blue-blind)
#6E5976
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7a3eb8;
/* rgb */ color: rgb(122, 62, 184);
/* oklch */ color: oklch(50.1% 0.185 302.8);
Tailwind
colors: {
  custom: {
    50: '#a577ce',
    500: '#7a3eb8',
    950: '#000000',
  },
}
SCSS
$custom: #7a3eb8;
$custom-light: #a577ce;
$custom-dark: #000000;
JSON
{
  "hex": "#7a3eb8",
  "rgb": {
    "r": 122,
    "g": 62,
    "b": 184
  },
  "hsl": {
    "h": 269.508,
    "s": 49.593,
    "l": 48.235
  },
  "oklch": {
    "l": 0.50133,
    "c": 0.18479,
    "h": 302.8
  },
  "luminance": 0.11044
}

Semantic roles & 50–950 ramp

primary
#7A3EB8
secondary
#A9C78B
accent
#D94F95
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #7A3EB8

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

Preview Lab → · Contrast checker → · Palette generator →

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