#7D5AF6#7D5AF6

#7D5AF6 is a mid, highly saturated violet. Relative luminance 0.183; OKLCH L 59.0% C 0.222 H 288.0°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#7D5AF6
RGBrgb(125, 90, 246)
HSLhsl(253, 90%, 66%)
HSVhsv(253, 63%, 96%)
CMYKcmyk(49.2%, 63.4%, 0%, 3.5%)
CIE-LABlab(49.89, 51.61, -73.54)
CIE-LCHlch(49.89, 89.84, 305.06°)
OKLaboklab(59.01% 0.0683 -0.2107)
OKLCHoklch(59.01% 0.222 288)
XYZxyz(28.7433, 18.3248, 89.1934)
Luminance0.1833 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D5AF6 #D3F65A
analogous
#5A85F6 #7D5AF6 #CB5AF6
triadic
#7D5AF6 #F67D5A #5AF67D
tetradic
#7D5AF6 #F65A85 #D3F65A #5AF6CB
square
#7D5AF6 #F65A85 #D3F65A #5AF6CB
split-complementary
#7D5AF6 #F6CB5A #85F65A
monochromatic
#360BCB #4F20F3 #7D5AF6 #AB94F9 #D8CEFC

Accessibility & contrast

On white

4.50
#7D5AF6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#7D5AF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D5AF6
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D5AF6#FFFFFF#000000##000000
##7D5AF61.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AFB
Deuteranopia (green-blind)
#0073F3
Tritanopia (blue-blind)
#5280A0
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7d5af6;
/* rgb */ color: rgb(125, 90, 246);
/* oklch */ color: oklch(59.0% 0.222 288.0);
Tailwind
colors: {
  custom: {
    50: '#ac8afa',
    500: '#7d5af6',
    950: '#000000',
  },
}
SCSS
$custom: #7d5af6;
$custom-light: #ac8afa;
$custom-dark: #000000;
JSON
{
  "hex": "#7d5af6",
  "rgb": {
    "r": 125,
    "g": 90,
    "b": 246
  },
  "hsl": {
    "h": 253.462,
    "s": 89.655,
    "l": 65.882
  },
  "oklch": {
    "l": 0.59005,
    "c": 0.22153,
    "h": 288
  },
  "luminance": 0.18326
}

Semantic roles & 50–950 ramp

primary
#7D5AF6
secondary
#E4F0BC
accent
#E600B2
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #7D5AF6

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

Preview Lab → · Contrast checker → · Palette generator →

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