#7D4FE8#7D4FE8

#7D4FE8 is a mid, highly saturated violet. Relative luminance 0.158; OKLCH L 56.4% C 0.218 H 291.6°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#7D4FE8
RGBrgb(125, 79, 232)
HSLhsl(258, 77%, 61%)
HSVhsv(258, 66%, 91%)
CMYKcmyk(46.1%, 65.9%, 0%, 9%)
CIE-LABlab(46.68, 53.63, -70.89)
CIE-LCHlch(46.68, 88.89, 307.11°)
OKLaboklab(56.36% 0.0806 -0.203)
OKLCHoklch(56.36% 0.218 291.6)
XYZxyz(25.8148, 15.7772, 78.0134)
Luminance0.1578 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D4FE8 #BAE84F
analogous
#4F6DE8 #7D4FE8 #C94FE8
triadic
#7D4FE8 #E87D4F #4FE87D
tetradic
#7D4FE8 #E84F6D #BAE84F #4FE8C9
square
#7D4FE8 #E84F6D #BAE84F #4FE8C9
split-complementary
#7D4FE8 #E8C94F #6DE84F
monochromatic
#4116A7 #571DDD #7D4FE8 #A585EF #CDBBF6

Accessibility & contrast

On white

5.05
#7D4FE8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#7D4FE8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D4FE8
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D4FE8#FFFFFF#000000##FFFFFF
##7D4FE81.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071ED
Deuteranopia (green-blind)
#006BE5
Tritanopia (blue-blind)
#5C7495
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7d4fe8;
/* rgb */ color: rgb(125, 79, 232);
/* oklch */ color: oklch(56.4% 0.218 291.6);
Tailwind
colors: {
  custom: {
    50: '#ab83f0',
    500: '#7d4fe8',
    950: '#000000',
  },
}
SCSS
$custom: #7d4fe8;
$custom-light: #ab83f0;
$custom-dark: #000000;
JSON
{
  "hex": "#7d4fe8",
  "rgb": {
    "r": 125,
    "g": 79,
    "b": 232
  },
  "hsl": {
    "h": 258.039,
    "s": 76.884,
    "l": 60.98
  },
  "oklch": {
    "l": 0.56364,
    "c": 0.21839,
    "h": 291.6
  },
  "luminance": 0.15778
}

Semantic roles & 50–950 ramp

primary
#7D4FE8
secondary
#D5E6AD
accent
#D90C9C
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B17
muted
#807C85

Preview Lab

Preview with #7D4FE8

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

Preview Lab → · Contrast checker → · Palette generator →

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