#7D4E96#7D4E96

#7D4E96 is a mid, vivid violet. Relative luminance 0.120; OKLCH L 50.7% C 0.121 H 312.9°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#7D4E96
RGBrgb(125, 78, 150)
HSLhsl(279, 32%, 45%)
HSVhsv(279, 48%, 59%)
CMYKcmyk(16.7%, 48%, 0%, 41.2%)
CIE-LABlab(41.23, 33.27, -31.88)
CIE-LCHlch(41.23, 46.08, 316.22°)
OKLaboklab(50.71% 0.0823 -0.0886)
OKLCHoklch(50.71% 0.121 312.9)
XYZxyz(16.6859, 12.0111, 30.2876)
Luminance0.1201 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D4E96 #67964E
analogous
#594E96 #7D4E96 #964E8B
triadic
#7D4E96 #967D4E #4E967D
tetradic
#7D4E96 #96594E #67964E #4E8B96
square
#7D4E96 #96594E #67964E #4E8B96
split-complementary
#7D4E96 #8B964E #4E9659
monochromatic
#3A2445 #5B396E #7D4E96 #9B6EB3 #B796C8

Accessibility & contrast

On white

6.17
#7D4E96 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#7D4E96 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D4E96
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D4E96#FFFFFF#000000##FFFFFF
##7D4E961.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5F99
Deuteranopia (green-blind)
#4C6294
Tritanopia (blue-blind)
#7B596B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7d4e96;
/* rgb */ color: rgb(125, 78, 150);
/* oklch */ color: oklch(50.7% 0.121 312.9);
Tailwind
colors: {
  custom: {
    50: '#a481b5',
    500: '#7d4e96',
    950: '#000000',
  },
}
SCSS
$custom: #7d4e96;
$custom-light: #a481b5;
$custom-dark: #000000;
JSON
{
  "hex": "#7d4e96",
  "rgb": {
    "r": 125,
    "g": 78,
    "b": 150
  },
  "hsl": {
    "h": 279.167,
    "s": 31.579,
    "l": 44.706
  },
  "oklch": {
    "l": 0.50709,
    "c": 0.12098,
    "h": 312.9
  },
  "luminance": 0.12011
}

Semantic roles & 50–950 ramp

primary
#7D4E96
secondary
#99B58B
accent
#C86084
background
#FAF7FB
surface
#F4EEF6
border
#CEC9D0
text
#0F0A11
muted
#7F7C80

Preview Lab

Preview with #7D4E96

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

Preview Lab → · Contrast checker → · Palette generator →

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