#7C5AEA#7C5AEA

#7C5AEA is a mid, highly saturated violet. Relative luminance 0.175; OKLCH L 58.0% C 0.207 H 289.2°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#7C5AEA
RGBrgb(124, 90, 234)
HSLhsl(254, 77%, 64%)
HSVhsv(254, 62%, 92%)
CMYKcmyk(47%, 61.5%, 0%, 8.2%)
CIE-LABlab(48.93, 48.06, -68.37)
CIE-LCHlch(48.93, 83.58, 305.11°)
OKLaboklab(58.01% 0.068 -0.1956)
OKLCHoklch(58.01% 0.207 289.2)
XYZxyz(26.8154, 17.5369, 79.7980)
Luminance0.1754 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C5AEA #C8EA5A
analogous
#5A80EA #7C5AEA #C45AEA
triadic
#7C5AEA #EA7C5A #5AEA7C
tetradic
#7C5AEA #EA5A80 #C8EA5A #5AEAC4
square
#7C5AEA #EA5A80 #C8EA5A #5AEAC4
split-complementary
#7C5AEA #EAC45A #80EA5A
monochromatic
#3C17B3 #5124E3 #7C5AEA #A790F1 #D2C7F8

Accessibility & contrast

On white

4.66
#7C5AEA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#7C5AEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7C5AEA
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C5AEA#FFFFFF#000000##FFFFFF
##7C5AEA1.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7c5aea;
/* rgb */ color: rgb(124, 90, 234);
/* oklch */ color: oklch(58.0% 0.207 289.2);
Tailwind
colors: {
  custom: {
    50: '#aa8af2',
    500: '#7c5aea',
    950: '#000000',
  },
}
SCSS
$custom: #7c5aea;
$custom-light: #aa8af2;
$custom-dark: #000000;
JSON
{
  "hex": "#7c5aea",
  "rgb": {
    "r": 124,
    "g": 90,
    "b": 234
  },
  "hsl": {
    "h": 254.167,
    "s": 77.419,
    "l": 63.529
  },
  "oklch": {
    "l": 0.58014,
    "c": 0.20708,
    "h": 289.2
  },
  "luminance": 0.17538
}

Semantic roles & 50–950 ramp

primary
#7C5AEA
secondary
#DDE9B6
accent
#DA0CA9
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #7C5AEA

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

Preview Lab → · Contrast checker → · Palette generator →

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