#7D5EED#7D5EED

#7D5EED is a mid, highly saturated violet. Relative luminance 0.185; OKLCH L 58.9% C 0.206 H 288.4°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#7D5EED
RGBrgb(125, 94, 237)
HSLhsl(253, 80%, 65%)
HSVhsv(253, 60%, 93%)
CMYKcmyk(47.3%, 60.3%, 0%, 7.1%)
CIE-LABlab(50.07, 46.88, -68.20)
CIE-LCHlch(50.07, 82.76, 304.50°)
OKLaboklab(58.94% 0.0649 -0.1951)
OKLCHoklch(58.94% 0.206 288.4)
XYZxyz(27.7418, 18.4786, 82.2094)
Luminance0.1848 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D5EED #CEED5E
analogous
#5E87ED #7D5EED #C45EED
triadic
#7D5EED #ED7D5E #5EED7D
tetradic
#7D5EED #ED5E87 #CEED5E #5EEDC4
square
#7D5EED #ED5E87 #CEED5E #5EEDC4
split-complementary
#7D5EED #EDC45E #87ED5E
monochromatic
#3915BC #5127E7 #7D5EED #A995F3 #D6CCF9

Accessibility & contrast

On white

4.47
#7D5EED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#7D5EED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D5EED
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D5EED#FFFFFF#000000##000000
##7D5EED1.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d5eed;
/* rgb */ color: rgb(125, 94, 237);
/* oklch */ color: oklch(58.9% 0.206 288.4);
Tailwind
colors: {
  custom: {
    50: '#aa8df4',
    500: '#7d5eed',
    950: '#000000',
  },
}
SCSS
$custom: #7d5eed;
$custom-light: #aa8df4;
$custom-dark: #000000;
JSON
{
  "hex": "#7d5eed",
  "rgb": {
    "r": 125,
    "g": 94,
    "b": 237
  },
  "hsl": {
    "h": 253.007,
    "s": 79.888,
    "l": 64.902
  },
  "oklch": {
    "l": 0.58936,
    "c": 0.20559,
    "h": 288.4
  },
  "luminance": 0.1848
}

Semantic roles & 50–950 ramp

primary
#7D5EED
secondary
#E1ECBB
accent
#DC09AE
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#110C17
muted
#807D85

Preview Lab

Preview with #7D5EED

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

Preview Lab → · Contrast checker → · Palette generator →

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