#7D5AFD#7D5AFD

#7D5AFD is a mid, highly saturated violet. Relative luminance 0.188; OKLCH L 59.5% C 0.230 H 287.1°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#7D5AFD
RGBrgb(125, 90, 253)
HSLhsl(253, 98%, 67%)
HSVhsv(253, 64%, 99%)
CMYKcmyk(50.6%, 64.4%, 0%, 0.8%)
CIE-LABlab(50.41, 53.58, -76.59)
CIE-LCHlch(50.41, 93.46, 304.97°)
OKLaboklab(59.54% 0.0675 -0.2197)
OKLCHoklch(59.54% 0.23 287.1)
XYZxyz(29.8380, 18.7627, 94.9588)
Luminance0.1876 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D5AFD #DAFD5A
analogous
#5A89FD #7D5AFD #CE5AFD
triadic
#7D5AFD #FD7D5A #5AFD7D
tetradic
#7D5AFD #FD5A89 #DAFD5A #5AFDCE
square
#7D5AFD #FD5A89 #DAFD5A #5AFDCE
split-complementary
#7D5AFD #FDCE5A #89FD5A
monochromatic
#3103DA #4D1EFC #7D5AFD #AD96FE #DCD3FE

Accessibility & contrast

On white

4.42
#7D5AFD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#7D5AFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D5AFD
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D5AFD#FFFFFF#000000##000000
##7D5AFD1.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CFF
Deuteranopia (green-blind)
#0073FA
Tritanopia (blue-blind)
#4D82A4
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7d5afd;
/* rgb */ color: rgb(125, 90, 253);
/* oklch */ color: oklch(59.5% 0.230 287.1);
Tailwind
colors: {
  custom: {
    50: '#ad8bff',
    500: '#7d5afd',
    950: '#000000',
  },
}
SCSS
$custom: #7d5afd;
$custom-light: #ad8bff;
$custom-dark: #000000;
JSON
{
  "hex": "#7d5afd",
  "rgb": {
    "r": 125,
    "g": 90,
    "b": 253
  },
  "hsl": {
    "h": 252.883,
    "s": 97.605,
    "l": 67.255
  },
  "oklch": {
    "l": 0.59544,
    "c": 0.22986,
    "h": 287.1
  },
  "luminance": 0.18764
}

Semantic roles & 50–950 ramp

primary
#7D5AFD
secondary
#E8F3C0
accent
#E600B4
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86

Preview Lab

Preview with #7D5AFD

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

Preview Lab → · Contrast checker → · Palette generator →

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