#7A5DF6#7A5DF6

#7A5DF6 is a mid, highly saturated violet. Relative luminance 0.186; OKLCH L 59.2% C 0.218 H 286.4°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#7A5DF6
RGBrgb(122, 93, 246)
HSLhsl(251, 89%, 66%)
HSVhsv(251, 62%, 96%)
CMYKcmyk(50.4%, 62.2%, 0%, 3.5%)
CIE-LABlab(50.24, 49.43, -72.98)
CIE-LCHlch(50.24, 88.14, 304.11°)
OKLaboklab(59.2% 0.0615 -0.2092)
OKLCHoklch(59.2% 0.218 286.4)
XYZxyz(28.5700, 18.6187, 89.2593)
Luminance0.1862 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A5DF6 #D9F65D
analogous
#5D8DF6 #7A5DF6 #C75DF6
triadic
#7A5DF6 #F67A5D #5DF67A
tetradic
#7A5DF6 #F65D8D #D9F65D #5DF6C7
square
#7A5DF6 #F65D8D #D9F65D #5DF6C7
split-complementary
#7A5DF6 #F6C75D #8DF65D
monochromatic
#300BCD #4A23F3 #7A5DF6 #AA97F9 #D9D1FC

Accessibility & contrast

On white

4.45
#7A5DF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#7A5DF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A5DF6
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A5DF6#FFFFFF#000000##000000
##7A5DF61.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BFB
Deuteranopia (green-blind)
#0073F3
Tritanopia (blue-blind)
#4B82A1
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7a5df6;
/* rgb */ color: rgb(122, 93, 246);
/* oklch */ color: oklch(59.2% 0.218 286.4);
Tailwind
colors: {
  custom: {
    50: '#aa8cfa',
    500: '#7a5df6',
    950: '#000000',
  },
}
SCSS
$custom: #7a5df6;
$custom-light: #aa8cfa;
$custom-dark: #000000;
JSON
{
  "hex": "#7a5df6",
  "rgb": {
    "r": 122,
    "g": 93,
    "b": 246
  },
  "hsl": {
    "h": 251.373,
    "s": 89.474,
    "l": 66.471
  },
  "oklch": {
    "l": 0.59195,
    "c": 0.21805,
    "h": 286.4
  },
  "luminance": 0.1862
}

Semantic roles & 50–950 ramp

primary
#7A5DF6
secondary
#E7F0BF
accent
#E600BA
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #7A5DF6

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

Preview Lab → · Contrast checker → · Palette generator →

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