#7D4FF4#7D4FF4

#7D4FF4 is a mid, highly saturated violet. Relative luminance 0.165; OKLCH L 57.3% C 0.232 H 289.8°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#7D4FF4
RGBrgb(125, 79, 244)
HSLhsl(257, 88%, 63%)
HSVhsv(257, 68%, 96%)
CMYKcmyk(48.8%, 67.6%, 0%, 4.3%)
CIE-LABlab(47.60, 56.87, -76.14)
CIE-LCHlch(47.60, 95.04, 306.76°)
OKLaboklab(57.31% 0.0788 -0.2184)
OKLCHoklch(57.31% 0.232 289.8)
XYZxyz(27.5779, 16.4825, 87.2988)
Luminance0.1648 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D4FF4 #C6F44F
analogous
#4F73F4 #7D4FF4 #CF4FF4
triadic
#7D4FF4 #F47D4F #4FF47D
tetradic
#7D4FF4 #F44F73 #C6F44F #4FF4CF
square
#7D4FF4 #F44F73 #C6F44F #4FF4CF
split-complementary
#7D4FF4 #F4CF4F #73F44F
monochromatic
#3D0CBD #5215F0 #7D4FF4 #A889F8 #D2C2FB

Accessibility & contrast

On white

4.89
#7D4FF4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#7D4FF4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D4FF4
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D4FF4#FFFFFF#000000##FFFFFF
##7D4FF41.004.894.304.89
#FFFFFF4.891.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074F9
Deuteranopia (green-blind)
#006DF1
Tritanopia (blue-blind)
#55799B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7d4ff4;
/* rgb */ color: rgb(125, 79, 244);
/* oklch */ color: oklch(57.3% 0.232 289.8);
Tailwind
colors: {
  custom: {
    50: '#ac83f9',
    500: '#7d4ff4',
    950: '#000000',
  },
}
SCSS
$custom: #7d4ff4;
$custom-light: #ac83f9;
$custom-dark: #000000;
JSON
{
  "hex": "#7d4ff4",
  "rgb": {
    "r": 125,
    "g": 79,
    "b": 244
  },
  "hsl": {
    "h": 256.727,
    "s": 88.235,
    "l": 63.333
  },
  "oklch": {
    "l": 0.57311,
    "c": 0.23219,
    "h": 289.8
  },
  "luminance": 0.16484
}

Semantic roles & 50–950 ramp

primary
#7D4FF4
secondary
#DCEDB2
accent
#E501A5
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110B17
muted
#807C85

Preview Lab

Preview with #7D4FF4

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

Preview Lab → · Contrast checker → · Palette generator →

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