#7D4FE5#7D4FE5

#7D4FE5 is a mid, highly saturated violet. Relative luminance 0.156; OKLCH L 56.1% C 0.215 H 292.1°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#7D4FE5
RGBrgb(125, 79, 229)
HSLhsl(258, 74%, 60%)
HSVhsv(258, 66%, 90%)
CMYKcmyk(45.4%, 65.5%, 0%, 10.2%)
CIE-LABlab(46.46, 52.82, -69.56)
CIE-LCHlch(46.46, 87.34, 307.21°)
OKLaboklab(56.13% 0.081 -0.1991)
OKLCHoklch(56.13% 0.215 292.1)
XYZxyz(25.3924, 15.6082, 75.7883)
Luminance0.1561 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D4FE5 #B7E54F
analogous
#4F6CE5 #7D4FE5 #C84FE5
triadic
#7D4FE5 #E57D4F #4FE57D
tetradic
#7D4FE5 #E54F6C #B7E54F #4FE5C8
square
#7D4FE5 #E54F6C #B7E54F #4FE5C8
split-complementary
#7D4FE5 #E5C84F #6CE54F
monochromatic
#4218A2 #5820D7 #7D4FE5 #A484ED #CCBAF5

Accessibility & contrast

On white

5.09
#7D4FE5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#7D4FE5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D4FE5
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D4FE5#FFFFFF#000000##FFFFFF
##7D4FE51.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070EA
Deuteranopia (green-blind)
#006BE2
Tritanopia (blue-blind)
#5E7393
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7d4fe5;
/* rgb */ color: rgb(125, 79, 229);
/* oklch */ color: oklch(56.1% 0.215 292.1);
Tailwind
colors: {
  custom: {
    50: '#aa83ee',
    500: '#7d4fe5',
    950: '#000000',
  },
}
SCSS
$custom: #7d4fe5;
$custom-light: #aa83ee;
$custom-dark: #000000;
JSON
{
  "hex": "#7d4fe5",
  "rgb": {
    "r": 125,
    "g": 79,
    "b": 229
  },
  "hsl": {
    "h": 258.4,
    "s": 74.257,
    "l": 60.392
  },
  "oklch": {
    "l": 0.56132,
    "c": 0.2149,
    "h": 292.1
  },
  "luminance": 0.15609
}

Semantic roles & 50–950 ramp

primary
#7D4FE5
secondary
#D3E5AB
accent
#D60F99
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #7D4FE5

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

Preview Lab → · Contrast checker → · Palette generator →

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