#7A5EEE#7A5EEE

#7A5EEE is a mid, highly saturated violet. Relative luminance 0.183; OKLCH L 58.8% C 0.207 H 287.2°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#7A5EEE
RGBrgb(122, 94, 238)
HSLhsl(252, 81%, 65%)
HSVhsv(252, 61%, 93%)
CMYKcmyk(48.7%, 60.5%, 0%, 6.7%)
CIE-LABlab(49.88, 46.58, -69.09)
CIE-LCHlch(49.88, 83.33, 303.99°)
OKLaboklab(58.75% 0.0611 -0.1978)
OKLCHoklch(58.75% 0.207 287.2)
XYZxyz(27.4568, 18.3148, 82.9607)
Luminance0.1832 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A5EEE #D2EE5E
analogous
#5E8AEE #7A5EEE #C25EEE
triadic
#7A5EEE #EE7A5E #5EEE7A
tetradic
#7A5EEE #EE5E8A #D2EE5E #5EEEC2
square
#7A5EEE #EE5E8A #D2EE5E #5EEEC2
split-complementary
#7A5EEE #EEC25E #8AEE5E
monochromatic
#3514BE #4C27E8 #7A5EEE #A895F4 #D5CDFA

Accessibility & contrast

On white

4.50
#7A5EEE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#7A5EEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A5EEE
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A5EEE#FFFFFF#000000##000000
##7A5EEE1.004.504.664.66
#FFFFFF4.501.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AF3
Deuteranopia (green-blind)
#0073EB
Tritanopia (blue-blind)
#51809D
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7a5eee;
/* rgb */ color: rgb(122, 94, 238);
/* oklch */ color: oklch(58.8% 0.207 287.2);
Tailwind
colors: {
  custom: {
    50: '#a98df4',
    500: '#7a5eee',
    950: '#000000',
  },
}
SCSS
$custom: #7a5eee;
$custom-light: #a98df4;
$custom-dark: #000000;
JSON
{
  "hex": "#7a5eee",
  "rgb": {
    "r": 122,
    "g": 94,
    "b": 238
  },
  "hsl": {
    "h": 251.667,
    "s": 80.899,
    "l": 65.098
  },
  "oklch": {
    "l": 0.58751,
    "c": 0.20698,
    "h": 287.2
  },
  "luminance": 0.18316
}

Semantic roles & 50–950 ramp

primary
#7A5EEE
secondary
#E3ECBB
accent
#DD08B4
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#110C17
muted
#807D85

Preview Lab

Preview with #7A5EEE

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

Preview Lab → · Contrast checker → · Palette generator →

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