#7D5DFD#7D5DFD

#7D5DFD is a mid, highly saturated violet. Relative luminance 0.193; OKLCH L 60.0% C 0.226 H 286.6°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#7D5DFD
RGBrgb(125, 93, 253)
HSLhsl(252, 98%, 68%)
HSVhsv(252, 63%, 99%)
CMYKcmyk(50.6%, 63.2%, 0%, 0.8%)
CIE-LABlab(51.01, 51.95, -75.60)
CIE-LCHlch(51.01, 91.73, 304.50°)
OKLaboklab(59.98% 0.0647 -0.2168)
OKLCHoklch(59.98% 0.226 286.6)
XYZxyz(30.0962, 19.2790, 95.0449)
Luminance0.1928 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D5DFD #DDFD5D
analogous
#5D8DFD #7D5DFD #CD5DFD
triadic
#7D5DFD #FD7D5D #5DFD7D
tetradic
#7D5DFD #FD5D8D #DDFD5D #5DFDCD
square
#7D5DFD #FD5D8D #DDFD5D #5DFDCD
split-complementary
#7D5DFD #FDCD5D #8DFD5D
monochromatic
#2E03DD #4C21FC #7D5DFD #AE99FE #DED6FE

Accessibility & contrast

On white

4.32
#7D5DFD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#7D5DFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D5DFD
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D5DFD#FFFFFF#000000##000000
##7D5DFD1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EFF
Deuteranopia (green-blind)
#0075FA
Tritanopia (blue-blind)
#4D84A5
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #7d5dfd;
/* rgb */ color: rgb(125, 93, 253);
/* oklch */ color: oklch(60.0% 0.226 286.6);
Tailwind
colors: {
  custom: {
    50: '#ac8dff',
    500: '#7d5dfd',
    950: '#000000',
  },
}
SCSS
$custom: #7d5dfd;
$custom-light: #ac8dff;
$custom-dark: #000000;
JSON
{
  "hex": "#7d5dfd",
  "rgb": {
    "r": 125,
    "g": 93,
    "b": 253
  },
  "hsl": {
    "h": 252,
    "s": 97.561,
    "l": 67.843
  },
  "oklch": {
    "l": 0.59981,
    "c": 0.22628,
    "h": 286.6
  },
  "luminance": 0.19281
}

Semantic roles & 50–950 ramp

primary
#7D5DFD
secondary
#EAF4C2
accent
#E600B8
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86

Preview Lab

Preview with #7D5DFD

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

Preview Lab → · Contrast checker → · Palette generator →

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