#7D5ADC#7D5ADC

#7D5ADC is a mid, vivid violet. Relative luminance 0.168; OKLCH L 57.1% C 0.190 H 291.6°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#7D5ADC
RGBrgb(125, 90, 220)
HSLhsl(256, 65%, 61%)
HSVhsv(256, 59%, 86%)
CMYKcmyk(43.2%, 59.1%, 0%, 13.7%)
CIE-LABlab(48.06, 44.38, -61.87)
CIE-LCHlch(48.06, 76.13, 305.65°)
OKLaboklab(57.09% 0.07 -0.1764)
OKLCHoklch(57.09% 0.19 291.6)
XYZxyz(25.0283, 16.8388, 69.6278)
Luminance0.1684 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D5ADC #B9DC5A
analogous
#5A78DC #7D5ADC #BE5ADC
triadic
#7D5ADC #DC7D5A #5ADC7D
tetradic
#7D5ADC #DC5A78 #B9DC5A #5ADCBE
square
#7D5ADC #DC5A78 #B9DC5A #5ADCBE
split-complementary
#7D5ADC #DCBE5A #78DC5A
monochromatic
#42219B #572CCD #7D5ADC #A58CE7 #CDBFF1

Accessibility & contrast

On white

4.81
#7D5ADC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#7D5ADC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D5ADC
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D5ADC#FFFFFF#000000##FFFFFF
##7D5ADC1.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074E0
Deuteranopia (green-blind)
#016FD9
Tritanopia (blue-blind)
#627792
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7d5adc;
/* rgb */ color: rgb(125, 90, 220);
/* oklch */ color: oklch(57.1% 0.190 291.6);
Tailwind
colors: {
  custom: {
    50: '#a98ae8',
    500: '#7d5adc',
    950: '#000000',
  },
}
SCSS
$custom: #7d5adc;
$custom-light: #a98ae8;
$custom-dark: #000000;
JSON
{
  "hex": "#7d5adc",
  "rgb": {
    "r": 125,
    "g": 90,
    "b": 220
  },
  "hsl": {
    "h": 256.154,
    "s": 65,
    "l": 60.784
  },
  "oklch": {
    "l": 0.57093,
    "c": 0.18982,
    "h": 291.6
  },
  "luminance": 0.1684
}

Semantic roles & 50–950 ramp

primary
#7D5ADC
secondary
#D4E2B0
accent
#CD199C
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #7D5ADC

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

Preview Lab → · Contrast checker → · Palette generator →

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