#7D5DF7#7D5DF7

#7D5DF7 is a mid, highly saturated violet. Relative luminance 0.189; OKLCH L 59.5% C 0.219 H 287.3°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#7D5DF7
RGBrgb(125, 93, 247)
HSLhsl(252, 91%, 67%)
HSVhsv(252, 62%, 97%)
CMYKcmyk(49.4%, 62.3%, 0%, 3.1%)
CIE-LABlab(50.57, 50.25, -72.98)
CIE-LCHlch(50.57, 88.61, 304.55°)
OKLaboklab(59.52% 0.0653 -0.2091)
OKLCHoklch(59.52% 0.219 287.3)
XYZxyz(29.1554, 18.9027, 90.0900)
Luminance0.1890 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D5DF7 #D7F75D
analogous
#5D8AF7 #7D5DF7 #CA5DF7
triadic
#7D5DF7 #F77D5D #5DF77D
tetradic
#7D5DF7 #F75D8A #D7F75D #5DF7CA
square
#7D5DF7 #F75D8A #D7F75D #5DF7CA
split-complementary
#7D5DF7 #F7CA5D #8AF75D
monochromatic
#330ACF #4E23F4 #7D5DF7 #AC97FA #DBD2FD

Accessibility & contrast

On white

4.39
#7D5DF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#7D5DF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D5DF7
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D5DF7#FFFFFF#000000##000000
##7D5DF71.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CFC
Deuteranopia (green-blind)
#0074F4
Tritanopia (blue-blind)
#5182A2
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7d5df7;
/* rgb */ color: rgb(125, 93, 247);
/* oklch */ color: oklch(59.5% 0.219 287.3);
Tailwind
colors: {
  custom: {
    50: '#ac8cfb',
    500: '#7d5df7',
    950: '#000000',
  },
}
SCSS
$custom: #7d5df7;
$custom-light: #ac8cfb;
$custom-dark: #000000;
JSON
{
  "hex": "#7d5df7",
  "rgb": {
    "r": 125,
    "g": 93,
    "b": 247
  },
  "hsl": {
    "h": 252.468,
    "s": 90.588,
    "l": 66.667
  },
  "oklch": {
    "l": 0.59525,
    "c": 0.21906,
    "h": 287.3
  },
  "luminance": 0.18904
}

Semantic roles & 50–950 ramp

primary
#7D5DF7
secondary
#E6F1BF
accent
#E600B6
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86

Preview Lab

Preview with #7D5DF7

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

Preview Lab → · Contrast checker → · Palette generator →

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