#7D4E9C#7D4E9C

#7D4E9C is a mid, vivid violet. Relative luminance 0.122; OKLCH L 51.0% C 0.128 H 310.4°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#7D4E9C
RGBrgb(125, 78, 156)
HSLhsl(276, 33%, 46%)
HSVhsv(276, 50%, 61%)
CMYKcmyk(19.9%, 50%, 0%, 38.8%)
CIE-LABlab(41.55, 34.66, -34.98)
CIE-LCHlch(41.55, 49.25, 314.74°)
OKLaboklab(51.04% 0.0832 -0.0977)
OKLCHoklch(51.04% 0.128 310.4)
XYZxyz(17.1815, 12.2094, 32.8976)
Luminance0.1221 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D4E9C #6D9C4E
analogous
#564E9C #7D4E9C #9C4E94
triadic
#7D4E9C #9C7D4E #4E9C7D
tetradic
#7D4E9C #9C564E #6D9C4E #4E949C
square
#7D4E9C #9C564E #6D9C4E #4E949C
split-complementary
#7D4E9C #949C4E #4E9C56
monochromatic
#3C254A #5C3A73 #7D4E9C #9B70B7 #B799CC

Accessibility & contrast

On white

6.10
#7D4E9C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#7D4E9C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D4E9C
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D4E9C#FFFFFF#000000##FFFFFF
##7D4E9C1.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B609F
Deuteranopia (green-blind)
#48639A
Tritanopia (blue-blind)
#795B6E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7d4e9c;
/* rgb */ color: rgb(125, 78, 156);
/* oklch */ color: oklch(51.0% 0.128 310.4);
Tailwind
colors: {
  custom: {
    50: '#a481b9',
    500: '#7d4e9c',
    950: '#000000',
  },
}
SCSS
$custom: #7d4e9c;
$custom-light: #a481b9;
$custom-dark: #000000;
JSON
{
  "hex": "#7d4e9c",
  "rgb": {
    "r": 125,
    "g": 78,
    "b": 156
  },
  "hsl": {
    "h": 276.154,
    "s": 33.333,
    "l": 45.882
  },
  "oklch": {
    "l": 0.51044,
    "c": 0.12826,
    "h": 310.4
  },
  "luminance": 0.12209
}

Semantic roles & 50–950 ramp

primary
#7D4E9C
secondary
#9EB88D
accent
#C95E89
background
#FAF7FB
surface
#F4EEF6
border
#CEC9D0
text
#0F0A11
muted
#7F7C80

Preview Lab

Preview with #7D4E9C

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

Preview Lab → · Contrast checker → · Palette generator →

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