#7D5AE7#7D5AE7

#7D5AE7 is a mid, highly saturated violet. Relative luminance 0.174; OKLCH L 57.9% C 0.203 H 290.0°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#7D5AE7
RGBrgb(125, 90, 231)
HSLhsl(255, 75%, 63%)
HSVhsv(255, 61%, 91%)
CMYKcmyk(45.9%, 61%, 0%, 9.4%)
CIE-LABlab(48.81, 47.42, -66.87)
CIE-LCHlch(48.81, 81.98, 305.34°)
OKLaboklab(57.88% 0.0695 -0.1911)
OKLCHoklch(57.88% 0.203 290)
XYZxyz(26.5333, 17.4408, 77.5542)
Luminance0.1744 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D5AE7 #C4E75A
analogous
#5A7DE7 #7D5AE7 #C45AE7
triadic
#7D5AE7 #E77D5A #5AE77D
tetradic
#7D5AE7 #E75A7D #C4E75A #5AE7C4
square
#7D5AE7 #E75A7D #C4E75A #5AE7C4
split-complementary
#7D5AE7 #E7C45A #7DE75A
monochromatic
#3E19AD #5325DF #7D5AE7 #A78FEF #D1C5F7

Accessibility & contrast

On white

4.68
#7D5AE7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#7D5AE7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D5AE7
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D5AE7#FFFFFF#000000##FFFFFF
##7D5AE71.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077EC
Deuteranopia (green-blind)
#0071E4
Tritanopia (blue-blind)
#5C7B98
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7d5ae7;
/* rgb */ color: rgb(125, 90, 231);
/* oklch */ color: oklch(57.9% 0.203 290.0);
Tailwind
colors: {
  custom: {
    50: '#aa8aef',
    500: '#7d5ae7',
    950: '#000000',
  },
}
SCSS
$custom: #7d5ae7;
$custom-light: #aa8aef;
$custom-dark: #000000;
JSON
{
  "hex": "#7d5ae7",
  "rgb": {
    "r": 125,
    "g": 90,
    "b": 231
  },
  "hsl": {
    "h": 254.894,
    "s": 74.603,
    "l": 62.941
  },
  "oklch": {
    "l": 0.57883,
    "c": 0.20339,
    "h": 290
  },
  "luminance": 0.17442
}

Semantic roles & 50–950 ramp

primary
#7D5AE7
secondary
#DBE8B5
accent
#D70FA5
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #7D5AE7

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

Preview Lab → · Contrast checker → · Palette generator →

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