#7A5CF5#7A5CF5

#7A5CF5 is a mid, highly saturated violet. Relative luminance 0.184; OKLCH L 59.0% C 0.218 H 286.7°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#7A5CF5
RGBrgb(122, 92, 245)
HSLhsl(252, 88%, 66%)
HSVhsv(252, 62%, 96%)
CMYKcmyk(50.2%, 62.4%, 0%, 3.9%)
CIE-LABlab(49.96, 49.69, -72.88)
CIE-LCHlch(49.96, 88.21, 304.29°)
OKLaboklab(58.97% 0.0626 -0.2089)
OKLCHoklch(58.97% 0.218 286.7)
XYZxyz(28.3298, 18.3831, 88.4240)
Luminance0.1838 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A5CF5 #D7F55C
analogous
#5C8AF5 #7A5CF5 #C65CF5
triadic
#7A5CF5 #F57A5C #5CF57A
tetradic
#7A5CF5 #F55C8A #D7F55C #5CF5C6
square
#7A5CF5 #F55C8A #D7F55C #5CF5C6
split-complementary
#7A5CF5 #F5C65C #8AF55C
monochromatic
#320CCA #4B22F1 #7A5CF5 #A996F9 #D8CFFC

Accessibility & contrast

On white

4.49
#7A5CF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#7A5CF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A5CF5
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A5CF5#FFFFFF#000000##000000
##7A5CF51.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BFA
Deuteranopia (green-blind)
#0072F2
Tritanopia (blue-blind)
#4C81A0
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7a5cf5;
/* rgb */ color: rgb(122, 92, 245);
/* oklch */ color: oklch(59.0% 0.218 286.7);
Tailwind
colors: {
  custom: {
    50: '#aa8cf9',
    500: '#7a5cf5',
    950: '#000000',
  },
}
SCSS
$custom: #7a5cf5;
$custom-light: #aa8cf9;
$custom-dark: #000000;
JSON
{
  "hex": "#7a5cf5",
  "rgb": {
    "r": 122,
    "g": 92,
    "b": 245
  },
  "hsl": {
    "h": 251.765,
    "s": 88.439,
    "l": 66.078
  },
  "oklch": {
    "l": 0.58968,
    "c": 0.21806,
    "h": 286.7
  },
  "luminance": 0.18384
}

Semantic roles & 50–950 ramp

primary
#7A5CF5
secondary
#E6F0BD
accent
#E500B8
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #7A5CF5

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

Preview Lab → · Contrast checker → · Palette generator →

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