#7D5DE9#7D5DE9

#7D5DE9 is a mid, highly saturated violet. Relative luminance 0.181; OKLCH L 58.5% C 0.202 H 289.1°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#7D5DE9
RGBrgb(125, 93, 233)
HSLhsl(254, 76%, 64%)
HSVhsv(254, 60%, 91%)
CMYKcmyk(46.4%, 60.1%, 0%, 8.6%)
CIE-LABlab(49.58, 46.31, -66.75)
CIE-LCHlch(49.58, 81.24, 304.75°)
OKLaboklab(58.49% 0.0662 -0.1908)
OKLCHoklch(58.49% 0.202 289.1)
XYZxyz(27.0756, 18.0708, 79.1364)
Luminance0.1807 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D5DE9 #C9E95D
analogous
#5D83E9 #7D5DE9 #C35DE9
triadic
#7D5DE9 #E97D5D #5DE97D
tetradic
#7D5DE9 #E95D83 #C9E95D #5DE9C3
square
#7D5DE9 #E95D83 #C9E95D #5DE9C3
split-complementary
#7D5DE9 #E9C35D #83E95D
monochromatic
#3C18B3 #5227E2 #7D5DE9 #A893F0 #D3C9F8

Accessibility & contrast

On white

4.55
#7D5DE9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#7D5DE9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D5DE9
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D5DE9#FFFFFF#000000##000000
##7D5DE91.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079EE
Deuteranopia (green-blind)
#0072E6
Tritanopia (blue-blind)
#5A7D9A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7d5de9;
/* rgb */ color: rgb(125, 93, 233);
/* oklch */ color: oklch(58.5% 0.202 289.1);
Tailwind
colors: {
  custom: {
    50: '#aa8cf1',
    500: '#7d5de9',
    950: '#000000',
  },
}
SCSS
$custom: #7d5de9;
$custom-light: #aa8cf1;
$custom-dark: #000000;
JSON
{
  "hex": "#7d5de9",
  "rgb": {
    "r": 125,
    "g": 93,
    "b": 233
  },
  "hsl": {
    "h": 253.714,
    "s": 76.087,
    "l": 63.922
  },
  "oklch": {
    "l": 0.5849,
    "c": 0.20195,
    "h": 289.1
  },
  "luminance": 0.18072
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7D5DE9

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

Preview Lab → · Contrast checker → · Palette generator →

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