#7A5CE4#7A5CE4

#7A5CE4 is a mid, vivid violet. Relative luminance 0.174; OKLCH L 57.7% C 0.197 H 288.8°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#7A5CE4
RGBrgb(122, 92, 228)
HSLhsl(253, 72%, 63%)
HSVhsv(253, 60%, 89%)
CMYKcmyk(46.5%, 59.6%, 0%, 10.6%)
CIE-LABlab(48.75, 44.86, -65.29)
CIE-LCHlch(48.75, 79.22, 304.50°)
OKLaboklab(57.71% 0.0637 -0.1866)
OKLCHoklch(57.71% 0.197 288.8)
XYZxyz(25.8528, 17.3923, 75.3786)
Luminance0.1739 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A5CE4 #C6E45C
analogous
#5C82E4 #7A5CE4 #BE5CE4
triadic
#7A5CE4 #E47A5C #5CE47A
tetradic
#7A5CE4 #E45C82 #C6E45C #5CE4BE
square
#7A5CE4 #E45C82 #C6E45C #5CE4BE
split-complementary
#7A5CE4 #E4BE5C #82E45C
monochromatic
#3B1CAA #4F27DB #7A5CE4 #A591ED #D0C5F5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7A5CE4#FFFFFF#000000##FFFFFF
##7A5CE41.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)
#0077E8
Deuteranopia (green-blind)
#0070E1
Tritanopia (blue-blind)
#587B97
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7a5ce4;
/* rgb */ color: rgb(122, 92, 228);
/* oklch */ color: oklch(57.7% 0.197 288.8);
Tailwind
colors: {
  custom: {
    50: '#a88bed',
    500: '#7a5ce4',
    950: '#000000',
  },
}
SCSS
$custom: #7a5ce4;
$custom-light: #a88bed;
$custom-dark: #000000;
JSON
{
  "hex": "#7a5ce4",
  "rgb": {
    "r": 122,
    "g": 92,
    "b": 228
  },
  "hsl": {
    "h": 253.235,
    "s": 71.579,
    "l": 62.745
  },
  "oklch": {
    "l": 0.57707,
    "c": 0.19715,
    "h": 288.8
  },
  "luminance": 0.17393
}

Semantic roles & 50–950 ramp

primary
#7A5CE4
secondary
#DCE7B5
accent
#D412A9
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #7A5CE4

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

Preview Lab → · Contrast checker → · Palette generator →

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