#7D5EE4#7D5EE4

#7D5EE4 is a mid, vivid violet. Relative luminance 0.180; OKLCH L 58.3% C 0.194 H 289.6°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#7D5EE4
RGBrgb(125, 94, 228)
HSLhsl(254, 71%, 63%)
HSVhsv(254, 59%, 89%)
CMYKcmyk(45.2%, 58.8%, 0%, 10.6%)
CIE-LABlab(49.45, 44.35, -64.14)
CIE-LCHlch(49.45, 77.97, 304.66°)
OKLaboklab(58.29% 0.0653 -0.1831)
OKLCHoklch(58.29% 0.194 289.6)
XYZxyz(26.4598, 17.9658, 75.4573)
Luminance0.1797 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D5EE4 #C5E45E
analogous
#5E82E4 #7D5EE4 #C05EE4
triadic
#7D5EE4 #E47D5E #5EE47D
tetradic
#7D5EE4 #E45E82 #C5E45E #5EE4C0
square
#7D5EE4 #E45E82 #C5E45E #5EE4C0
split-complementary
#7D5EE4 #E4C05E #82E45E
monochromatic
#3E1DAB #532ADB #7D5EE4 #A792ED #D2C7F6

Accessibility & contrast

On white

4.57
#7D5EE4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#7D5EE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D5EE4
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D5EE4#FFFFFF#000000##000000
##7D5EE41.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078E8
Deuteranopia (green-blind)
#0072E1
Tritanopia (blue-blind)
#5D7C98
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7d5ee4;
/* rgb */ color: rgb(125, 94, 228);
/* oklch */ color: oklch(58.3% 0.194 289.6);
Tailwind
colors: {
  custom: {
    50: '#a98ded',
    500: '#7d5ee4',
    950: '#000000',
  },
}
SCSS
$custom: #7d5ee4;
$custom-light: #a98ded;
$custom-dark: #000000;
JSON
{
  "hex": "#7d5ee4",
  "rgb": {
    "r": 125,
    "g": 94,
    "b": 228
  },
  "hsl": {
    "h": 253.881,
    "s": 71.277,
    "l": 63.137
  },
  "oklch": {
    "l": 0.58289,
    "c": 0.19441,
    "h": 289.6
  },
  "luminance": 0.17967
}

Semantic roles & 50–950 ramp

primary
#7D5EE4
secondary
#DCE7B7
accent
#D312A7
background
#FAF8FE
surface
#F5F0FD
border
#CFCBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #7D5EE4

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

Preview Lab → · Contrast checker → · Palette generator →

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