#7D5DC3#7D5DC3

#7D5DC3 is a mid, vivid violet. Relative luminance 0.161; OKLCH L 55.9% C 0.154 H 295.5°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#7D5DC3
RGBrgb(125, 93, 195)
HSLhsl(259, 46%, 56%)
HSVhsv(259, 52%, 76%)
CMYKcmyk(35.9%, 52.3%, 0%, 23.5%)
CIE-LABlab(47.14, 35.85, -49.01)
CIE-LCHlch(47.14, 60.72, 306.18°)
OKLaboklab(55.91% 0.0661 -0.1387)
OKLCHoklch(55.91% 0.154 295.5)
XYZxyz(22.2196, 16.1284, 53.5616)
Luminance0.1613 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D5DC3 #A3C35D
analogous
#5D70C3 #7D5DC3 #B05DC3
triadic
#7D5DC3 #C37D5D #5DC37D
tetradic
#7D5DC3 #C35D70 #A3C35D #5DC3B0
square
#7D5DC3 #C35D70 #A3C35D #5DC3B0
split-complementary
#7D5DC3 #C3B05D #70C35D
monochromatic
#452D79 #5E3DA6 #7D5DC3 #A18AD4 #C5B6E4

Accessibility & contrast

On white

4.97
#7D5DC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7D5DC3
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D5DC3#FFFFFF#000000##FFFFFF
##7D5DC31.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3471C7
Deuteranopia (green-blind)
#3C6EC1
Tritanopia (blue-blind)
#6D7187
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7d5dc3;
/* rgb */ color: rgb(125, 93, 195);
/* oklch */ color: oklch(55.9% 0.154 295.5);
Tailwind
colors: {
  custom: {
    50: '#a68cd6',
    500: '#7d5dc3',
    950: '#000000',
  },
}
SCSS
$custom: #7d5dc3;
$custom-light: #a68cd6;
$custom-dark: #000000;
JSON
{
  "hex": "#7d5dc3",
  "rgb": {
    "r": 125,
    "g": 93,
    "b": 195
  },
  "hsl": {
    "h": 258.824,
    "s": 45.946,
    "l": 56.471
  },
  "oklch": {
    "l": 0.55914,
    "c": 0.15361,
    "h": 295.5
  },
  "luminance": 0.16129
}

Semantic roles & 50–950 ramp

primary
#7D5DC3
secondary
#C6D3A9
accent
#D652AC
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#100C14
muted
#7F7D83

Preview Lab

Preview with #7D5DC3

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

Preview Lab → · Contrast checker → · Palette generator →

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