#7A5DF9#7A5DF9

#7A5DF9 is a mid, highly saturated violet. Relative luminance 0.188; OKLCH L 59.4% C 0.222 H 286.0°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#7A5DF9
RGBrgb(122, 93, 249)
HSLhsl(251, 93%, 67%)
HSVhsv(251, 63%, 98%)
CMYKcmyk(51%, 62.7%, 0%, 2.4%)
CIE-LABlab(50.46, 50.28, -74.29)
CIE-LCHlch(50.46, 89.71, 304.09°)
OKLaboklab(59.42% 0.0613 -0.2131)
OKLCHoklch(59.42% 0.222 286)
XYZxyz(29.0342, 18.8044, 91.7039)
Luminance0.1881 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A5DF9 #DCF95D
analogous
#5D8EF9 #7A5DF9 #C85DF9
triadic
#7A5DF9 #F97A5D #5DF97A
tetradic
#7A5DF9 #F95D8E #DCF95D #5DF9C8
square
#7A5DF9 #F95D8E #DCF95D #5DF9C8
split-complementary
#7A5DF9 #F9C85D #8EF95D
monochromatic
#2E08D4 #4A22F7 #7A5DF9 #AA98FB #DBD3FD

Accessibility & contrast

On white

4.41
#7A5DF9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#7A5DF9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A5DF9
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A5DF9#FFFFFF#000000##000000
##7A5DF91.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CFE
Deuteranopia (green-blind)
#0073F6
Tritanopia (blue-blind)
#4983A3
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7a5df9;
/* rgb */ color: rgb(122, 93, 249);
/* oklch */ color: oklch(59.4% 0.222 286.0);
Tailwind
colors: {
  custom: {
    50: '#aa8cfc',
    500: '#7a5df9',
    950: '#000000',
  },
}
SCSS
$custom: #7a5df9;
$custom-light: #aa8cfc;
$custom-dark: #000000;
JSON
{
  "hex": "#7a5df9",
  "rgb": {
    "r": 122,
    "g": 93,
    "b": 249
  },
  "hsl": {
    "h": 251.154,
    "s": 92.857,
    "l": 67.059
  },
  "oklch": {
    "l": 0.59424,
    "c": 0.2217,
    "h": 286
  },
  "luminance": 0.18806
}

Semantic roles & 50–950 ramp

primary
#7A5DF9
secondary
#E8F2C0
accent
#E600BB
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86

Preview Lab

Preview with #7A5DF9

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

Preview Lab → · Contrast checker → · Palette generator →

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