#7A5AEF#7A5AEF

#7A5AEF is a mid, highly saturated violet. Relative luminance 0.177; OKLCH L 58.2% C 0.213 H 287.8°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#7A5AEF
RGBrgb(122, 90, 239)
HSLhsl(253, 82%, 65%)
HSVhsv(253, 62%, 94%)
CMYKcmyk(49%, 62.3%, 0%, 6.3%)
CIE-LABlab(49.11, 49.09, -70.90)
CIE-LCHlch(49.11, 86.24, 304.70°)
OKLaboklab(58.21% 0.065 -0.2031)
OKLCHoklch(58.21% 0.213 287.8)
XYZxyz(27.2576, 17.6807, 83.6211)
Luminance0.1768 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A5AEF #CFEF5A
analogous
#5A85EF #7A5AEF #C55AEF
triadic
#7A5AEF #EF7A5A #5AEF7A
tetradic
#7A5AEF #EF5A85 #CFEF5A #5AEFC5
square
#7A5AEF #EF5A85 #CFEF5A #5AEFC5
split-complementary
#7A5AEF #EFC55A #85EF5A
monochromatic
#3712BC #4D22EA #7A5AEF #A792F4 #D4CAFA

Accessibility & contrast

On white

4.63
#7A5AEF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#7A5AEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7A5AEF
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A5AEF#FFFFFF#000000##FFFFFF
##7A5AEF1.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078F4
Deuteranopia (green-blind)
#0071EC
Tritanopia (blue-blind)
#517E9C
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7a5aef;
/* rgb */ color: rgb(122, 90, 239);
/* oklch */ color: oklch(58.2% 0.213 287.8);
Tailwind
colors: {
  custom: {
    50: '#a98af5',
    500: '#7a5aef',
    950: '#000000',
  },
}
SCSS
$custom: #7a5aef;
$custom-light: #a98af5;
$custom-dark: #000000;
JSON
{
  "hex": "#7a5aef",
  "rgb": {
    "r": 122,
    "g": 90,
    "b": 239
  },
  "hsl": {
    "h": 252.886,
    "s": 82.32,
    "l": 64.51
  },
  "oklch": {
    "l": 0.58212,
    "c": 0.21325,
    "h": 287.8
  },
  "luminance": 0.17682
}

Semantic roles & 50–950 ramp

primary
#7A5AEF
secondary
#E1ECB9
accent
#DF07B0
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #7A5AEF

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

Preview Lab → · Contrast checker → · Palette generator →

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