#7A3EC0#7A3EC0

#7A3EC0 is a mid, vivid violet. Relative luminance 0.114; OKLCH L 50.7% C 0.194 H 300.8°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#7A3EC0
RGBrgb(122, 62, 192)
HSLhsl(268, 51%, 50%)
HSVhsv(268, 68%, 75%)
CMYKcmyk(36.5%, 67.7%, 0%, 24.7%)
CIE-LABlab(40.23, 51.33, -58.42)
CIE-LCHlch(40.23, 77.77, 311.30°)
OKLaboklab(50.73% 0.0992 -0.1664)
OKLCHoklch(50.73% 0.194 300.8)
XYZxyz(19.2608, 11.3885, 51.0424)
Luminance0.1139 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A3EC0 #84C03E
analogous
#3E43C0 #7A3EC0 #BB3EC0
triadic
#7A3EC0 #C07A3E #3EC07A
tetradic
#7A3EC0 #C03E43 #84C03E #3EC0BB
square
#7A3EC0 #C03E43 #84C03E #3EC0BB
split-complementary
#7A3EC0 #C0BB3E #43C03E
monochromatic
#3F2063 #5D2F92 #7A3EC0 #9A6CCF #BA9ADE

Accessibility & contrast

On white

6.41
#7A3EC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#7A3EC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A3EC0
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A3EC0#FFFFFF#000000##FFFFFF
##7A3EC01.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC4
Deuteranopia (green-blind)
#005EBD
Tritanopia (blue-blind)
#6B5C7A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7a3ec0;
/* rgb */ color: rgb(122, 62, 192);
/* oklch */ color: oklch(50.7% 0.194 300.8);
Tailwind
colors: {
  custom: {
    50: '#a677d4',
    500: '#7a3ec0',
    950: '#000000',
  },
}
SCSS
$custom: #7a3ec0;
$custom-light: #a677d4;
$custom-dark: #000000;
JSON
{
  "hex": "#7a3ec0",
  "rgb": {
    "r": 122,
    "g": 62,
    "b": 192
  },
  "hsl": {
    "h": 267.692,
    "s": 51.181,
    "l": 49.804
  },
  "oklch": {
    "l": 0.50726,
    "c": 0.19369,
    "h": 300.8
  },
  "luminance": 0.11389
}

Semantic roles & 50–950 ramp

primary
#7A3EC0
secondary
#AFCA8F
accent
#DB4D99
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7A3EC0

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

Preview Lab → · Contrast checker → · Palette generator →

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