#7D5DF9#7D5DF9

#7D5DF9 is a mid, highly saturated violet. Relative luminance 0.190; OKLCH L 59.7% C 0.221 H 287.1°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#7D5DF9
RGBrgb(125, 93, 249)
HSLhsl(252, 93%, 67%)
HSVhsv(252, 63%, 98%)
CMYKcmyk(49.8%, 62.7%, 0%, 2.4%)
CIE-LABlab(50.72, 50.82, -73.86)
CIE-LCHlch(50.72, 89.65, 304.53°)
OKLaboklab(59.68% 0.0651 -0.2117)
OKLCHoklch(59.68% 0.221 287.1)
XYZxyz(29.4657, 19.0268, 91.7241)
Luminance0.1903 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D5DF9 #D9F95D
analogous
#5D8BF9 #7D5DF9 #CB5DF9
triadic
#7D5DF9 #F97D5D #5DF97D
tetradic
#7D5DF9 #F95D8B #D9F95D #5DF9CB
square
#7D5DF9 #F95D8B #D9F95D #5DF9CB
split-complementary
#7D5DF9 #F9CB5D #8BF95D
monochromatic
#3208D4 #4E22F7 #7D5DF9 #AC98FB #DCD3FD

Accessibility & contrast

On white

4.37
#7D5DF9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#7D5DF9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D5DF9
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D5DF9#FFFFFF#000000##000000
##7D5DF91.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DFE
Deuteranopia (green-blind)
#0074F6
Tritanopia (blue-blind)
#5083A3
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #7d5df9;
/* rgb */ color: rgb(125, 93, 249);
/* oklch */ color: oklch(59.7% 0.221 287.1);
Tailwind
colors: {
  custom: {
    50: '#ac8cfc',
    500: '#7d5df9',
    950: '#000000',
  },
}
SCSS
$custom: #7d5df9;
$custom-light: #ac8cfc;
$custom-dark: #000000;
JSON
{
  "hex": "#7d5df9",
  "rgb": {
    "r": 125,
    "g": 93,
    "b": 249
  },
  "hsl": {
    "h": 252.308,
    "s": 92.857,
    "l": 67.059
  },
  "oklch": {
    "l": 0.59677,
    "c": 0.22147,
    "h": 287.1
  },
  "luminance": 0.19028
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7D5DF9

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

Preview Lab → · Contrast checker → · Palette generator →

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