#7A5DEE#7A5DEE

#7A5DEE is a mid, highly saturated violet. Relative luminance 0.181; OKLCH L 58.6% C 0.208 H 287.3°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#7A5DEE
RGBrgb(122, 93, 238)
HSLhsl(252, 81%, 65%)
HSVhsv(252, 61%, 93%)
CMYKcmyk(48.7%, 60.9%, 0%, 6.7%)
CIE-LABlab(49.66, 47.14, -69.44)
CIE-LCHlch(49.66, 83.93, 304.17°)
OKLaboklab(58.6% 0.0621 -0.1988)
OKLCHoklch(58.6% 0.208 287.3)
XYZxyz(27.3685, 18.1381, 82.9313)
Luminance0.1814 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A5DEE #D1EE5D
analogous
#5D88EE #7A5DEE #C35DEE
triadic
#7A5DEE #EE7A5D #5DEE7A
tetradic
#7A5DEE #EE5D88 #D1EE5D #5DEEC3
square
#7A5DEE #EE5D88 #D1EE5D #5DEEC3
split-complementary
#7A5DEE #EEC35D #88EE5D
monochromatic
#3614BD #4D26E8 #7A5DEE #A794F4 #D5CCFA

Accessibility & contrast

On white

4.54
#7A5DEE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#7A5DEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A5DEE
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A5DEE#FFFFFF#000000##000000
##7A5DEE1.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AF3
Deuteranopia (green-blind)
#0072EB
Tritanopia (blue-blind)
#517F9D
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7a5dee;
/* rgb */ color: rgb(122, 93, 238);
/* oklch */ color: oklch(58.6% 0.208 287.3);
Tailwind
colors: {
  custom: {
    50: '#a98cf4',
    500: '#7a5dee',
    950: '#000000',
  },
}
SCSS
$custom: #7a5dee;
$custom-light: #a98cf4;
$custom-dark: #000000;
JSON
{
  "hex": "#7a5dee",
  "rgb": {
    "r": 122,
    "g": 93,
    "b": 238
  },
  "hsl": {
    "h": 252,
    "s": 81.006,
    "l": 64.902
  },
  "oklch": {
    "l": 0.58595,
    "c": 0.20826,
    "h": 287.3
  },
  "luminance": 0.18139
}

Semantic roles & 50–950 ramp

primary
#7A5DEE
secondary
#E2ECBB
accent
#DD08B3
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#110C17
muted
#807D85

Preview Lab

Preview with #7A5DEE

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

Preview Lab → · Contrast checker → · Palette generator →

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