#7D5DC0#7D5DC0

#7D5DC0 is a mid, vivid violet. Relative luminance 0.160; OKLCH L 55.7% C 0.150 H 296.1°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#7D5DC0
RGBrgb(125, 93, 192)
HSLhsl(259, 44%, 56%)
HSVhsv(259, 52%, 75%)
CMYKcmyk(34.9%, 51.6%, 0%, 24.7%)
CIE-LABlab(46.97, 35.05, -47.56)
CIE-LCHlch(46.97, 59.08, 306.39°)
OKLaboklab(55.73% 0.0659 -0.1344)
OKLCHoklch(55.73% 0.15 296.1)
XYZxyz(21.8838, 15.9941, 51.7932)
Luminance0.1599 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D5DC0 #A0C05D
analogous
#5D6EC0 #7D5DC0 #AE5DC0
triadic
#7D5DC0 #C07D5D #5DC07D
tetradic
#7D5DC0 #C05D6E #A0C05D #5DC0AE
square
#7D5DC0 #C05D6E #A0C05D #5DC0AE
split-complementary
#7D5DC0 #C0AE5D #6EC05D
monochromatic
#452E75 #5E3FA1 #7D5DC0 #A089D1 #C4B5E2

Accessibility & contrast

On white

5.00
#7D5DC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#7D5DC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D5DC0
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D5DC0#FFFFFF#000000##FFFFFF
##7D5DC01.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3770C3
Deuteranopia (green-blind)
#3F6EBE
Tritanopia (blue-blind)
#6E7186
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7d5dc0;
/* rgb */ color: rgb(125, 93, 192);
/* oklch */ color: oklch(55.7% 0.150 296.1);
Tailwind
colors: {
  custom: {
    50: '#a68cd3',
    500: '#7d5dc0',
    950: '#000000',
  },
}
SCSS
$custom: #7d5dc0;
$custom-light: #a68cd3;
$custom-dark: #000000;
JSON
{
  "hex": "#7d5dc0",
  "rgb": {
    "r": 125,
    "g": 93,
    "b": 192
  },
  "hsl": {
    "h": 259.394,
    "s": 44,
    "l": 55.882
  },
  "oklch": {
    "l": 0.55726,
    "c": 0.14968,
    "h": 296.1
  },
  "luminance": 0.15994
}

Semantic roles & 50–950 ramp

primary
#7D5DC0
secondary
#C4D1A8
accent
#D454AA
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#100C14
muted
#7F7D83

Preview Lab

Preview with #7D5DC0

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

Preview Lab → · Contrast checker → · Palette generator →

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