#7A5CF4#7A5CF4

#7A5CF4 is a mid, highly saturated violet. Relative luminance 0.183; OKLCH L 58.9% C 0.217 H 286.8°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#7A5CF4
RGBrgb(122, 92, 244)
HSLhsl(252, 87%, 66%)
HSVhsv(252, 62%, 96%)
CMYKcmyk(50%, 62.3%, 0%, 4.3%)
CIE-LABlab(49.88, 49.41, -72.44)
CIE-LCHlch(49.88, 87.68, 304.30°)
OKLaboklab(58.89% 0.0626 -0.2076)
OKLCHoklch(58.89% 0.217 286.8)
XYZxyz(28.1775, 18.3222, 87.6222)
Luminance0.1832 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A5CF4 #D6F45C
analogous
#5C8AF4 #7A5CF4 #C65CF4
triadic
#7A5CF4 #F47A5C #5CF47A
tetradic
#7A5CF4 #F45C8A #D6F45C #5CF4C6
square
#7A5CF4 #F45C8A #D6F45C #5CF4C6
split-complementary
#7A5CF4 #F4C65C #8AF45C
monochromatic
#320EC8 #4B23F0 #7A5CF4 #A995F8 #D8CFFC

Accessibility & contrast

On white

4.50
#7A5CF4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#7A5CF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A5CF4
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A5CF4#FFFFFF#000000##000000
##7A5CF41.004.504.664.66
#FFFFFF4.501.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AF9
Deuteranopia (green-blind)
#0072F1
Tritanopia (blue-blind)
#4D81A0
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7a5cf4;
/* rgb */ color: rgb(122, 92, 244);
/* oklch */ color: oklch(58.9% 0.217 286.8);
Tailwind
colors: {
  custom: {
    50: '#aa8cf9',
    500: '#7a5cf4',
    950: '#000000',
  },
}
SCSS
$custom: #7a5cf4;
$custom-light: #aa8cf9;
$custom-dark: #000000;
JSON
{
  "hex": "#7a5cf4",
  "rgb": {
    "r": 122,
    "g": 92,
    "b": 244
  },
  "hsl": {
    "h": 251.842,
    "s": 87.356,
    "l": 65.882
  },
  "oklch": {
    "l": 0.58892,
    "c": 0.21685,
    "h": 286.8
  },
  "luminance": 0.18324
}

Semantic roles & 50–950 ramp

primary
#7A5CF4
secondary
#E5EFBD
accent
#E402B7
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #7A5CF4

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

Preview Lab → · Contrast checker → · Palette generator →

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