#7A5DE3#7A5DE3

#7A5DE3 is a mid, vivid violet. Relative luminance 0.175; OKLCH L 57.8% C 0.195 H 288.8°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#7A5DE3
RGBrgb(122, 93, 227)
HSLhsl(253, 71%, 63%)
HSVhsv(253, 59%, 89%)
CMYKcmyk(46.3%, 59%, 0%, 11%)
CIE-LABlab(48.90, 44.01, -64.48)
CIE-LCHlch(48.90, 78.07, 304.32°)
OKLaboklab(57.79% 0.0626 -0.1842)
OKLCHoklch(57.79% 0.195 288.8)
XYZxyz(25.8016, 17.5113, 74.6787)
Luminance0.1751 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A5DE3 #C6E35D
analogous
#5D83E3 #7A5DE3 #BD5DE3
triadic
#7A5DE3 #E37A5D #5DE37A
tetradic
#7A5DE3 #E35D83 #C6E35D #5DE3BD
square
#7A5DE3 #E35D83 #C6E35D #5DE3BD
split-complementary
#7A5DE3 #E3BD5D #83E35D
monochromatic
#3B1DA8 #4F29DA #7A5DE3 #A591EC #D0C5F5

Accessibility & contrast

On white

4.66
#7A5DE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#7A5DE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7A5DE3
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A5DE3#FFFFFF#000000##FFFFFF
##7A5DE31.004.664.504.66
#FFFFFF4.661.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077E7
Deuteranopia (green-blind)
#0071E0
Tritanopia (blue-blind)
#587C97
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7a5de3;
/* rgb */ color: rgb(122, 93, 227);
/* oklch */ color: oklch(57.8% 0.195 288.8);
Tailwind
colors: {
  custom: {
    50: '#a78ced',
    500: '#7a5de3',
    950: '#000000',
  },
}
SCSS
$custom: #7a5de3;
$custom-light: #a78ced;
$custom-dark: #000000;
JSON
{
  "hex": "#7a5de3",
  "rgb": {
    "r": 122,
    "g": 93,
    "b": 227
  },
  "hsl": {
    "h": 252.985,
    "s": 70.526,
    "l": 62.745
  },
  "oklch": {
    "l": 0.57794,
    "c": 0.19457,
    "h": 288.8
  },
  "luminance": 0.17512
}

Semantic roles & 50–950 ramp

primary
#7A5DE3
secondary
#DCE6B6
accent
#D313A9
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #7A5DE3

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

Preview Lab → · Contrast checker → · Palette generator →

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