#7D5ABE#7D5ABE

#7D5ABE is a mid, vivid violet. Relative luminance 0.154; OKLCH L 55.1% C 0.152 H 297.3°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#7D5ABE
RGBrgb(125, 90, 190)
HSLhsl(261, 43%, 55%)
HSVhsv(261, 53%, 75%)
CMYKcmyk(34.2%, 52.6%, 0%, 25.5%)
CIE-LABlab(46.16, 36.26, -47.68)
CIE-LCHlch(46.16, 59.90, 307.25°)
OKLaboklab(55.09% 0.0697 -0.1348)
OKLCHoklch(55.09% 0.152 297.3)
XYZxyz(21.4056, 15.3897, 50.5480)
Luminance0.1539 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D5ABE #9BBE5A
analogous
#5A69BE #7D5ABE #AF5ABE
triadic
#7D5ABE #BE7D5A #5ABE7D
tetradic
#7D5ABE #BE5A69 #9BBE5A #5ABEAF
square
#7D5ABE #BE5A69 #9BBE5A #5ABEAF
split-complementary
#7D5ABE #BEAF5A #69BE5A
monochromatic
#452D71 #5F3E9D #7D5ABE #A086CF #C2B2E1

Accessibility & contrast

On white

5.15
#7D5ABE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#7D5ABE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D5ABE
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D5ABE#FFFFFF#000000##FFFFFF
##7D5ABE1.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#336EC1
Deuteranopia (green-blind)
#3D6CBC
Tritanopia (blue-blind)
#6F6E83
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7d5abe;
/* rgb */ color: rgb(125, 90, 190);
/* oklch */ color: oklch(55.1% 0.152 297.3);
Tailwind
colors: {
  custom: {
    50: '#a689d2',
    500: '#7d5abe',
    950: '#000000',
  },
}
SCSS
$custom: #7d5abe;
$custom-light: #a689d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7d5abe",
  "rgb": {
    "r": 125,
    "g": 90,
    "b": 190
  },
  "hsl": {
    "h": 261,
    "s": 43.478,
    "l": 54.902
  },
  "oklch": {
    "l": 0.55092,
    "c": 0.1517,
    "h": 297.3
  },
  "luminance": 0.1539
}

Semantic roles & 50–950 ramp

primary
#7D5ABE
secondary
#C0CFA5
accent
#D355A7
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#100C14
muted
#7F7D82

Preview Lab

Preview with #7D5ABE

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

Preview Lab → · Contrast checker → · Palette generator →

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