#7D5DC2#7D5DC2

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

Color values

HEX#7D5DC2
RGBrgb(125, 93, 194)
HSLhsl(259, 45%, 56%)
HSVhsv(259, 52%, 76%)
CMYKcmyk(35.6%, 52.1%, 0%, 23.9%)
CIE-LABlab(47.08, 35.58, -48.53)
CIE-LCHlch(47.08, 60.18, 306.25°)
OKLaboklab(55.85% 0.066 -0.1373)
OKLCHoklch(55.85% 0.152 295.7)
XYZxyz(22.1069, 16.0833, 52.9682)
Luminance0.1608 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D5DC2 #A2C25D
analogous
#5D70C2 #7D5DC2 #B05DC2
triadic
#7D5DC2 #C27D5D #5DC27D
tetradic
#7D5DC2 #C25D70 #A2C25D #5DC2B0
square
#7D5DC2 #C25D70 #A2C25D #5DC2B0
split-complementary
#7D5DC2 #C2B05D #70C25D
monochromatic
#452D78 #5E3EA4 #7D5DC2 #A189D3 #C4B6E3

Accessibility & contrast

On white

4.98
#7D5DC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#7D5DC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D5DC2
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D5DC2#FFFFFF#000000##FFFFFF
##7D5DC21.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3570C5
Deuteranopia (green-blind)
#3D6EC0
Tritanopia (blue-blind)
#6D7187
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7d5dc2;
/* rgb */ color: rgb(125, 93, 194);
/* oklch */ color: oklch(55.9% 0.152 295.7);
Tailwind
colors: {
  custom: {
    50: '#a68cd5',
    500: '#7d5dc2',
    950: '#000000',
  },
}
SCSS
$custom: #7d5dc2;
$custom-light: #a68cd5;
$custom-dark: #000000;
JSON
{
  "hex": "#7d5dc2",
  "rgb": {
    "r": 125,
    "g": 93,
    "b": 194
  },
  "hsl": {
    "h": 259.01,
    "s": 45.291,
    "l": 56.275
  },
  "oklch": {
    "l": 0.55851,
    "c": 0.1523,
    "h": 295.7
  },
  "luminance": 0.16084
}

Semantic roles & 50–950 ramp

primary
#7D5DC2
secondary
#C5D2A9
accent
#D553AC
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#100C14
muted
#7F7D83

Preview Lab

Preview with #7D5DC2

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

Preview Lab → · Contrast checker → · Palette generator →

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