#7D5AE8#7D5AE8

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

Color values

HEX#7D5AE8
RGBrgb(125, 90, 232)
HSLhsl(255, 76%, 63%)
HSVhsv(255, 61%, 91%)
CMYKcmyk(46.1%, 61.2%, 0%, 9%)
CIE-LABlab(48.88, 47.70, -67.32)
CIE-LCHlch(48.88, 82.51, 305.32°)
OKLaboklab(57.96% 0.0694 -0.1925)
OKLCHoklch(57.96% 0.205 289.8)
XYZxyz(26.6750, 17.4975, 78.3001)
Luminance0.1750 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D5AE8 #C5E85A
analogous
#5A7EE8 #7D5AE8 #C45AE8
triadic
#7D5AE8 #E87D5A #5AE87D
tetradic
#7D5AE8 #E85A7E #C5E85A #5AE8C4
square
#7D5AE8 #E85A7E #C5E85A #5AE8C4
split-complementary
#7D5AE8 #E8C45A #7EE85A
monochromatic
#3E18AF #5324E1 #7D5AE8 #A790EF #D2C5F7

Accessibility & contrast

On white

4.67
#7D5AE8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#7D5AE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7D5AE8
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D5AE8#FFFFFF#000000##FFFFFF
##7D5AE81.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077ED
Deuteranopia (green-blind)
#0071E5
Tritanopia (blue-blind)
#5B7B99
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7d5ae8;
/* rgb */ color: rgb(125, 90, 232);
/* oklch */ color: oklch(58.0% 0.205 289.8);
Tailwind
colors: {
  custom: {
    50: '#aa8af0',
    500: '#7d5ae8',
    950: '#000000',
  },
}
SCSS
$custom: #7d5ae8;
$custom-light: #aa8af0;
$custom-dark: #000000;
JSON
{
  "hex": "#7d5ae8",
  "rgb": {
    "r": 125,
    "g": 90,
    "b": 232
  },
  "hsl": {
    "h": 254.789,
    "s": 75.532,
    "l": 63.137
  },
  "oklch": {
    "l": 0.57957,
    "c": 0.20462,
    "h": 289.8
  },
  "luminance": 0.17498
}

Semantic roles & 50–950 ramp

primary
#7D5AE8
secondary
#DCE8B5
accent
#D80EA6
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #7D5AE8

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

Preview Lab → · Contrast checker → · Palette generator →

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