#7D5DEB#7D5DEB

#7D5DEB is a mid, highly saturated violet. Relative luminance 0.182; OKLCH L 58.6% C 0.204 H 288.9°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#7D5DEB
RGBrgb(125, 93, 235)
HSLhsl(254, 78%, 64%)
HSVhsv(254, 60%, 92%)
CMYKcmyk(46.8%, 60.4%, 0%, 7.8%)
CIE-LABlab(49.72, 46.87, -67.65)
CIE-LCHlch(49.72, 82.30, 304.72°)
OKLaboklab(58.64% 0.0661 -0.1934)
OKLCHoklch(58.64% 0.204 288.9)
XYZxyz(27.3629, 18.1857, 80.6496)
Luminance0.1819 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D5DEB #CBEB5D
analogous
#5D84EB #7D5DEB #C45DEB
triadic
#7D5DEB #EB7D5D #5DEB7D
tetradic
#7D5DEB #EB5D84 #CBEB5D #5DEBC4
square
#7D5DEB #EB5D84 #CBEB5D #5DEBC4
split-complementary
#7D5DEB #EBC45D #84EB5D
monochromatic
#3B17B7 #5127E4 #7D5DEB #A993F2 #D4CAF8

Accessibility & contrast

On white

4.53
#7D5DEB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#7D5DEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D5DEB
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D5DEB#FFFFFF#000000##000000
##7D5DEB1.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079F0
Deuteranopia (green-blind)
#0073E8
Tritanopia (blue-blind)
#597E9B
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7d5deb;
/* rgb */ color: rgb(125, 93, 235);
/* oklch */ color: oklch(58.6% 0.204 288.9);
Tailwind
colors: {
  custom: {
    50: '#aa8cf2',
    500: '#7d5deb',
    950: '#000000',
  },
}
SCSS
$custom: #7d5deb;
$custom-light: #aa8cf2;
$custom-dark: #000000;
JSON
{
  "hex": "#7d5deb",
  "rgb": {
    "r": 125,
    "g": 93,
    "b": 235
  },
  "hsl": {
    "h": 253.521,
    "s": 78.022,
    "l": 64.314
  },
  "oklch": {
    "l": 0.58636,
    "c": 0.20441,
    "h": 288.9
  },
  "luminance": 0.18187
}

Semantic roles & 50–950 ramp

primary
#7D5DEB
secondary
#DFEBB9
accent
#DA0BAC
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #7D5DEB

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

Preview Lab → · Contrast checker → · Palette generator →

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