#7D5FE5#7D5FE5

#7D5FE5 is a mid, vivid violet. Relative luminance 0.182; OKLCH L 58.5% C 0.194 H 289.3°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#7D5FE5
RGBrgb(125, 95, 229)
HSLhsl(253, 72%, 64%)
HSVhsv(253, 59%, 90%)
CMYKcmyk(45.4%, 58.5%, 0%, 10.2%)
CIE-LABlab(49.74, 44.06, -64.24)
CIE-LCHlch(49.74, 77.90, 304.44°)
OKLaboklab(58.52% 0.0642 -0.1834)
OKLCHoklch(58.52% 0.194 289.3)
XYZxyz(26.6885, 18.2005, 76.2204)
Luminance0.1820 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D5FE5 #C7E55F
analogous
#5F84E5 #7D5FE5 #C05FE5
triadic
#7D5FE5 #E57D5F #5FE57D
tetradic
#7D5FE5 #E55F84 #C7E55F #5FE5C0
square
#7D5FE5 #E55F84 #C7E55F #5FE5C0
split-complementary
#7D5FE5 #E5C05F #84E55F
monochromatic
#3D1CAD #522ADC #7D5FE5 #A894EE #D3C8F6

Accessibility & contrast

On white

4.53
#7D5FE5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#7D5FE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D5FE5
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D5FE5#FFFFFF#000000##000000
##7D5FE51.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079E9
Deuteranopia (green-blind)
#0073E2
Tritanopia (blue-blind)
#5D7D99
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7d5fe5;
/* rgb */ color: rgb(125, 95, 229);
/* oklch */ color: oklch(58.5% 0.194 289.3);
Tailwind
colors: {
  custom: {
    50: '#a98dee',
    500: '#7d5fe5',
    950: '#000000',
  },
}
SCSS
$custom: #7d5fe5;
$custom-light: #a98dee;
$custom-dark: #000000;
JSON
{
  "hex": "#7d5fe5",
  "rgb": {
    "r": 125,
    "g": 95,
    "b": 229
  },
  "hsl": {
    "h": 253.433,
    "s": 72.043,
    "l": 63.529
  },
  "oklch": {
    "l": 0.58519,
    "c": 0.19432,
    "h": 289.3
  },
  "luminance": 0.18202
}

Semantic roles & 50–950 ramp

primary
#7D5FE5
secondary
#DDE8B8
accent
#D411A9
background
#FAF8FE
surface
#F5F0FD
border
#CFCBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #7D5FE5

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

Preview Lab → · Contrast checker → · Palette generator →

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