#7D5EF9#7D5EF9

#7D5EF9 is a mid, highly saturated violet. Relative luminance 0.192; OKLCH L 59.8% C 0.220 H 286.9°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#7D5EF9
RGBrgb(125, 94, 249)
HSLhsl(252, 93%, 67%)
HSVhsv(252, 62%, 98%)
CMYKcmyk(49.8%, 62.2%, 0%, 2.4%)
CIE-LABlab(50.92, 50.27, -73.52)
CIE-LCHlch(50.92, 89.06, 304.36°)
OKLaboklab(59.83% 0.0641 -0.2107)
OKLCHoklch(59.83% 0.22 286.9)
XYZxyz(29.5540, 19.2035, 91.7536)
Luminance0.1920 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D5EF9 #DAF95E
analogous
#5E8DF9 #7D5EF9 #CB5EF9
triadic
#7D5EF9 #F97D5E #5EF97D
tetradic
#7D5EF9 #F95E8D #DAF95E #5EF9CB
square
#7D5EF9 #F95E8D #DAF95E #5EF9CB
split-complementary
#7D5EF9 #F9CB5E #8DF95E
monochromatic
#3108D5 #4D23F7 #7D5EF9 #AD99FB #DCD4FD

Accessibility & contrast

On white

4.34
#7D5EF9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#7D5EF9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D5EF9
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D5EF9#FFFFFF#000000##000000
##7D5EF91.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d5ef9;
/* rgb */ color: rgb(125, 94, 249);
/* oklch */ color: oklch(59.8% 0.220 286.9);
Tailwind
colors: {
  custom: {
    50: '#ac8dfc',
    500: '#7d5ef9',
    950: '#000000',
  },
}
SCSS
$custom: #7d5ef9;
$custom-light: #ac8dfc;
$custom-dark: #000000;
JSON
{
  "hex": "#7d5ef9",
  "rgb": {
    "r": 125,
    "g": 94,
    "b": 249
  },
  "hsl": {
    "h": 252,
    "s": 92.814,
    "l": 67.255
  },
  "oklch": {
    "l": 0.59826,
    "c": 0.22025,
    "h": 286.9
  },
  "luminance": 0.19205
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7D5EF9

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

Preview Lab → · Contrast checker → · Palette generator →

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