#7A5AF6#7A5AF6

#7A5AF6 is a mid, highly saturated violet. Relative luminance 0.181; OKLCH L 58.7% C 0.222 H 286.9°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#7A5AF6
RGBrgb(122, 90, 246)
HSLhsl(252, 90%, 66%)
HSVhsv(252, 63%, 96%)
CMYKcmyk(50.4%, 63.4%, 0%, 3.5%)
CIE-LABlab(49.62, 51.08, -73.98)
CIE-LCHlch(49.62, 89.90, 304.62°)
OKLaboklab(58.75% 0.0644 -0.2122)
OKLCHoklch(58.75% 0.222 286.9)
XYZxyz(28.3118, 18.1024, 89.1732)
Luminance0.1810 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A5AF6 #D6F65A
analogous
#5A88F6 #7A5AF6 #C85AF6
triadic
#7A5AF6 #F67A5A #5AF67A
tetradic
#7A5AF6 #F65A88 #D6F65A #5AF6C8
square
#7A5AF6 #F65A88 #D6F65A #5AF6C8
split-complementary
#7A5AF6 #F6C85A #88F65A
monochromatic
#320BCB #4B20F3 #7A5AF6 #A994F9 #D8CEFC

Accessibility & contrast

On white

4.54
#7A5AF6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#7A5AF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A5AF6
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A5AF6#FFFFFF#000000##000000
##7A5AF61.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AFB
Deuteranopia (green-blind)
#0072F3
Tritanopia (blue-blind)
#4C80A0
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7a5af6;
/* rgb */ color: rgb(122, 90, 246);
/* oklch */ color: oklch(58.7% 0.222 286.9);
Tailwind
colors: {
  custom: {
    50: '#aa8afa',
    500: '#7a5af6',
    950: '#000000',
  },
}
SCSS
$custom: #7a5af6;
$custom-light: #aa8afa;
$custom-dark: #000000;
JSON
{
  "hex": "#7a5af6",
  "rgb": {
    "r": 122,
    "g": 90,
    "b": 246
  },
  "hsl": {
    "h": 252.308,
    "s": 89.655,
    "l": 65.882
  },
  "oklch": {
    "l": 0.58746,
    "c": 0.22171,
    "h": 286.9
  },
  "luminance": 0.18104
}

Semantic roles & 50–950 ramp

primary
#7A5AF6
secondary
#E5F0BC
accent
#E600B6
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #7A5AF6

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

Preview Lab → · Contrast checker → · Palette generator →

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