#7D5DEC#7D5DEC

#7D5DEC is a mid, highly saturated violet. Relative luminance 0.182; OKLCH L 58.7% C 0.206 H 288.7°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#7D5DEC
RGBrgb(125, 93, 236)
HSLhsl(253, 79%, 65%)
HSVhsv(253, 61%, 93%)
CMYKcmyk(47%, 60.6%, 0%, 7.5%)
CIE-LABlab(49.79, 47.15, -68.09)
CIE-LCHlch(49.79, 82.83, 304.70°)
OKLaboklab(58.71% 0.0661 -0.1947)
OKLCHoklch(58.71% 0.206 288.7)
XYZxyz(27.5078, 18.2437, 81.4126)
Luminance0.1825 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D5DEC #CCEC5D
analogous
#5D84EC #7D5DEC #C55DEC
triadic
#7D5DEC #EC7D5D #5DEC7D
tetradic
#7D5DEC #EC5D84 #CCEC5D #5DECC5
square
#7D5DEC #EC5D84 #CCEC5D #5DECC5
split-complementary
#7D5DEC #ECC55D #84EC5D
monochromatic
#3A16B9 #5126E6 #7D5DEC #A994F2 #D5CBF9

Accessibility & contrast

On white

4.52
#7D5DEC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#7D5DEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D5DEC
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D5DEC#FFFFFF#000000##000000
##7D5DEC1.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079F1
Deuteranopia (green-blind)
#0073E9
Tritanopia (blue-blind)
#597E9C
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7d5dec;
/* rgb */ color: rgb(125, 93, 236);
/* oklch */ color: oklch(58.7% 0.206 288.7);
Tailwind
colors: {
  custom: {
    50: '#aa8cf3',
    500: '#7d5dec',
    950: '#000000',
  },
}
SCSS
$custom: #7d5dec;
$custom-light: #aa8cf3;
$custom-dark: #000000;
JSON
{
  "hex": "#7d5dec",
  "rgb": {
    "r": 125,
    "g": 93,
    "b": 236
  },
  "hsl": {
    "h": 253.427,
    "s": 79.006,
    "l": 64.51
  },
  "oklch": {
    "l": 0.58708,
    "c": 0.20565,
    "h": 288.7
  },
  "luminance": 0.18245
}

Semantic roles & 50–950 ramp

primary
#7D5DEC
secondary
#E0EBBA
accent
#DB0AAD
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#110C17
muted
#807D85

Preview Lab

Preview with #7D5DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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