#7D5EFE#7D5EFE

#7D5EFE is a mid, highly saturated violet. Relative luminance 0.195; OKLCH L 60.2% C 0.226 H 286.3°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#7D5EFE
RGBrgb(125, 94, 254)
HSLhsl(252, 99%, 68%)
HSVhsv(252, 63%, 100%)
CMYKcmyk(50.8%, 63%, 0%, 0.4%)
CIE-LABlab(51.29, 51.69, -75.71)
CIE-LCHlch(51.29, 91.67, 304.32°)
OKLaboklab(60.21% 0.0637 -0.2171)
OKLCHoklch(60.21% 0.226 286.3)
XYZxyz(30.3442, 19.5196, 95.9155)
Luminance0.1952 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D5EFE #DFFE5E
analogous
#5E8FFE #7D5EFE #CD5EFE
triadic
#7D5EFE #FE7D5E #5EFE7D
tetradic
#7D5EFE #FE5E8F #DFFE5E #5EFECD
square
#7D5EFE #FE5E8F #DFFE5E #5EFECD
split-complementary
#7D5EFE #FECD5E #8FFE5E
monochromatic
#2D01E0 #4C21FE #7D5EFE #AE9BFE #DFD8FF

Accessibility & contrast

On white

4.28
#7D5EFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#7D5EFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D5EFE
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D5EFE#FFFFFF#000000##000000
##7D5EFE1.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EFF
Deuteranopia (green-blind)
#0076FB
Tritanopia (blue-blind)
#4C85A6
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #7d5efe;
/* rgb */ color: rgb(125, 94, 254);
/* oklch */ color: oklch(60.2% 0.226 286.3);
Tailwind
colors: {
  custom: {
    50: '#ac8dff',
    500: '#7d5efe',
    950: '#000000',
  },
}
SCSS
$custom: #7d5efe;
$custom-light: #ac8dff;
$custom-dark: #000000;
JSON
{
  "hex": "#7d5efe",
  "rgb": {
    "r": 125,
    "g": 94,
    "b": 254
  },
  "hsl": {
    "h": 251.625,
    "s": 98.765,
    "l": 68.235
  },
  "oklch": {
    "l": 0.60206,
    "c": 0.22628,
    "h": 286.3
  },
  "luminance": 0.19521
}

Semantic roles & 50–950 ramp

primary
#7D5EFE
secondary
#EBF4C4
accent
#E600B9
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86

Preview Lab

Preview with #7D5EFE

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

Preview Lab → · Contrast checker → · Palette generator →

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