#7D5AEF#7D5AEF

#7D5AEF is a mid, highly saturated violet. Relative luminance 0.179; OKLCH L 58.5% C 0.213 H 288.9°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#7D5AEF
RGBrgb(125, 90, 239)
HSLhsl(254, 82%, 65%)
HSVhsv(254, 62%, 94%)
CMYKcmyk(47.7%, 62.3%, 0%, 6.3%)
CIE-LABlab(49.38, 49.65, -70.45)
CIE-LCHlch(49.38, 86.19, 305.18°)
OKLaboklab(58.48% 0.0689 -0.2017)
OKLCHoklch(58.48% 0.213 288.9)
XYZxyz(27.6891, 17.9031, 83.6413)
Luminance0.1790 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D5AEF #CCEF5A
analogous
#5A82EF #7D5AEF #C85AEF
triadic
#7D5AEF #EF7D5A #5AEF7D
tetradic
#7D5AEF #EF5A82 #CCEF5A #5AEFC8
square
#7D5AEF #EF5A82 #CCEF5A #5AEFC8
split-complementary
#7D5AEF #EFC85A #82EF5A
monochromatic
#3A12BC #5122EA #7D5AEF #A992F4 #D5CAFA

Accessibility & contrast

On white

4.58
#7D5AEF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#7D5AEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D5AEF
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D5AEF#FFFFFF#000000##000000
##7D5AEF1.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079F4
Deuteranopia (green-blind)
#0072EC
Tritanopia (blue-blind)
#577D9C
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7d5aef;
/* rgb */ color: rgb(125, 90, 239);
/* oklch */ color: oklch(58.5% 0.213 288.9);
Tailwind
colors: {
  custom: {
    50: '#ab8af5',
    500: '#7d5aef',
    950: '#000000',
  },
}
SCSS
$custom: #7d5aef;
$custom-light: #ab8af5;
$custom-dark: #000000;
JSON
{
  "hex": "#7d5aef",
  "rgb": {
    "r": 125,
    "g": 90,
    "b": 239
  },
  "hsl": {
    "h": 254.094,
    "s": 82.32,
    "l": 64.51
  },
  "oklch": {
    "l": 0.58476,
    "c": 0.21312,
    "h": 288.9
  },
  "luminance": 0.17904
}

Semantic roles & 50–950 ramp

primary
#7D5AEF
secondary
#E0ECB9
accent
#DF07AC
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #7D5AEF

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

Preview Lab → · Contrast checker → · Palette generator →

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