#7D5DE8#7D5DE8

#7D5DE8 is a mid, highly saturated violet. Relative luminance 0.180; OKLCH L 58.4% C 0.201 H 289.3°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#7D5DE8
RGBrgb(125, 93, 232)
HSLhsl(254, 75%, 64%)
HSVhsv(254, 60%, 91%)
CMYKcmyk(46.1%, 59.9%, 0%, 9%)
CIE-LABlab(49.51, 46.03, -66.30)
CIE-LCHlch(49.51, 80.71, 304.77°)
OKLaboklab(58.42% 0.0663 -0.1895)
OKLCHoklch(58.42% 0.201 289.3)
XYZxyz(26.9331, 18.0138, 78.3862)
Luminance0.1802 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D5DE8 #C8E85D
analogous
#5D82E8 #7D5DE8 #C25DE8
triadic
#7D5DE8 #E87D5D #5DE87D
tetradic
#7D5DE8 #E85D82 #C8E85D #5DE8C2
square
#7D5DE8 #E85D82 #C8E85D #5DE8C2
split-complementary
#7D5DE8 #E8C25D #82E85D
monochromatic
#3C19B1 #5227E0 #7D5DE8 #A893F0 #D3C8F7

Accessibility & contrast

On white

4.56
#7D5DE8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#7D5DE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D5DE8
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D5DE8#FFFFFF#000000##000000
##7D5DE81.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079ED
Deuteranopia (green-blind)
#0072E5
Tritanopia (blue-blind)
#5B7D9A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7d5de8;
/* rgb */ color: rgb(125, 93, 232);
/* oklch */ color: oklch(58.4% 0.201 289.3);
Tailwind
colors: {
  custom: {
    50: '#aa8cf0',
    500: '#7d5de8',
    950: '#000000',
  },
}
SCSS
$custom: #7d5de8;
$custom-light: #aa8cf0;
$custom-dark: #000000;
JSON
{
  "hex": "#7d5de8",
  "rgb": {
    "r": 125,
    "g": 93,
    "b": 232
  },
  "hsl": {
    "h": 253.813,
    "s": 75.135,
    "l": 63.725
  },
  "oklch": {
    "l": 0.58418,
    "c": 0.20071,
    "h": 289.3
  },
  "luminance": 0.18015
}

Semantic roles & 50–950 ramp

primary
#7D5DE8
secondary
#DEE9B8
accent
#D70EA9
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #7D5DE8

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

Preview Lab → · Contrast checker → · Palette generator →

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