#7D5CF7#7D5CF7

#7D5CF7 is a mid, highly saturated violet. Relative luminance 0.187; OKLCH L 59.4% C 0.220 H 287.5°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#7D5CF7
RGBrgb(125, 92, 247)
HSLhsl(253, 91%, 66%)
HSVhsv(253, 63%, 97%)
CMYKcmyk(49.4%, 62.8%, 0%, 3.1%)
CIE-LABlab(50.37, 50.80, -73.31)
CIE-LCHlch(50.37, 89.19, 304.72°)
OKLaboklab(59.38% 0.0662 -0.2101)
OKLCHoklch(59.38% 0.22 287.5)
XYZxyz(29.0682, 18.7283, 90.0609)
Luminance0.1873 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D5CF7 #D6F75C
analogous
#5C89F7 #7D5CF7 #CB5CF7
triadic
#7D5CF7 #F77D5C #5CF77D
tetradic
#7D5CF7 #F75C89 #D6F75C #5CF7CB
square
#7D5CF7 #F75C89 #D6F75C #5CF7CB
split-complementary
#7D5CF7 #F7CB5C #89F75C
monochromatic
#340ACE #4E22F4 #7D5CF7 #AC96FA #DAD1FD

Accessibility & contrast

On white

4.42
#7D5CF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#7D5CF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D5CF7
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D5CF7#FFFFFF#000000##000000
##7D5CF71.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CFC
Deuteranopia (green-blind)
#0074F4
Tritanopia (blue-blind)
#5181A1
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7d5cf7;
/* rgb */ color: rgb(125, 92, 247);
/* oklch */ color: oklch(59.4% 0.220 287.5);
Tailwind
colors: {
  custom: {
    50: '#ac8cfb',
    500: '#7d5cf7',
    950: '#000000',
  },
}
SCSS
$custom: #7d5cf7;
$custom-light: #ac8cfb;
$custom-dark: #000000;
JSON
{
  "hex": "#7d5cf7",
  "rgb": {
    "r": 125,
    "g": 92,
    "b": 247
  },
  "hsl": {
    "h": 252.774,
    "s": 90.643,
    "l": 66.471
  },
  "oklch": {
    "l": 0.59376,
    "c": 0.22029,
    "h": 287.5
  },
  "luminance": 0.1873
}

Semantic roles & 50–950 ramp

primary
#7D5CF7
secondary
#E6F1BE
accent
#E600B5
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86

Preview Lab

Preview with #7D5CF7

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

Preview Lab → · Contrast checker → · Palette generator →

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