#7D5AE5#7D5AE5

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

Color values

HEX#7D5AE5
RGBrgb(125, 90, 229)
HSLhsl(255, 73%, 63%)
HSVhsv(255, 61%, 90%)
CMYKcmyk(45.4%, 60.7%, 0%, 10.2%)
CIE-LABlab(48.67, 46.87, -65.97)
CIE-LCHlch(48.67, 80.92, 305.39°)
OKLaboklab(57.74% 0.0696 -0.1885)
OKLCHoklch(57.74% 0.201 290.3)
XYZxyz(26.2525, 17.3285, 76.0751)
Luminance0.1733 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D5AE5 #C2E55A
analogous
#5A7CE5 #7D5AE5 #C35AE5
triadic
#7D5AE5 #E57D5A #5AE57D
tetradic
#7D5AE5 #E55A7C #C2E55A #5AE5C3
square
#7D5AE5 #E55A7C #C2E55A #5AE5C3
split-complementary
#7D5AE5 #E5C35A #7CE55A
monochromatic
#3F1BAA #5325DD #7D5AE5 #A78FED #D0C4F6

Accessibility & contrast

On white

4.70
#7D5AE5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#7D5AE5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D5AE5
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D5AE5#FFFFFF#000000##FFFFFF
##7D5AE51.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d5ae5;
/* rgb */ color: rgb(125, 90, 229);
/* oklch */ color: oklch(57.7% 0.201 290.3);
Tailwind
colors: {
  custom: {
    50: '#aa8aee',
    500: '#7d5ae5',
    950: '#000000',
  },
}
SCSS
$custom: #7d5ae5;
$custom-light: #aa8aee;
$custom-dark: #000000;
JSON
{
  "hex": "#7d5ae5",
  "rgb": {
    "r": 125,
    "g": 90,
    "b": 229
  },
  "hsl": {
    "h": 255.108,
    "s": 72.775,
    "l": 62.549
  },
  "oklch": {
    "l": 0.57738,
    "c": 0.20095,
    "h": 290.3
  },
  "luminance": 0.17329
}

Semantic roles & 50–950 ramp

primary
#7D5AE5
secondary
#DAE7B4
accent
#D511A3
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #7D5AE5

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

Preview Lab → · Contrast checker → · Palette generator →

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