#7D5EEA#7D5EEA

#7D5EEA is a mid, highly saturated violet. Relative luminance 0.183; OKLCH L 58.7% C 0.202 H 288.8°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#7D5EEA
RGBrgb(125, 94, 234)
HSLhsl(253, 77%, 64%)
HSVhsv(253, 60%, 92%)
CMYKcmyk(46.6%, 59.8%, 0%, 8.2%)
CIE-LABlab(49.86, 46.03, -66.85)
CIE-LCHlch(49.86, 81.17, 304.55°)
OKLaboklab(58.72% 0.0651 -0.1911)
OKLCHoklch(58.72% 0.202 288.8)
XYZxyz(27.3072, 18.3048, 79.9203)
Luminance0.1831 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D5EEA #CBEA5E
analogous
#5E85EA #7D5EEA #C35EEA
triadic
#7D5EEA #EA7D5E #5EEA7D
tetradic
#7D5EEA #EA5E85 #CBEA5E #5EEAC3
square
#7D5EEA #EA5E85 #CBEA5E #5EEAC3
split-complementary
#7D5EEA #EAC35E #85EA5E
monochromatic
#3B18B6 #5128E3 #7D5EEA #A994F1 #D4CAF8

Accessibility & contrast

On white

4.51
#7D5EEA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#7D5EEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D5EEA
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D5EEA#FFFFFF#000000##000000
##7D5EEA1.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AEF
Deuteranopia (green-blind)
#0073E7
Tritanopia (blue-blind)
#5A7E9B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7d5eea;
/* rgb */ color: rgb(125, 94, 234);
/* oklch */ color: oklch(58.7% 0.202 288.8);
Tailwind
colors: {
  custom: {
    50: '#aa8df2',
    500: '#7d5eea',
    950: '#000000',
  },
}
SCSS
$custom: #7d5eea;
$custom-light: #aa8df2;
$custom-dark: #000000;
JSON
{
  "hex": "#7d5eea",
  "rgb": {
    "r": 125,
    "g": 94,
    "b": 234
  },
  "hsl": {
    "h": 253.286,
    "s": 76.923,
    "l": 64.314
  },
  "oklch": {
    "l": 0.58718,
    "c": 0.20188,
    "h": 288.8
  },
  "luminance": 0.18306
}

Semantic roles & 50–950 ramp

primary
#7D5EEA
secondary
#DFEABA
accent
#D90CAC
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #7D5EEA

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

Preview Lab → · Contrast checker → · Palette generator →

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