#7D5AE6#7D5AE6

#7D5AE6 is a mid, highly saturated violet. Relative luminance 0.174; OKLCH L 57.8% C 0.202 H 290.1°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#7D5AE6
RGBrgb(125, 90, 230)
HSLhsl(255, 74%, 63%)
HSVhsv(255, 61%, 90%)
CMYKcmyk(45.7%, 60.9%, 0%, 9.8%)
CIE-LABlab(48.74, 47.14, -66.42)
CIE-LCHlch(48.74, 81.45, 305.37°)
OKLaboklab(57.81% 0.0696 -0.1898)
OKLCHoklch(57.81% 0.202 290.1)
XYZxyz(26.3925, 17.3845, 76.8125)
Luminance0.1739 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D5AE6 #C3E65A
analogous
#5A7DE6 #7D5AE6 #C35AE6
triadic
#7D5AE6 #E67D5A #5AE67D
tetradic
#7D5AE6 #E65A7D #C3E65A #5AE6C3
square
#7D5AE6 #E65A7D #C3E65A #5AE6C3
split-complementary
#7D5AE6 #E6C35A #7DE65A
monochromatic
#3E1AAC #5325DE #7D5AE6 #A78FEE #D1C4F6

Accessibility & contrast

On white

4.69
#7D5AE6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#7D5AE6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D5AE6
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D5AE6#FFFFFF#000000##FFFFFF
##7D5AE61.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076EA
Deuteranopia (green-blind)
#0071E3
Tritanopia (blue-blind)
#5C7A98
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7d5ae6;
/* rgb */ color: rgb(125, 90, 230);
/* oklch */ color: oklch(57.8% 0.202 290.1);
Tailwind
colors: {
  custom: {
    50: '#aa8aef',
    500: '#7d5ae6',
    950: '#000000',
  },
}
SCSS
$custom: #7d5ae6;
$custom-light: #aa8aef;
$custom-dark: #000000;
JSON
{
  "hex": "#7d5ae6",
  "rgb": {
    "r": 125,
    "g": 90,
    "b": 230
  },
  "hsl": {
    "h": 255,
    "s": 73.684,
    "l": 62.745
  },
  "oklch": {
    "l": 0.5781,
    "c": 0.20217,
    "h": 290.1
  },
  "luminance": 0.17385
}

Semantic roles & 50–950 ramp

primary
#7D5AE6
secondary
#DBE7B5
accent
#D610A4
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #7D5AE6

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

Preview Lab → · Contrast checker → · Palette generator →

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