#7A3ECA#7A3ECA

#7A3ECA is a mid, highly saturated violet. Relative luminance 0.118; OKLCH L 51.5% C 0.205 H 298.5°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#7A3ECA
RGBrgb(122, 62, 202)
HSLhsl(266, 57%, 52%)
HSVhsv(266, 69%, 79%)
CMYKcmyk(39.6%, 69.3%, 0%, 20.8%)
CIE-LABlab(40.97, 53.83, -63.03)
CIE-LCHlch(40.97, 82.89, 310.50°)
OKLaboklab(51.49% 0.0977 -0.1799)
OKLCHoklch(51.49% 0.205 298.5)
XYZxyz(20.4066, 11.8468, 57.0772)
Luminance0.1185 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A3ECA #8ECA3E
analogous
#3E48CA #7A3ECA #C03ECA
triadic
#7A3ECA #CA7A3E #3ECA7A
tetradic
#7A3ECA #CA3E48 #8ECA3E #3ECAC0
square
#7A3ECA #CA3E48 #8ECA3E #3ECAC0
split-complementary
#7A3ECA #CAC03E #48CA3E
monochromatic
#411F6F #5D2C9F #7A3ECA #9B6ED7 #BC9EE4

Accessibility & contrast

On white

6.23
#7A3ECA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#7A3ECA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A3ECA
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A3ECA#FFFFFF#000000##FFFFFF
##7A3ECA1.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CE
Deuteranopia (green-blind)
#005FC7
Tritanopia (blue-blind)
#67607F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7a3eca;
/* rgb */ color: rgb(122, 62, 202);
/* oklch */ color: oklch(51.5% 0.205 298.5);
Tailwind
colors: {
  custom: {
    50: '#a778db',
    500: '#7a3eca',
    950: '#000000',
  },
}
SCSS
$custom: #7a3eca;
$custom-light: #a778db;
$custom-dark: #000000;
JSON
{
  "hex": "#7a3eca",
  "rgb": {
    "r": 122,
    "g": 62,
    "b": 202
  },
  "hsl": {
    "h": 265.714,
    "s": 56.911,
    "l": 51.765
  },
  "oklch": {
    "l": 0.51492,
    "c": 0.20474,
    "h": 298.5
  },
  "luminance": 0.11847
}

Semantic roles & 50–950 ramp

primary
#7A3ECA
secondary
#B6D193
accent
#E0489F
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7A3ECA

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

Preview Lab → · Contrast checker → · Palette generator →

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