#7D5EC0#7D5EC0

#7D5EC0 is a mid, vivid violet. Relative luminance 0.162; OKLCH L 55.9% C 0.148 H 295.8°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#7D5EC0
RGBrgb(125, 94, 192)
HSLhsl(259, 44%, 56%)
HSVhsv(259, 51%, 75%)
CMYKcmyk(34.9%, 51%, 0%, 24.7%)
CIE-LABlab(47.20, 34.46, -47.19)
CIE-LCHlch(47.20, 58.43, 306.14°)
OKLaboklab(55.9% 0.0646 -0.1333)
OKLCHoklch(55.9% 0.148 295.8)
XYZxyz(21.9722, 16.1708, 51.8226)
Luminance0.1617 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D5EC0 #A1C05E
analogous
#5E70C0 #7D5EC0 #AE5EC0
triadic
#7D5EC0 #C07D5E #5EC07D
tetradic
#7D5EC0 #C05E70 #A1C05E #5EC0AE
square
#7D5EC0 #C05E70 #A1C05E #5EC0AE
split-complementary
#7D5EC0 #C0AE5E #70C05E
monochromatic
#452E76 #5E3FA2 #7D5EC0 #A18AD1 #C4B6E2

Accessibility & contrast

On white

4.96
#7D5EC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#7D5EC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D5EC0
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D5EC0#FFFFFF#000000##FFFFFF
##7D5EC01.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3971C3
Deuteranopia (green-blind)
#406FBE
Tritanopia (blue-blind)
#6E7186
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7d5ec0;
/* rgb */ color: rgb(125, 94, 192);
/* oklch */ color: oklch(55.9% 0.148 295.8);
Tailwind
colors: {
  custom: {
    50: '#a68cd3',
    500: '#7d5ec0',
    950: '#000000',
  },
}
SCSS
$custom: #7d5ec0;
$custom-light: #a68cd3;
$custom-dark: #000000;
JSON
{
  "hex": "#7d5ec0",
  "rgb": {
    "r": 125,
    "g": 94,
    "b": 192
  },
  "hsl": {
    "h": 258.98,
    "s": 43.75,
    "l": 56.078
  },
  "oklch": {
    "l": 0.55898,
    "c": 0.14813,
    "h": 295.8
  },
  "luminance": 0.16171
}

Semantic roles & 50–950 ramp

primary
#7D5EC0
secondary
#C4D1A9
accent
#D354AB
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#100C14
muted
#7F7D83

Preview Lab

Preview with #7D5EC0

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

Preview Lab → · Contrast checker → · Palette generator →

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