#7D5EF7#7D5EF7

#7D5EF7 is a mid, highly saturated violet. Relative luminance 0.191; OKLCH L 59.7% C 0.218 H 287.2°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#7D5EF7
RGBrgb(125, 94, 247)
HSLhsl(252, 91%, 67%)
HSVhsv(252, 62%, 97%)
CMYKcmyk(49.4%, 61.9%, 0%, 3.1%)
CIE-LABlab(50.78, 49.70, -72.64)
CIE-LCHlch(50.78, 88.02, 304.38°)
OKLaboklab(59.68% 0.0643 -0.2081)
OKLCHoklch(59.68% 0.218 287.2)
XYZxyz(29.2437, 19.0794, 90.1195)
Luminance0.1908 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D5EF7 #D8F75E
analogous
#5E8CF7 #7D5EF7 #CA5EF7
triadic
#7D5EF7 #F77D5E #5EF77D
tetradic
#7D5EF7 #F75E8C #D8F75E #5EF7CA
square
#7D5EF7 #F75E8C #D8F75E #5EF7CA
split-complementary
#7D5EF7 #F7CA5E #8CF75E
monochromatic
#320AD0 #4E24F4 #7D5EF7 #AC98FA #DBD3FD

Accessibility & contrast

On white

4.36
#7D5EF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#7D5EF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D5EF7
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D5EF7#FFFFFF#000000##000000
##7D5EF71.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DFC
Deuteranopia (green-blind)
#0075F4
Tritanopia (blue-blind)
#5183A2
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #7d5ef7;
/* rgb */ color: rgb(125, 94, 247);
/* oklch */ color: oklch(59.7% 0.218 287.2);
Tailwind
colors: {
  custom: {
    50: '#ac8dfb',
    500: '#7d5ef7',
    950: '#000000',
  },
}
SCSS
$custom: #7d5ef7;
$custom-light: #ac8dfb;
$custom-dark: #000000;
JSON
{
  "hex": "#7d5ef7",
  "rgb": {
    "r": 125,
    "g": 94,
    "b": 247
  },
  "hsl": {
    "h": 252.157,
    "s": 90.533,
    "l": 66.863
  },
  "oklch": {
    "l": 0.59676,
    "c": 0.21782,
    "h": 287.2
  },
  "luminance": 0.19081
}

Semantic roles & 50–950 ramp

primary
#7D5EF7
secondary
#E7F1C0
accent
#E600B7
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #7D5EF7

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

Preview Lab → · Contrast checker → · Palette generator →

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