#7D4FF6#7D4FF6

#7D4FF6 is a mid, highly saturated violet. Relative luminance 0.166; OKLCH L 57.5% C 0.234 H 289.6°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#7D4FF6
RGBrgb(125, 79, 246)
HSLhsl(257, 90%, 64%)
HSVhsv(257, 68%, 96%)
CMYKcmyk(49.2%, 67.9%, 0%, 3.5%)
CIE-LABlab(47.76, 57.41, -77.01)
CIE-LCHlch(47.76, 96.05, 306.71°)
OKLaboklab(57.47% 0.0785 -0.2209)
OKLCHoklch(57.47% 0.234 289.6)
XYZxyz(27.8832, 16.6046, 88.9067)
Luminance0.1661 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D4FF6 #C8F64F
analogous
#4F74F6 #7D4FF6 #D04FF6
triadic
#7D4FF6 #F67D4F #4FF67D
tetradic
#7D4FF6 #F64F74 #C8F64F #4FF6D0
square
#7D4FF6 #F64F74 #C8F64F #4FF6D0
split-complementary
#7D4FF6 #F6D04F #74F64F
monochromatic
#3C0AC1 #5215F3 #7D4FF6 #A889F9 #D3C3FC

Accessibility & contrast

On white

4.86
#7D4FF6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#7D4FF6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D4FF6
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D4FF6#FFFFFF#000000##FFFFFF
##7D4FF61.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075FB
Deuteranopia (green-blind)
#006DF3
Tritanopia (blue-blind)
#53799D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7d4ff6;
/* rgb */ color: rgb(125, 79, 246);
/* oklch */ color: oklch(57.5% 0.234 289.6);
Tailwind
colors: {
  custom: {
    50: '#ac84fa',
    500: '#7d4ff6',
    950: '#000000',
  },
}
SCSS
$custom: #7d4ff6;
$custom-light: #ac84fa;
$custom-dark: #000000;
JSON
{
  "hex": "#7d4ff6",
  "rgb": {
    "r": 125,
    "g": 79,
    "b": 246
  },
  "hsl": {
    "h": 256.527,
    "s": 90.27,
    "l": 63.725
  },
  "oklch": {
    "l": 0.57472,
    "c": 0.23447,
    "h": 289.6
  },
  "luminance": 0.16606
}

Semantic roles & 50–950 ramp

primary
#7D4FF6
secondary
#DEEEB3
accent
#E600A6
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110B17
muted
#807C85

Preview Lab

Preview with #7D4FF6

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

Preview Lab → · Contrast checker → · Palette generator →

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