#7A5EE8#7A5EE8

#7A5EE8 is a mid, vivid violet. Relative luminance 0.180; OKLCH L 58.3% C 0.200 H 287.9°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#7A5EE8
RGBrgb(122, 94, 232)
HSLhsl(252, 75%, 64%)
HSVhsv(252, 59%, 91%)
CMYKcmyk(47.4%, 59.5%, 0%, 9%)
CIE-LABlab(49.46, 44.87, -66.40)
CIE-LCHlch(49.46, 80.14, 304.05°)
OKLaboklab(58.31% 0.0614 -0.1898)
OKLCHoklch(58.31% 0.2 287.9)
XYZxyz(26.5900, 17.9680, 78.3954)
Luminance0.1797 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A5EE8 #CCE85E
analogous
#5E87E8 #7A5EE8 #BF5EE8
triadic
#7A5EE8 #E87A5E #5EE87A
tetradic
#7A5EE8 #E85E87 #CCE85E #5EE8BF
square
#7A5EE8 #E85E87 #CCE85E #5EE8BF
split-complementary
#7A5EE8 #E8BF5E #87E85E
monochromatic
#3819B2 #4E28E0 #7A5EE8 #A694F0 #D2C9F7

Accessibility & contrast

On white

4.57
#7A5EE8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#7A5EE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A5EE8
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A5EE8#FFFFFF#000000##000000
##7A5EE81.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079EC
Deuteranopia (green-blind)
#0072E5
Tritanopia (blue-blind)
#557E9A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7a5ee8;
/* rgb */ color: rgb(122, 94, 232);
/* oklch */ color: oklch(58.3% 0.200 287.9);
Tailwind
colors: {
  custom: {
    50: '#a88df0',
    500: '#7a5ee8',
    950: '#000000',
  },
}
SCSS
$custom: #7a5ee8;
$custom-light: #a88df0;
$custom-dark: #000000;
JSON
{
  "hex": "#7a5ee8",
  "rgb": {
    "r": 122,
    "g": 94,
    "b": 232
  },
  "hsl": {
    "h": 252.174,
    "s": 75,
    "l": 63.922
  },
  "oklch": {
    "l": 0.58312,
    "c": 0.19952,
    "h": 287.9
  },
  "luminance": 0.17969
}

Semantic roles & 50–950 ramp

primary
#7A5EE8
secondary
#DFE9B9
accent
#D70EAE
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #7A5EE8

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

Preview Lab → · Contrast checker → · Palette generator →

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