#7D5AE0#7D5AE0

#7D5AE0 is a mid, vivid violet. Relative luminance 0.171; OKLCH L 57.4% C 0.195 H 291.0°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#7D5AE0
RGBrgb(125, 90, 224)
HSLhsl(256, 68%, 62%)
HSVhsv(256, 60%, 88%)
CMYKcmyk(44.2%, 59.8%, 0%, 12.2%)
CIE-LABlab(48.33, 45.48, -63.70)
CIE-LCHlch(48.33, 78.27, 305.53°)
OKLaboklab(57.38% 0.0699 -0.1818)
OKLCHoklch(57.38% 0.195 291)
XYZxyz(25.5644, 17.0533, 72.4512)
Luminance0.1705 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D5AE0 #BDE05A
analogous
#5A7AE0 #7D5AE0 #C05AE0
triadic
#7D5AE0 #E07D5A #5AE07D
tetradic
#7D5AE0 #E05A7A #BDE05A #5AE0C0
square
#7D5AE0 #E05A7A #BDE05A #5AE0C0
split-complementary
#7D5AE0 #E0C05A #7AE05A
monochromatic
#411EA1 #5528D5 #7D5AE0 #A68EEA #CEC1F3

Accessibility & contrast

On white

4.76
#7D5AE0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#7D5AE0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D5AE0
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D5AE0#FFFFFF#000000##FFFFFF
##7D5AE01.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075E4
Deuteranopia (green-blind)
#0070DD
Tritanopia (blue-blind)
#607894
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7d5ae0;
/* rgb */ color: rgb(125, 90, 224);
/* oklch */ color: oklch(57.4% 0.195 291.0);
Tailwind
colors: {
  custom: {
    50: '#a98aea',
    500: '#7d5ae0',
    950: '#000000',
  },
}
SCSS
$custom: #7d5ae0;
$custom-light: #a98aea;
$custom-dark: #000000;
JSON
{
  "hex": "#7d5ae0",
  "rgb": {
    "r": 125,
    "g": 90,
    "b": 224
  },
  "hsl": {
    "h": 255.672,
    "s": 68.367,
    "l": 61.569
  },
  "oklch": {
    "l": 0.57377,
    "c": 0.19478,
    "h": 291
  },
  "luminance": 0.17054
}

Semantic roles & 50–950 ramp

primary
#7D5AE0
secondary
#D7E4B2
accent
#D0159F
background
#FAF8FE
surface
#F5F0FD
border
#CFCBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #7D5AE0

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

Preview Lab → · Contrast checker → · Palette generator →

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