#7A5EED#7A5EED

#7A5EED is a mid, highly saturated violet. Relative luminance 0.183; OKLCH L 58.7% C 0.206 H 287.3°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#7A5EED
RGBrgb(122, 94, 237)
HSLhsl(252, 80%, 65%)
HSVhsv(252, 60%, 93%)
CMYKcmyk(48.5%, 60.3%, 0%, 7.1%)
CIE-LABlab(49.81, 46.29, -68.64)
CIE-LCHlch(49.81, 82.80, 304.00°)
OKLaboklab(58.68% 0.0611 -0.1965)
OKLCHoklch(58.68% 0.206 287.3)
XYZxyz(27.3103, 18.2562, 82.1891)
Luminance0.1826 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A5EED #D1ED5E
analogous
#5E8AED #7A5EED #C15EED
triadic
#7A5EED #ED7A5E #5EED7A
tetradic
#7A5EED #ED5E8A #D1ED5E #5EEDC1
square
#7A5EED #ED5E8A #D1ED5E #5EEDC1
split-complementary
#7A5EED #EDC15E #8AED5E
monochromatic
#3615BC #4D27E7 #7A5EED #A795F3 #D5CCF9

Accessibility & contrast

On white

4.51
#7A5EED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#7A5EED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A5EED
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A5EED#FFFFFF#000000##000000
##7A5EED1.004.514.654.65
#FFFFFF4.511.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AF2
Deuteranopia (green-blind)
#0073EA
Tritanopia (blue-blind)
#527F9D
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7a5eed;
/* rgb */ color: rgb(122, 94, 237);
/* oklch */ color: oklch(58.7% 0.206 287.3);
Tailwind
colors: {
  custom: {
    50: '#a98df4',
    500: '#7a5eed',
    950: '#000000',
  },
}
SCSS
$custom: #7a5eed;
$custom-light: #a98df4;
$custom-dark: #000000;
JSON
{
  "hex": "#7a5eed",
  "rgb": {
    "r": 122,
    "g": 94,
    "b": 237
  },
  "hsl": {
    "h": 251.748,
    "s": 79.888,
    "l": 64.902
  },
  "oklch": {
    "l": 0.58677,
    "c": 0.20574,
    "h": 287.3
  },
  "luminance": 0.18257
}

Semantic roles & 50–950 ramp

primary
#7A5EED
secondary
#E2ECBB
accent
#DC09B3
background
#FAF8FF
surface
#F5F0FE
border
#CFCBD6
text
#110C17
muted
#807D85

Preview Lab

Preview with #7A5EED

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

Preview Lab → · Contrast checker → · Palette generator →

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