#7D4FE2#7D4FE2

#7D4FE2 is a mid, highly saturated violet. Relative luminance 0.154; OKLCH L 55.9% C 0.211 H 292.6°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#7D4FE2
RGBrgb(125, 79, 226)
HSLhsl(259, 72%, 60%)
HSVhsv(259, 65%, 89%)
CMYKcmyk(44.7%, 65%, 0%, 11.4%)
CIE-LABlab(46.23, 52.01, -68.23)
CIE-LCHlch(46.23, 85.79, 307.32°)
OKLaboklab(55.9% 0.0813 -0.1951)
OKLCHoklch(55.9% 0.211 292.6)
XYZxyz(24.9771, 15.4421, 73.6014)
Luminance0.1544 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D4FE2 #B4E24F
analogous
#4F6AE2 #7D4FE2 #C74FE2
triadic
#7D4FE2 #E27D4F #4FE27D
tetradic
#7D4FE2 #E24F6A #B4E24F #4FE2C7
square
#7D4FE2 #E24F6A #B4E24F #4FE2C7
split-complementary
#7D4FE2 #E2C74F #6AE24F
monochromatic
#431A9D #5922D1 #7D4FE2 #A484EB #CBB8F3

Accessibility & contrast

On white

5.14
#7D4FE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#7D4FE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D4FE2
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D4FE2#FFFFFF#000000##FFFFFF
##7D4FE21.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE7
Deuteranopia (green-blind)
#006BDF
Tritanopia (blue-blind)
#5F7292
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7d4fe2;
/* rgb */ color: rgb(125, 79, 226);
/* oklch */ color: oklch(55.9% 0.211 292.6);
Tailwind
colors: {
  custom: {
    50: '#aa83ec',
    500: '#7d4fe2',
    950: '#000000',
  },
}
SCSS
$custom: #7d4fe2;
$custom-light: #aa83ec;
$custom-dark: #000000;
JSON
{
  "hex": "#7d4fe2",
  "rgb": {
    "r": 125,
    "g": 79,
    "b": 226
  },
  "hsl": {
    "h": 258.776,
    "s": 71.707,
    "l": 59.804
  },
  "oklch": {
    "l": 0.55902,
    "c": 0.2114,
    "h": 292.6
  },
  "luminance": 0.15443
}

Semantic roles & 50–950 ramp

primary
#7D4FE2
secondary
#D1E3AA
accent
#EE39B6
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #7D4FE2

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

Preview Lab → · Contrast checker → · Palette generator →

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