#7D5EF8#7D5EF8

#7D5EF8 is a mid, highly saturated violet. Relative luminance 0.191; OKLCH L 59.8% C 0.219 H 287.0°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#7D5EF8
RGBrgb(125, 94, 248)
HSLhsl(252, 92%, 67%)
HSVhsv(252, 62%, 97%)
CMYKcmyk(49.6%, 62.1%, 0%, 2.7%)
CIE-LABlab(50.85, 49.99, -73.08)
CIE-LCHlch(50.85, 88.54, 304.37°)
OKLaboklab(59.75% 0.0642 -0.2094)
OKLCHoklch(59.75% 0.219 287)
XYZxyz(29.3985, 19.1413, 90.9343)
Luminance0.1914 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D5EF8 #D9F85E
analogous
#5E8CF8 #7D5EF8 #CA5EF8
triadic
#7D5EF8 #F87D5E #5EF87D
tetradic
#7D5EF8 #F85E8C #D9F85E #5EF8CA
square
#7D5EF8 #F85E8C #D9F85E #5EF8CA
split-complementary
#7D5EF8 #F8CA5E #8CF85E
monochromatic
#3209D2 #4E23F5 #7D5EF8 #AC99FB #DCD3FD

Accessibility & contrast

On white

4.35
#7D5EF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#7D5EF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D5EF8
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D5EF8#FFFFFF#000000##000000
##7D5EF81.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DFD
Deuteranopia (green-blind)
#0075F5
Tritanopia (blue-blind)
#5083A2
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #7d5ef8;
/* rgb */ color: rgb(125, 94, 248);
/* oklch */ color: oklch(59.8% 0.219 287.0);
Tailwind
colors: {
  custom: {
    50: '#ac8dfc',
    500: '#7d5ef8',
    950: '#000000',
  },
}
SCSS
$custom: #7d5ef8;
$custom-light: #ac8dfc;
$custom-dark: #000000;
JSON
{
  "hex": "#7d5ef8",
  "rgb": {
    "r": 125,
    "g": 94,
    "b": 248
  },
  "hsl": {
    "h": 252.078,
    "s": 91.667,
    "l": 67.059
  },
  "oklch": {
    "l": 0.59751,
    "c": 0.21904,
    "h": 287
  },
  "luminance": 0.19143
}

Semantic roles & 50–950 ramp

primary
#7D5EF8
secondary
#E8F1C0
accent
#E600B7
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86

Preview Lab

Preview with #7D5EF8

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

Preview Lab → · Contrast checker → · Palette generator →

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