#7A3EB2#7A3EB2

#7A3EB2 is a mid, vivid violet. Relative luminance 0.108; OKLCH L 49.7% C 0.178 H 304.4°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#7A3EB2
RGBrgb(122, 62, 178)
HSLhsl(271, 48%, 47%)
HSVhsv(271, 65%, 70%)
CMYKcmyk(31.5%, 65.2%, 0%, 30.2%)
CIE-LABlab(39.24, 47.88, -51.79)
CIE-LCHlch(39.24, 70.53, 312.75°)
OKLaboklab(49.7% 0.1007 -0.1469)
OKLCHoklch(49.7% 0.178 304.4)
XYZxyz(17.7827, 10.7973, 43.2581)
Luminance0.1080 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A3EB2 #76B23E
analogous
#403EB2 #7A3EB2 #B23EB0
triadic
#7A3EB2 #B27A3E #3EB27A
tetradic
#7A3EB2 #B2403E #76B23E #3EB0B2
square
#7A3EB2 #B2403E #76B23E #3EB0B2
split-complementary
#7A3EB2 #B0B23E #3EB240
monochromatic
#3C1E57 #5B2E85 #7A3EB2 #9864C9 #B692D9

Accessibility & contrast

On white

6.65
#7A3EB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#7A3EB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A3EB2
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A3EB2#FFFFFF#000000##FFFFFF
##7A3EB21.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB6
Deuteranopia (green-blind)
#1C5CAF
Tritanopia (blue-blind)
#705772
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7a3eb2;
/* rgb */ color: rgb(122, 62, 178);
/* oklch */ color: oklch(49.7% 0.178 304.4);
Tailwind
colors: {
  custom: {
    50: '#a577ca',
    500: '#7a3eb2',
    950: '#000000',
  },
}
SCSS
$custom: #7a3eb2;
$custom-light: #a577ca;
$custom-dark: #000000;
JSON
{
  "hex": "#7a3eb2",
  "rgb": {
    "r": 122,
    "g": 62,
    "b": 178
  },
  "hsl": {
    "h": 271.034,
    "s": 48.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.49701,
    "c": 0.17809,
    "h": 304.4
  },
  "luminance": 0.10797
}

Semantic roles & 50–950 ramp

primary
#7A3EB2
secondary
#A5C488
accent
#D85092
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #7A3EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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