#7D5DE7#7D5DE7

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

Color values

HEX#7D5DE7
RGBrgb(125, 93, 231)
HSLhsl(254, 74%, 64%)
HSVhsv(254, 60%, 91%)
CMYKcmyk(45.9%, 59.7%, 0%, 9.4%)
CIE-LABlab(49.44, 45.75, -65.84)
CIE-LCHlch(49.44, 80.18, 304.79°)
OKLaboklab(58.35% 0.0663 -0.1881)
OKLCHoklch(58.35% 0.199 289.4)
XYZxyz(26.7915, 17.9572, 77.6403)
Luminance0.1796 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D5DE7 #C7E75D
analogous
#5D82E7 #7D5DE7 #C25DE7
triadic
#7D5DE7 #E77D5D #5DE77D
tetradic
#7D5DE7 #E75D82 #C7E75D #5DE7C2
square
#7D5DE7 #E75D82 #C7E75D #5DE7C2
split-complementary
#7D5DE7 #E7C25D #82E75D
monochromatic
#3D1AB0 #5228DF #7D5DE7 #A892EF #D3C8F7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D5DE7#FFFFFF#000000##000000
##7D5DE71.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)
#0078EB
Deuteranopia (green-blind)
#0072E4
Tritanopia (blue-blind)
#5C7D99
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7d5de7;
/* rgb */ color: rgb(125, 93, 231);
/* oklch */ color: oklch(58.3% 0.199 289.4);
Tailwind
colors: {
  custom: {
    50: '#aa8cef',
    500: '#7d5de7',
    950: '#000000',
  },
}
SCSS
$custom: #7d5de7;
$custom-light: #aa8cef;
$custom-dark: #000000;
JSON
{
  "hex": "#7d5de7",
  "rgb": {
    "r": 125,
    "g": 93,
    "b": 231
  },
  "hsl": {
    "h": 253.913,
    "s": 74.194,
    "l": 63.529
  },
  "oklch": {
    "l": 0.58346,
    "c": 0.19947,
    "h": 289.4
  },
  "luminance": 0.17958
}

Semantic roles & 50–950 ramp

primary
#7D5DE7
secondary
#DDE8B7
accent
#D60FA8
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #7D5DE7

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

Preview Lab → · Contrast checker → · Palette generator →

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