#7D5DCD#7D5DCD

#7D5DCD is a mid, vivid violet. Relative luminance 0.166; OKLCH L 56.6% C 0.167 H 293.5°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#7D5DCD
RGBrgb(125, 93, 205)
HSLhsl(257, 53%, 58%)
HSVhsv(257, 55%, 80%)
CMYKcmyk(39%, 54.6%, 0%, 19.6%)
CIE-LABlab(47.75, 38.55, -53.80)
CIE-LCHlch(47.75, 66.19, 305.62°)
OKLaboklab(56.56% 0.0665 -0.1527)
OKLCHoklch(56.56% 0.167 293.5)
XYZxyz(23.3883, 16.5959, 59.7168)
Luminance0.1660 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D5DCD #ADCD5D
analogous
#5D75CD #7D5DCD #B55DCD
triadic
#7D5DCD #CD7D5D #5DCD7D
tetradic
#7D5DCD #CD5D75 #ADCD5D #5DCDB5
square
#7D5DCD #CD5D75 #ADCD5D #5DCDB5
split-complementary
#7D5DCD #CDB55D #75CD5D
monochromatic
#442986 #5C38B5 #7D5DCD #A38CDB #C8BBEA

Accessibility & contrast

On white

4.86
#7D5DCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#7D5DCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D5DCD
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D5DCD#FFFFFF#000000##FFFFFF
##7D5DCD1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2873D1
Deuteranopia (green-blind)
#316FCA
Tritanopia (blue-blind)
#69748C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7d5dcd;
/* rgb */ color: rgb(125, 93, 205);
/* oklch */ color: oklch(56.6% 0.167 293.5);
Tailwind
colors: {
  custom: {
    50: '#a78cdd',
    500: '#7d5dcd',
    950: '#000000',
  },
}
SCSS
$custom: #7d5dcd;
$custom-light: #a78cdd;
$custom-dark: #000000;
JSON
{
  "hex": "#7d5dcd",
  "rgb": {
    "r": 125,
    "g": 93,
    "b": 205
  },
  "hsl": {
    "h": 257.143,
    "s": 52.83,
    "l": 58.431
  },
  "oklch": {
    "l": 0.56556,
    "c": 0.1666,
    "h": 293.5
  },
  "luminance": 0.16596
}

Semantic roles & 50–950 ramp

primary
#7D5DCD
secondary
#CCD9AD
accent
#DC4CB3
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #7D5DCD

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

Preview Lab → · Contrast checker → · Palette generator →

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