#7C5DCD#7C5DCD

#7C5DCD is a mid, vivid violet. Relative luminance 0.165; OKLCH L 56.5% C 0.167 H 293.1°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#7C5DCD
RGBrgb(124, 93, 205)
HSLhsl(257, 53%, 58%)
HSVhsv(257, 55%, 80%)
CMYKcmyk(39.5%, 54.6%, 0%, 19.6%)
CIE-LABlab(47.65, 38.31, -53.96)
CIE-LCHlch(47.65, 66.18, 305.38°)
OKLaboklab(56.46% 0.0653 -0.1532)
OKLCHoklch(56.46% 0.167 293.1)
XYZxyz(23.2430, 16.5210, 59.7100)
Luminance0.1652 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C5DCD #AECD5D
analogous
#5D76CD #7C5DCD #B45DCD
triadic
#7C5DCD #CD7C5D #5DCD7C
tetradic
#7C5DCD #CD5D76 #AECD5D #5DCDB4
square
#7C5DCD #CD5D76 #AECD5D #5DCDB4
split-complementary
#7C5DCD #CDB45D #76CD5D
monochromatic
#432986 #5A38B5 #7C5DCD #A28CDB #C8BBEA

Accessibility & contrast

On white

4.88
#7C5DCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#7C5DCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C5DCD
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C5DCD#FFFFFF#000000##FFFFFF
##7C5DCD1.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2872D1
Deuteranopia (green-blind)
#306FCA
Tritanopia (blue-blind)
#67748C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7c5dcd;
/* rgb */ color: rgb(124, 93, 205);
/* oklch */ color: oklch(56.5% 0.167 293.1);
Tailwind
colors: {
  custom: {
    50: '#a68cdd',
    500: '#7c5dcd',
    950: '#000000',
  },
}
SCSS
$custom: #7c5dcd;
$custom-light: #a68cdd;
$custom-dark: #000000;
JSON
{
  "hex": "#7c5dcd",
  "rgb": {
    "r": 124,
    "g": 93,
    "b": 205
  },
  "hsl": {
    "h": 256.607,
    "s": 52.83,
    "l": 58.431
  },
  "oklch": {
    "l": 0.56462,
    "c": 0.16654,
    "h": 293.1
  },
  "luminance": 0.16522
}

Semantic roles & 50–950 ramp

primary
#7C5DCD
secondary
#CDD9AD
accent
#DC4CB4
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #7C5DCD

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

Preview Lab → · Contrast checker → · Palette generator →

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