#7D5AF1#7D5AF1

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

Color values

HEX#7D5AF1
RGBrgb(125, 90, 241)
HSLhsl(254, 84%, 65%)
HSVhsv(254, 63%, 95%)
CMYKcmyk(48.1%, 62.7%, 0%, 5.5%)
CIE-LABlab(49.52, 50.21, -71.33)
CIE-LCHlch(49.52, 87.23, 305.14°)
OKLaboklab(58.63% 0.0687 -0.2043)
OKLCHoklch(58.63% 0.216 288.6)
XYZxyz(27.9862, 18.0220, 85.2060)
Luminance0.1802 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D5AF1 #CEF15A
analogous
#5A83F1 #7D5AF1 #C85AF1
triadic
#7D5AF1 #F17D5A #5AF17D
tetradic
#7D5AF1 #F15A83 #CEF15A #5AF1C8
square
#7D5AF1 #F15A83 #CEF15A #5AF1C8
split-complementary
#7D5AF1 #F1C85A #83F15A
monochromatic
#3910C0 #5122EC #7D5AF1 #A992F6 #D6CBFB

Accessibility & contrast

On white

4.56
#7D5AF1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#7D5AF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D5AF1
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D5AF1#FFFFFF#000000##000000
##7D5AF11.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d5af1;
/* rgb */ color: rgb(125, 90, 241);
/* oklch */ color: oklch(58.6% 0.216 288.6);
Tailwind
colors: {
  custom: {
    50: '#ab8af7',
    500: '#7d5af1',
    950: '#000000',
  },
}
SCSS
$custom: #7d5af1;
$custom-light: #ab8af7;
$custom-dark: #000000;
JSON
{
  "hex": "#7d5af1",
  "rgb": {
    "r": 125,
    "g": 90,
    "b": 241
  },
  "hsl": {
    "h": 253.907,
    "s": 84.358,
    "l": 64.902
  },
  "oklch": {
    "l": 0.58626,
    "c": 0.21554,
    "h": 288.6
  },
  "luminance": 0.18023
}

Semantic roles & 50–950 ramp

primary
#7D5AF1
secondary
#E1EDBA
accent
#E105AE
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #7D5AF1

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

Preview Lab → · Contrast checker → · Palette generator →

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