#7A5AF3#7A5AF3

#7A5AF3 is a mid, highly saturated violet. Relative luminance 0.179; OKLCH L 58.5% C 0.218 H 287.2°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#7A5AF3
RGBrgb(122, 90, 243)
HSLhsl(253, 86%, 65%)
HSVhsv(253, 63%, 95%)
CMYKcmyk(49.8%, 63%, 0%, 4.7%)
CIE-LABlab(49.40, 50.23, -72.67)
CIE-LCHlch(49.40, 88.34, 304.65°)
OKLaboklab(58.52% 0.0647 -0.2083)
OKLCHoklch(58.52% 0.218 287.2)
XYZxyz(27.8551, 17.9197, 86.7678)
Luminance0.1792 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A5AF3 #D3F35A
analogous
#5A86F3 #7A5AF3 #C65AF3
triadic
#7A5AF3 #F37A5A #5AF37A
tetradic
#7A5AF3 #F35A86 #D3F35A #5AF3C6
square
#7A5AF3 #F35A86 #D3F35A #5AF3C6
split-complementary
#7A5AF3 #F3C65A #86F35A
monochromatic
#340EC4 #4C21EF #7A5AF3 #A893F7 #D6CCFB

Accessibility & contrast

On white

4.58
#7A5AF3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#7A5AF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A5AF3
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A5AF3#FFFFFF#000000##000000
##7A5AF31.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079F8
Deuteranopia (green-blind)
#0071F0
Tritanopia (blue-blind)
#4E7F9E
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7a5af3;
/* rgb */ color: rgb(122, 90, 243);
/* oklch */ color: oklch(58.5% 0.218 287.2);
Tailwind
colors: {
  custom: {
    50: '#aa8af8',
    500: '#7a5af3',
    950: '#000000',
  },
}
SCSS
$custom: #7a5af3;
$custom-light: #aa8af8;
$custom-dark: #000000;
JSON
{
  "hex": "#7a5af3",
  "rgb": {
    "r": 122,
    "g": 90,
    "b": 243
  },
  "hsl": {
    "h": 252.549,
    "s": 86.441,
    "l": 65.294
  },
  "oklch": {
    "l": 0.58516,
    "c": 0.2181,
    "h": 287.2
  },
  "luminance": 0.17921
}

Semantic roles & 50–950 ramp

primary
#7A5AF3
secondary
#E3EEBB
accent
#E303B4
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #7A5AF3

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

Preview Lab → · Contrast checker → · Palette generator →

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