#7C5AE5#7C5AE5

#7C5AE5 is a mid, highly saturated violet. Relative luminance 0.173; OKLCH L 57.6% C 0.201 H 289.9°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#7C5AE5
RGBrgb(124, 90, 229)
HSLhsl(255, 73%, 63%)
HSVhsv(255, 61%, 90%)
CMYKcmyk(45.9%, 60.7%, 0%, 10.2%)
CIE-LABlab(48.58, 46.67, -66.12)
CIE-LCHlch(48.58, 80.93, 305.21°)
OKLaboklab(57.65% 0.0683 -0.189)
OKLCHoklch(57.65% 0.201 289.9)
XYZxyz(26.1072, 17.2536, 76.0682)
Luminance0.1726 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C5AE5 #C3E55A
analogous
#5A7EE5 #7C5AE5 #C15AE5
triadic
#7C5AE5 #E57C5A #5AE57C
tetradic
#7C5AE5 #E55A7E #C3E55A #5AE5C1
square
#7C5AE5 #E55A7E #C3E55A #5AE5C1
split-complementary
#7C5AE5 #E5C15A #7EE55A
monochromatic
#3E1BAA #5225DD #7C5AE5 #A68FED #D0C4F6

Accessibility & contrast

On white

4.72
#7C5AE5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#7C5AE5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C5AE5
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C5AE5#FFFFFF#000000##FFFFFF
##7C5AE51.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076E9
Deuteranopia (green-blind)
#0070E2
Tritanopia (blue-blind)
#5B7A97
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7c5ae5;
/* rgb */ color: rgb(124, 90, 229);
/* oklch */ color: oklch(57.6% 0.201 289.9);
Tailwind
colors: {
  custom: {
    50: '#a98aee',
    500: '#7c5ae5',
    950: '#000000',
  },
}
SCSS
$custom: #7c5ae5;
$custom-light: #a98aee;
$custom-dark: #000000;
JSON
{
  "hex": "#7c5ae5",
  "rgb": {
    "r": 124,
    "g": 90,
    "b": 229
  },
  "hsl": {
    "h": 254.676,
    "s": 72.775,
    "l": 62.549
  },
  "oklch": {
    "l": 0.57647,
    "c": 0.20096,
    "h": 289.9
  },
  "luminance": 0.17255
}

Semantic roles & 50–950 ramp

primary
#7C5AE5
secondary
#DAE7B4
accent
#D511A5
background
#FAF8FE
surface
#F5F0FD
border
#CFCBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #7C5AE5

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

Preview Lab → · Contrast checker → · Palette generator →

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