#7D5DED#7D5DED

#7D5DED is a mid, highly saturated violet. Relative luminance 0.183; OKLCH L 58.8% C 0.207 H 288.6°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#7D5DED
RGBrgb(125, 93, 237)
HSLhsl(253, 80%, 65%)
HSVhsv(253, 61%, 93%)
CMYKcmyk(47.3%, 60.8%, 0%, 7.1%)
CIE-LABlab(49.86, 47.43, -68.54)
CIE-LCHlch(49.86, 83.36, 304.68°)
OKLaboklab(58.78% 0.066 -0.1961)
OKLCHoklch(58.78% 0.207 288.6)
XYZxyz(27.6535, 18.3020, 82.1799)
Luminance0.1830 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D5DED #CDED5D
analogous
#5D85ED #7D5DED #C55DED
triadic
#7D5DED #ED7D5D #5DED7D
tetradic
#7D5DED #ED5D85 #CDED5D #5DEDC5
square
#7D5DED #ED5D85 #CDED5D #5DEDC5
split-complementary
#7D5DED #EDC55D #85ED5D
monochromatic
#3A15BB #5126E7 #7D5DED #A994F3 #D5CBF9

Accessibility & contrast

On white

4.51
#7D5DED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#7D5DED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D5DED
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D5DED#FFFFFF#000000##000000
##7D5DED1.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AF2
Deuteranopia (green-blind)
#0073EA
Tritanopia (blue-blind)
#587F9C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7d5ded;
/* rgb */ color: rgb(125, 93, 237);
/* oklch */ color: oklch(58.8% 0.207 288.6);
Tailwind
colors: {
  custom: {
    50: '#aa8cf4',
    500: '#7d5ded',
    950: '#000000',
  },
}
SCSS
$custom: #7d5ded;
$custom-light: #aa8cf4;
$custom-dark: #000000;
JSON
{
  "hex": "#7d5ded",
  "rgb": {
    "r": 125,
    "g": 93,
    "b": 237
  },
  "hsl": {
    "h": 253.333,
    "s": 80,
    "l": 64.706
  },
  "oklch": {
    "l": 0.58782,
    "c": 0.20688,
    "h": 288.6
  },
  "luminance": 0.18303
}

Semantic roles & 50–950 ramp

primary
#7D5DED
secondary
#E1ECBA
accent
#DC09AD
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#110C17
muted
#807D85

Preview Lab

Preview with #7D5DED

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

Preview Lab → · Contrast checker → · Palette generator →

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