#7A3EBE#7A3EBE

#7A3EBE is a mid, vivid violet. Relative luminance 0.113; OKLCH L 50.6% C 0.191 H 301.3°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#7A3EBE
RGBrgb(122, 62, 190)
HSLhsl(268, 51%, 49%)
HSVhsv(268, 67%, 75%)
CMYKcmyk(35.8%, 67.4%, 0%, 25.5%)
CIE-LABlab(40.08, 50.83, -57.49)
CIE-LCHlch(40.08, 76.74, 311.48°)
OKLaboklab(50.58% 0.0995 -0.1636)
OKLCHoklch(50.58% 0.191 301.3)
XYZxyz(19.0407, 11.3004, 49.8833)
Luminance0.1130 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A3EBE #82BE3E
analogous
#3E42BE #7A3EBE #BA3EBE
triadic
#7A3EBE #BE7A3E #3EBE7A
tetradic
#7A3EBE #BE3E42 #82BE3E #3EBEBA
square
#7A3EBE #BE3E42 #82BE3E #3EBEBA
split-complementary
#7A3EBE #BEBA3E #42BE3E
monochromatic
#3F2062 #5C2F90 #7A3EBE #996BCF #B999DE

Accessibility & contrast

On white

6.44
#7A3EBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#7A3EBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A3EBE
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A3EBE#FFFFFF#000000##FFFFFF
##7A3EBE1.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC2
Deuteranopia (green-blind)
#005EBB
Tritanopia (blue-blind)
#6C5B79
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7a3ebe;
/* rgb */ color: rgb(122, 62, 190);
/* oklch */ color: oklch(50.6% 0.191 301.3);
Tailwind
colors: {
  custom: {
    50: '#a677d2',
    500: '#7a3ebe',
    950: '#000000',
  },
}
SCSS
$custom: #7a3ebe;
$custom-light: #a677d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7a3ebe",
  "rgb": {
    "r": 122,
    "g": 62,
    "b": 190
  },
  "hsl": {
    "h": 268.125,
    "s": 50.794,
    "l": 49.412
  },
  "oklch": {
    "l": 0.50576,
    "c": 0.19147,
    "h": 301.3
  },
  "luminance": 0.11301
}

Semantic roles & 50–950 ramp

primary
#7A3EBE
secondary
#AEC98E
accent
#DA4E98
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7A3EBE

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

Preview Lab → · Contrast checker → · Palette generator →

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