#7A3EBA#7A3EBA

#7A3EBA is a mid, vivid violet. Relative luminance 0.111; OKLCH L 50.3% C 0.187 H 302.3°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#7A3EBA
RGBrgb(122, 62, 186)
HSLhsl(269, 50%, 49%)
HSVhsv(269, 67%, 73%)
CMYKcmyk(34.4%, 66.7%, 0%, 27.1%)
CIE-LABlab(39.80, 49.84, -55.61)
CIE-LCHlch(39.80, 74.67, 311.87°)
OKLaboklab(50.28% 0.0999 -0.1581)
OKLCHoklch(50.28% 0.187 302.3)
XYZxyz(18.6095, 11.1280, 47.6124)
Luminance0.1113 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A3EBA #7EBA3E
analogous
#3E40BA #7A3EBA #B83EBA
triadic
#7A3EBA #BA7A3E #3EBA7A
tetradic
#7A3EBA #BA3E40 #7EBA3E #3EBAB8
square
#7A3EBA #BA3E40 #7EBA3E #3EBAB8
split-complementary
#7A3EBA #BAB83E #40BA3E
monochromatic
#3E1F5E #5C2F8C #7A3EBA #9968CD #B896DC

Accessibility & contrast

On white

6.51
#7A3EBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#7A3EBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A3EBA
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A3EBA#FFFFFF#000000##FFFFFF
##7A3EBA1.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBE
Deuteranopia (green-blind)
#035DB7
Tritanopia (blue-blind)
#6D5A77
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7a3eba;
/* rgb */ color: rgb(122, 62, 186);
/* oklch */ color: oklch(50.3% 0.187 302.3);
Tailwind
colors: {
  custom: {
    50: '#a577cf',
    500: '#7a3eba',
    950: '#000000',
  },
}
SCSS
$custom: #7a3eba;
$custom-light: #a577cf;
$custom-dark: #000000;
JSON
{
  "hex": "#7a3eba",
  "rgb": {
    "r": 122,
    "g": 62,
    "b": 186
  },
  "hsl": {
    "h": 269.032,
    "s": 50,
    "l": 48.627
  },
  "oklch": {
    "l": 0.5028,
    "c": 0.18702,
    "h": 302.3
  },
  "luminance": 0.11128
}

Semantic roles & 50–950 ramp

primary
#7A3EBA
secondary
#ABC88C
accent
#DA4E96
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #7A3EBA

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

Preview Lab → · Contrast checker → · Palette generator →

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