#7A5AF4#7A5AF4

#7A5AF4 is a mid, highly saturated violet. Relative luminance 0.180; OKLCH L 58.6% C 0.219 H 287.1°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#7A5AF4
RGBrgb(122, 90, 244)
HSLhsl(252, 88%, 65%)
HSVhsv(252, 63%, 96%)
CMYKcmyk(50%, 63.1%, 0%, 4.3%)
CIE-LABlab(49.47, 50.51, -73.11)
CIE-LCHlch(49.47, 88.86, 304.64°)
OKLaboklab(58.59% 0.0646 -0.2096)
OKLCHoklch(58.59% 0.219 287.1)
XYZxyz(28.0065, 17.9802, 87.5652)
Luminance0.1798 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A5AF4 #D4F45A
analogous
#5A87F4 #7A5AF4 #C75AF4
triadic
#7A5AF4 #F47A5A #5AF47A
tetradic
#7A5AF4 #F45A87 #D4F45A #5AF4C7
square
#7A5AF4 #F45A87 #D4F45A #5AF4C7
split-complementary
#7A5AF4 #F4C75A #87F45A
monochromatic
#340DC6 #4C21F0 #7A5AF4 #A893F8 #D6CDFC

Accessibility & contrast

On white

4.57
#7A5AF4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#7A5AF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A5AF4
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A5AF4#FFFFFF#000000##000000
##7A5AF41.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079F9
Deuteranopia (green-blind)
#0071F1
Tritanopia (blue-blind)
#4D7F9F
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7a5af4;
/* rgb */ color: rgb(122, 90, 244);
/* oklch */ color: oklch(58.6% 0.219 287.1);
Tailwind
colors: {
  custom: {
    50: '#aa8af9',
    500: '#7a5af4',
    950: '#000000',
  },
}
SCSS
$custom: #7a5af4;
$custom-light: #aa8af9;
$custom-dark: #000000;
JSON
{
  "hex": "#7a5af4",
  "rgb": {
    "r": 122,
    "g": 90,
    "b": 244
  },
  "hsl": {
    "h": 252.468,
    "s": 87.5,
    "l": 65.49
  },
  "oklch": {
    "l": 0.58593,
    "c": 0.2193,
    "h": 287.1
  },
  "luminance": 0.17982
}

Semantic roles & 50–950 ramp

primary
#7A5AF4
secondary
#E4EFBB
accent
#E401B5
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #7A5AF4

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

Preview Lab → · Contrast checker → · Palette generator →

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