#7D5DCF#7D5DCF

#7D5DCF is a mid, vivid violet. Relative luminance 0.167; OKLCH L 56.7% C 0.169 H 293.2°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#7D5DCF
RGBrgb(125, 93, 207)
HSLhsl(257, 54%, 59%)
HSVhsv(257, 55%, 81%)
CMYKcmyk(39.6%, 55.1%, 0%, 18.8%)
CIE-LABlab(47.87, 39.10, -54.75)
CIE-LCHlch(47.87, 67.28, 305.53°)
OKLaboklab(56.69% 0.0666 -0.1555)
OKLCHoklch(56.69% 0.169 293.2)
XYZxyz(23.6313, 16.6931, 60.9964)
Luminance0.1669 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D5DCF #AFCF5D
analogous
#5D76CF #7D5DCF #B65DCF
triadic
#7D5DCF #CF7D5D #5DCF7D
tetradic
#7D5DCF #CF5D76 #AFCF5D #5DCFB6
square
#7D5DCF #CF5D76 #AFCF5D #5DCFB6
split-complementary
#7D5DCF #CFB65D #76CF5D
monochromatic
#442989 #5B37B8 #7D5DCF #A38CDD #C9BBEB

Accessibility & contrast

On white

4.84
#7D5DCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#7D5DCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D5DCF
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D5DCF#FFFFFF#000000##FFFFFF
##7D5DCF1.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2573D3
Deuteranopia (green-blind)
#2E70CC
Tritanopia (blue-blind)
#68758D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7d5dcf;
/* rgb */ color: rgb(125, 93, 207);
/* oklch */ color: oklch(56.7% 0.169 293.2);
Tailwind
colors: {
  custom: {
    50: '#a78cde',
    500: '#7d5dcf',
    950: '#000000',
  },
}
SCSS
$custom: #7d5dcf;
$custom-light: #a78cde;
$custom-dark: #000000;
JSON
{
  "hex": "#7d5dcf",
  "rgb": {
    "r": 125,
    "g": 93,
    "b": 207
  },
  "hsl": {
    "h": 256.842,
    "s": 54.286,
    "l": 58.824
  },
  "oklch": {
    "l": 0.56688,
    "c": 0.16917,
    "h": 293.2
  },
  "luminance": 0.16694
}

Semantic roles & 50–950 ramp

primary
#7D5DCF
secondary
#CEDAAD
accent
#DE4AB4
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #7D5DCF

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

Preview Lab → · Contrast checker → · Palette generator →

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