#7A3ABC#7A3ABC

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

Color values

HEX#7A3ABC
RGBrgb(122, 58, 188)
HSLhsl(270, 53%, 48%)
HSVhsv(270, 69%, 74%)
CMYKcmyk(35.1%, 69.1%, 0%, 26.3%)
CIE-LABlab(39.23, 52.29, -57.69)
CIE-LCHlch(39.23, 77.86, 312.19°)
OKLaboklab(49.92% 0.104 -0.1642)
OKLCHoklch(49.92% 0.194 302.3)
XYZxyz(18.6140, 10.7945, 48.6701)
Luminance0.1080 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A3ABC #7CBC3A
analogous
#3A3BBC #7A3ABC #BB3ABC
triadic
#7A3ABC #BC7A3A #3ABC7A
tetradic
#7A3ABC #BC3A3B #7CBC3A #3ABCBB
square
#7A3ABC #BC3A3B #7CBC3A #3ABCBB
split-complementary
#7A3ABC #BCBB3A #3BBC3A
monochromatic
#3D1D5E #5C2C8D #7A3ABC #9964CF #B893DE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7A3ABC#FFFFFF#000000##FFFFFF
##7A3ABC1.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)
#005BC0
Deuteranopia (green-blind)
#005CB9
Tritanopia (blue-blind)
#6C5877
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7a3abc;
/* rgb */ color: rgb(122, 58, 188);
/* oklch */ color: oklch(49.9% 0.194 302.3);
Tailwind
colors: {
  custom: {
    50: '#a675d1',
    500: '#7a3abc',
    950: '#000000',
  },
}
SCSS
$custom: #7a3abc;
$custom-light: #a675d1;
$custom-dark: #000000;
JSON
{
  "hex": "#7a3abc",
  "rgb": {
    "r": 122,
    "g": 58,
    "b": 188
  },
  "hsl": {
    "h": 269.538,
    "s": 52.846,
    "l": 48.235
  },
  "oklch": {
    "l": 0.49922,
    "c": 0.19436,
    "h": 302.3
  },
  "luminance": 0.10795
}

Semantic roles & 50–950 ramp

primary
#7A3ABC
secondary
#A9C989
accent
#DC4C95
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #7A3ABC

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

Preview Lab → · Contrast checker → · Palette generator →

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