#7A5DFA#7A5DFA

#7A5DFA is a mid, highly saturated violet. Relative luminance 0.189; OKLCH L 59.5% C 0.223 H 285.9°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#7A5DFA
RGBrgb(122, 93, 250)
HSLhsl(251, 94%, 67%)
HSVhsv(251, 63%, 98%)
CMYKcmyk(51.2%, 62.8%, 0%, 2%)
CIE-LABlab(50.53, 50.57, -74.73)
CIE-LCHlch(50.53, 90.23, 304.09°)
OKLaboklab(59.5% 0.0612 -0.2143)
OKLCHoklch(59.5% 0.223 285.9)
XYZxyz(29.1906, 18.8669, 92.5275)
Luminance0.1887 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A5DFA #DDFA5D
analogous
#5D8EFA #7A5DFA #C95DFA
triadic
#7A5DFA #FA7A5D #5DFA7A
tetradic
#7A5DFA #FA5D8E #DDFA5D #5DFAC9
square
#7A5DFA #FA5D8E #DDFA5D #5DFAC9
split-complementary
#7A5DFA #FAC95D #8EFA5D
monochromatic
#2D07D6 #4922F8 #7A5DFA #AB98FC #DBD4FE

Accessibility & contrast

On white

4.40
#7A5DFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#7A5DFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A5DFA
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A5DFA#FFFFFF#000000##000000
##7A5DFA1.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CFF
Deuteranopia (green-blind)
#0074F7
Tritanopia (blue-blind)
#4883A3
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7a5dfa;
/* rgb */ color: rgb(122, 93, 250);
/* oklch */ color: oklch(59.5% 0.223 285.9);
Tailwind
colors: {
  custom: {
    50: '#aa8cfd',
    500: '#7a5dfa',
    950: '#000000',
  },
}
SCSS
$custom: #7a5dfa;
$custom-light: #aa8cfd;
$custom-dark: #000000;
JSON
{
  "hex": "#7a5dfa",
  "rgb": {
    "r": 122,
    "g": 93,
    "b": 250
  },
  "hsl": {
    "h": 251.083,
    "s": 94.012,
    "l": 67.255
  },
  "oklch": {
    "l": 0.595,
    "c": 0.2229,
    "h": 285.9
  },
  "luminance": 0.18868
}

Semantic roles & 50–950 ramp

primary
#7A5DFA
secondary
#E9F2C1
accent
#E600BB
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86

Preview Lab

Preview with #7A5DFA

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

Preview Lab → · Contrast checker → · Palette generator →

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