#7A5AEA#7A5AEA

#7A5AEA is a mid, highly saturated violet. Relative luminance 0.174; OKLCH L 57.8% C 0.207 H 288.4°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#7A5AEA
RGBrgb(122, 90, 234)
HSLhsl(253, 77%, 64%)
HSVhsv(253, 62%, 92%)
CMYKcmyk(47.9%, 61.5%, 0%, 8.2%)
CIE-LABlab(48.75, 47.68, -68.68)
CIE-LCHlch(48.75, 83.61, 304.77°)
OKLaboklab(57.84% 0.0654 -0.1966)
OKLCHoklch(57.84% 0.207 288.4)
XYZxyz(26.5292, 17.3893, 79.7846)
Luminance0.1739 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A5AEA #CAEA5A
analogous
#5A82EA #7A5AEA #C25AEA
triadic
#7A5AEA #EA7A5A #5AEA7A
tetradic
#7A5AEA #EA5A82 #CAEA5A #5AEAC2
square
#7A5AEA #EA5A82 #CAEA5A #5AEAC2
split-complementary
#7A5AEA #EAC25A #82EA5A
monochromatic
#3917B3 #4E24E3 #7A5AEA #A690F1 #D2C7F8

Accessibility & contrast

On white

4.69
#7A5AEA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#7A5AEA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A5AEA
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A5AEA#FFFFFF#000000##FFFFFF
##7A5AEA1.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077EF
Deuteranopia (green-blind)
#0070E7
Tritanopia (blue-blind)
#547C9A
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7a5aea;
/* rgb */ color: rgb(122, 90, 234);
/* oklch */ color: oklch(57.8% 0.207 288.4);
Tailwind
colors: {
  custom: {
    50: '#a88af2',
    500: '#7a5aea',
    950: '#000000',
  },
}
SCSS
$custom: #7a5aea;
$custom-light: #a88af2;
$custom-dark: #000000;
JSON
{
  "hex": "#7a5aea",
  "rgb": {
    "r": 122,
    "g": 90,
    "b": 234
  },
  "hsl": {
    "h": 253.333,
    "s": 77.419,
    "l": 63.529
  },
  "oklch": {
    "l": 0.57838,
    "c": 0.20715,
    "h": 288.4
  },
  "luminance": 0.1739
}

Semantic roles & 50–950 ramp

primary
#7A5AEA
secondary
#DEE9B6
accent
#DA0CAC
background
#FAF8FE
surface
#F5F0FD
border
#CFCBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #7A5AEA

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

Preview Lab → · Contrast checker → · Palette generator →

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