#7D5FE7#7D5FE7

#7D5FE7 is a mid, vivid violet. Relative luminance 0.183; OKLCH L 58.7% C 0.197 H 289.0°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#7D5FE7
RGBrgb(125, 95, 231)
HSLhsl(253, 74%, 64%)
HSVhsv(253, 59%, 91%)
CMYKcmyk(45.9%, 58.9%, 0%, 9.4%)
CIE-LABlab(49.87, 44.62, -65.15)
CIE-LCHlch(49.87, 78.97, 304.41°)
OKLaboklab(58.66% 0.0642 -0.1861)
OKLCHoklch(58.66% 0.197 289)
XYZxyz(26.9693, 18.3129, 77.6995)
Luminance0.1831 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D5FE7 #C9E75F
analogous
#5F85E7 #7D5FE7 #C15FE7
triadic
#7D5FE7 #E77D5F #5FE77D
tetradic
#7D5FE7 #E75F85 #C9E75F #5FE7C1
square
#7D5FE7 #E75F85 #C9E75F #5FE7C1
split-complementary
#7D5FE7 #E7C15F #85E75F
monochromatic
#3C1BB1 #522ADF #7D5FE7 #A894EF #D3C9F7

Accessibility & contrast

On white

4.50
#7D5FE7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D5FE7#FFFFFF#000000##000000
##7D5FE71.004.504.664.66
#FFFFFF4.501.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079EB
Deuteranopia (green-blind)
#0073E4
Tritanopia (blue-blind)
#5C7E9A
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7d5fe7;
/* rgb */ color: rgb(125, 95, 231);
/* oklch */ color: oklch(58.7% 0.197 289.0);
Tailwind
colors: {
  custom: {
    50: '#aa8def',
    500: '#7d5fe7',
    950: '#000000',
  },
}
SCSS
$custom: #7d5fe7;
$custom-light: #aa8def;
$custom-dark: #000000;
JSON
{
  "hex": "#7d5fe7",
  "rgb": {
    "r": 125,
    "g": 95,
    "b": 231
  },
  "hsl": {
    "h": 253.235,
    "s": 73.913,
    "l": 63.922
  },
  "oklch": {
    "l": 0.5866,
    "c": 0.19683,
    "h": 289
  },
  "luminance": 0.18314
}

Semantic roles & 50–950 ramp

primary
#7D5FE7
secondary
#DEE9B9
accent
#D60FAA
background
#FAF8FE
surface
#F5F0FD
border
#CFCBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #7D5FE7

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

Preview Lab → · Contrast checker → · Palette generator →

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