#7A5CF6#7A5CF6

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

Color values

HEX#7A5CF6
RGBrgb(122, 92, 246)
HSLhsl(252, 90%, 66%)
HSVhsv(252, 63%, 96%)
CMYKcmyk(50.4%, 62.6%, 0%, 3.5%)
CIE-LABlab(50.03, 49.98, -73.31)
CIE-LCHlch(50.03, 88.73, 304.28°)
OKLaboklab(59.04% 0.0625 -0.2102)
OKLCHoklch(59.04% 0.219 286.6)
XYZxyz(28.4828, 18.4443, 89.2302)
Luminance0.1845 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A5CF6 #D8F65C
analogous
#5C8BF6 #7A5CF6 #C75CF6
triadic
#7A5CF6 #F67A5C #5CF67A
tetradic
#7A5CF6 #F65C8B #D8F65C #5CF6C7
square
#7A5CF6 #F65C8B #D8F65C #5CF6C7
split-complementary
#7A5CF6 #F6C75C #8BF65C
monochromatic
#310BCC #4B22F3 #7A5CF6 #A996F9 #D9D0FC

Accessibility & contrast

On white

4.48
#7A5CF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#7A5CF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A5CF6
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A5CF6#FFFFFF#000000##000000
##7A5CF61.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7a5cf6;
/* rgb */ color: rgb(122, 92, 246);
/* oklch */ color: oklch(59.0% 0.219 286.6);
Tailwind
colors: {
  custom: {
    50: '#aa8cfa',
    500: '#7a5cf6',
    950: '#000000',
  },
}
SCSS
$custom: #7a5cf6;
$custom-light: #aa8cfa;
$custom-dark: #000000;
JSON
{
  "hex": "#7a5cf6",
  "rgb": {
    "r": 122,
    "g": 92,
    "b": 246
  },
  "hsl": {
    "h": 251.688,
    "s": 89.535,
    "l": 66.275
  },
  "oklch": {
    "l": 0.59044,
    "c": 0.21928,
    "h": 286.6
  },
  "luminance": 0.18446
}

Semantic roles & 50–950 ramp

primary
#7A5CF6
secondary
#E6F0BE
accent
#E600B9
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #7A5CF6

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

Preview Lab → · Contrast checker → · Palette generator →

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