#7D5AF0#7D5AF0

#7D5AF0 is a mid, highly saturated violet. Relative luminance 0.180; OKLCH L 58.6% C 0.214 H 288.7°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#7D5AF0
RGBrgb(125, 90, 240)
HSLhsl(254, 83%, 65%)
HSVhsv(254, 63%, 94%)
CMYKcmyk(47.9%, 62.5%, 0%, 5.9%)
CIE-LABlab(49.45, 49.93, -70.89)
CIE-LCHlch(49.45, 86.71, 305.16°)
OKLaboklab(58.55% 0.0688 -0.203)
OKLCHoklch(58.55% 0.214 288.7)
XYZxyz(27.8373, 17.9624, 84.4215)
Luminance0.1796 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D5AF0 #CDF05A
analogous
#5A82F0 #7D5AF0 #C85AF0
triadic
#7D5AF0 #F07D5A #5AF07D
tetradic
#7D5AF0 #F05A82 #CDF05A #5AF0C8
square
#7D5AF0 #F05A82 #CDF05A #5AF0C8
split-complementary
#7D5AF0 #F0C85A #82F05A
monochromatic
#3A11BE #5122EB #7D5AF0 #A992F5 #D5CAFA

Accessibility & contrast

On white

4.57
#7D5AF0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#7D5AF0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D5AF0
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D5AF0#FFFFFF#000000##000000
##7D5AF01.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079F5
Deuteranopia (green-blind)
#0072ED
Tritanopia (blue-blind)
#567E9D
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7d5af0;
/* rgb */ color: rgb(125, 90, 240);
/* oklch */ color: oklch(58.6% 0.214 288.7);
Tailwind
colors: {
  custom: {
    50: '#ab8af6',
    500: '#7d5af0',
    950: '#000000',
  },
}
SCSS
$custom: #7d5af0;
$custom-light: #ab8af6;
$custom-dark: #000000;
JSON
{
  "hex": "#7d5af0",
  "rgb": {
    "r": 125,
    "g": 90,
    "b": 240
  },
  "hsl": {
    "h": 254,
    "s": 83.333,
    "l": 64.706
  },
  "oklch": {
    "l": 0.5855,
    "c": 0.21433,
    "h": 288.7
  },
  "luminance": 0.17964
}

Semantic roles & 50–950 ramp

primary
#7D5AF0
secondary
#E1EDB9
accent
#E006AD
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #7D5AF0

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

Preview Lab → · Contrast checker → · Palette generator →

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