#7D5AF7#7D5AF7

#7D5AF7 is a mid, highly saturated violet. Relative luminance 0.184; OKLCH L 59.1% C 0.223 H 287.8°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#7D5AF7
RGBrgb(125, 90, 247)
HSLhsl(253, 91%, 66%)
HSVhsv(253, 64%, 97%)
CMYKcmyk(49.4%, 63.6%, 0%, 3.1%)
CIE-LABlab(49.96, 51.89, -73.97)
CIE-LCHlch(49.96, 90.36, 305.05°)
OKLaboklab(59.08% 0.0682 -0.212)
OKLCHoklch(59.08% 0.223 287.8)
XYZxyz(28.8972, 18.3864, 90.0040)
Luminance0.1839 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D5AF7 #D4F75A
analogous
#5A85F7 #7D5AF7 #CB5AF7
triadic
#7D5AF7 #F77D5A #5AF77D
tetradic
#7D5AF7 #F75A85 #D4F75A #5AF7CB
square
#7D5AF7 #F75A85 #D4F75A #5AF7CB
split-complementary
#7D5AF7 #F7CB5A #85F75A
monochromatic
#350ACD #4F20F4 #7D5AF7 #AB94FA #D9CFFD

Accessibility & contrast

On white

4.49
#7D5AF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#7D5AF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D5AF7
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D5AF7#FFFFFF#000000##000000
##7D5AF71.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AFC
Deuteranopia (green-blind)
#0073F4
Tritanopia (blue-blind)
#5280A1
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7d5af7;
/* rgb */ color: rgb(125, 90, 247);
/* oklch */ color: oklch(59.1% 0.223 287.8);
Tailwind
colors: {
  custom: {
    50: '#ac8afb',
    500: '#7d5af7',
    950: '#000000',
  },
}
SCSS
$custom: #7d5af7;
$custom-light: #ac8afb;
$custom-dark: #000000;
JSON
{
  "hex": "#7d5af7",
  "rgb": {
    "r": 125,
    "g": 90,
    "b": 247
  },
  "hsl": {
    "h": 253.376,
    "s": 90.751,
    "l": 66.078
  },
  "oklch": {
    "l": 0.59081,
    "c": 0.22273,
    "h": 287.8
  },
  "luminance": 0.18388
}

Semantic roles & 50–950 ramp

primary
#7D5AF7
secondary
#E5F0BD
accent
#E600B2
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86

Preview Lab

Preview with #7D5AF7

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

Preview Lab → · Contrast checker → · Palette generator →

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