#7D4FF2#7D4FF2

#7D4FF2 is a mid, highly saturated violet. Relative luminance 0.164; OKLCH L 57.2% C 0.230 H 290.1°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#7D4FF2
RGBrgb(125, 79, 242)
HSLhsl(257, 86%, 63%)
HSVhsv(257, 67%, 95%)
CMYKcmyk(48.3%, 67.4%, 0%, 5.1%)
CIE-LABlab(47.45, 56.33, -75.28)
CIE-LCHlch(47.45, 94.02, 306.81°)
OKLaboklab(57.15% 0.0791 -0.2159)
OKLCHoklch(57.15% 0.23 290.1)
XYZxyz(27.2759, 16.3616, 85.7081)
Luminance0.1636 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D4FF2 #C4F24F
analogous
#4F72F2 #7D4FF2 #CF4FF2
triadic
#7D4FF2 #F27D4F #4FF27D
tetradic
#7D4FF2 #F24F72 #C4F24F #4FF2CF
square
#7D4FF2 #F24F72 #C4F24F #4FF2CF
split-complementary
#7D4FF2 #F2CF4F #72F24F
monochromatic
#3E0EB9 #5316EE #7D4FF2 #A788F6 #D1C1FA

Accessibility & contrast

On white

4.92
#7D4FF2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#7D4FF2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D4FF2
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D4FF2#FFFFFF#000000##FFFFFF
##7D4FF21.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074F7
Deuteranopia (green-blind)
#006DEF
Tritanopia (blue-blind)
#56789A
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7d4ff2;
/* rgb */ color: rgb(125, 79, 242);
/* oklch */ color: oklch(57.2% 0.230 290.1);
Tailwind
colors: {
  custom: {
    50: '#ac83f7',
    500: '#7d4ff2',
    950: '#000000',
  },
}
SCSS
$custom: #7d4ff2;
$custom-light: #ac83f7;
$custom-dark: #000000;
JSON
{
  "hex": "#7d4ff2",
  "rgb": {
    "r": 125,
    "g": 79,
    "b": 242
  },
  "hsl": {
    "h": 256.933,
    "s": 86.243,
    "l": 62.941
  },
  "oklch": {
    "l": 0.57151,
    "c": 0.22991,
    "h": 290.1
  },
  "luminance": 0.16363
}

Semantic roles & 50–950 ramp

primary
#7D4FF2
secondary
#DBECB1
accent
#E303A4
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110B17
muted
#807C85

Preview Lab

Preview with #7D4FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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