#7A5CE3#7A5CE3

#7A5CE3 is a mid, vivid violet. Relative luminance 0.173; OKLCH L 57.6% C 0.196 H 289.0°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#7A5CE3
RGBrgb(122, 92, 227)
HSLhsl(253, 71%, 63%)
HSVhsv(253, 59%, 89%)
CMYKcmyk(46.3%, 59.5%, 0%, 11%)
CIE-LABlab(48.68, 44.58, -64.83)
CIE-LCHlch(48.68, 78.68, 304.51°)
OKLaboklab(57.64% 0.0637 -0.1852)
OKLCHoklch(57.64% 0.196 289)
XYZxyz(25.7144, 17.3369, 74.6496)
Luminance0.1734 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A5CE3 #C5E35C
analogous
#5C82E3 #7A5CE3 #BD5CE3
triadic
#7A5CE3 #E37A5C #5CE37A
tetradic
#7A5CE3 #E35C82 #C5E35C #5CE3BD
square
#7A5CE3 #E35C82 #C5E35C #5CE3BD
split-complementary
#7A5CE3 #E3BD5C #82E35C
monochromatic
#3C1DA8 #4F28DA #7A5CE3 #A590EC #CFC4F5

Accessibility & contrast

On white

4.70
#7A5CE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#7A5CE3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A5CE3
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A5CE3#FFFFFF#000000##FFFFFF
##7A5CE31.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076E7
Deuteranopia (green-blind)
#0070E0
Tritanopia (blue-blind)
#597B97
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7a5ce3;
/* rgb */ color: rgb(122, 92, 227);
/* oklch */ color: oklch(57.6% 0.196 289.0);
Tailwind
colors: {
  custom: {
    50: '#a88bed',
    500: '#7a5ce3',
    950: '#000000',
  },
}
SCSS
$custom: #7a5ce3;
$custom-light: #a88bed;
$custom-dark: #000000;
JSON
{
  "hex": "#7a5ce3",
  "rgb": {
    "r": 122,
    "g": 92,
    "b": 227
  },
  "hsl": {
    "h": 253.333,
    "s": 70.681,
    "l": 62.549
  },
  "oklch": {
    "l": 0.57635,
    "c": 0.19589,
    "h": 289
  },
  "luminance": 0.17338
}

Semantic roles & 50–950 ramp

primary
#7A5CE3
secondary
#DBE6B5
accent
#D313A8
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #7A5CE3

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

Preview Lab → · Contrast checker → · Palette generator →

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