#7A5EC0#7A5EC0

#7A5EC0 is a mid, vivid violet. Relative luminance 0.159; OKLCH L 55.6% C 0.148 H 294.3°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#7A5EC0
RGBrgb(122, 94, 192)
HSLhsl(257, 44%, 56%)
HSVhsv(257, 51%, 75%)
CMYKcmyk(36.5%, 51%, 0%, 24.7%)
CIE-LABlab(46.91, 33.69, -47.67)
CIE-LCHlch(46.91, 58.38, 305.25°)
OKLaboklab(55.61% 0.0607 -0.1348)
OKLCHoklch(55.61% 0.148 294.3)
XYZxyz(21.5407, 15.9483, 51.8024)
Luminance0.1595 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A5EC0 #A4C05E
analogous
#5E73C0 #7A5EC0 #AB5EC0
triadic
#7A5EC0 #C07A5E #5EC07A
tetradic
#7A5EC0 #C05E73 #A4C05E #5EC0AB
square
#7A5EC0 #C05E73 #A4C05E #5EC0AB
split-complementary
#7A5EC0 #C0AB5E #73C05E
monochromatic
#422E76 #5B3FA2 #7A5EC0 #9E8AD1 #C3B6E2

Accessibility & contrast

On white

5.01
#7A5EC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#7A5EC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A5EC0
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A5EC0#FFFFFF#000000##FFFFFF
##7A5EC01.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3870C3
Deuteranopia (green-blind)
#3E6EBE
Tritanopia (blue-blind)
#697286
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7a5ec0;
/* rgb */ color: rgb(122, 94, 192);
/* oklch */ color: oklch(55.6% 0.148 294.3);
Tailwind
colors: {
  custom: {
    50: '#a48cd3',
    500: '#7a5ec0',
    950: '#000000',
  },
}
SCSS
$custom: #7a5ec0;
$custom-light: #a48cd3;
$custom-dark: #000000;
JSON
{
  "hex": "#7a5ec0",
  "rgb": {
    "r": 122,
    "g": 94,
    "b": 192
  },
  "hsl": {
    "h": 257.143,
    "s": 43.75,
    "l": 56.078
  },
  "oklch": {
    "l": 0.55613,
    "c": 0.14788,
    "h": 294.3
  },
  "luminance": 0.15949
}

Semantic roles & 50–950 ramp

primary
#7A5EC0
secondary
#C6D1A9
accent
#D354AF
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#0F0C14
muted
#7F7D83

Preview Lab

Preview with #7A5EC0

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

Preview Lab → · Contrast checker → · Palette generator →

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