#7A5FF9#7A5FF9

#7A5FF9 is a mid, highly saturated violet. Relative luminance 0.192; OKLCH L 59.7% C 0.219 H 285.7°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#7A5FF9
RGBrgb(122, 95, 249)
HSLhsl(251, 93%, 67%)
HSVhsv(251, 62%, 98%)
CMYKcmyk(51%, 61.8%, 0%, 2.4%)
CIE-LABlab(50.87, 49.18, -73.62)
CIE-LCHlch(50.87, 88.53, 303.74°)
OKLaboklab(59.73% 0.0593 -0.2111)
OKLCHoklch(59.73% 0.219 285.7)
XYZxyz(29.2120, 19.1600, 91.7632)
Luminance0.1916 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A5FF9 #DEF95F
analogous
#5F91F9 #7A5FF9 #C75FF9
triadic
#7A5FF9 #F97A5F #5FF97A
tetradic
#7A5FF9 #F95F91 #DEF95F #5FF9C7
square
#7A5FF9 #F95F91 #DEF95F #5FF9C7
split-complementary
#7A5FF9 #F9C75F #91F95F
monochromatic
#2C08D6 #4924F7 #7A5FF9 #AB9AFB #DCD5FD

Accessibility & contrast

On white

4.35
#7A5FF9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#7A5FF9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A5FF9
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A5FF9#FFFFFF#000000##000000
##7A5FF91.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DFE
Deuteranopia (green-blind)
#0075F6
Tritanopia (blue-blind)
#4984A3
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #7a5ff9;
/* rgb */ color: rgb(122, 95, 249);
/* oklch */ color: oklch(59.7% 0.219 285.7);
Tailwind
colors: {
  custom: {
    50: '#aa8efc',
    500: '#7a5ff9',
    950: '#000000',
  },
}
SCSS
$custom: #7a5ff9;
$custom-light: #aa8efc;
$custom-dark: #000000;
JSON
{
  "hex": "#7a5ff9",
  "rgb": {
    "r": 122,
    "g": 95,
    "b": 249
  },
  "hsl": {
    "h": 250.519,
    "s": 92.771,
    "l": 67.451
  },
  "oklch": {
    "l": 0.59726,
    "c": 0.21925,
    "h": 285.7
  },
  "luminance": 0.19162
}

Semantic roles & 50–950 ramp

primary
#7A5FF9
secondary
#EAF2C2
accent
#E600BD
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86

Preview Lab

Preview with #7A5FF9

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

Preview Lab → · Contrast checker → · Palette generator →

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