#7D4E95#7D4E95

#7D4E95 is a mid, moderate violet. Relative luminance 0.120; OKLCH L 50.7% C 0.120 H 313.3°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#7D4E95
RGBrgb(125, 78, 149)
HSLhsl(280, 31%, 45%)
HSVhsv(280, 48%, 58%)
CMYKcmyk(16.1%, 47.7%, 0%, 41.6%)
CIE-LABlab(41.18, 33.04, -31.36)
CIE-LCHlch(41.18, 45.55, 316.50°)
OKLaboklab(50.65% 0.0822 -0.0871)
OKLCHoklch(50.65% 0.12 313.3)
XYZxyz(16.6057, 11.9791, 29.8654)
Luminance0.1198 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D4E95 #66954E
analogous
#594E95 #7D4E95 #954E8A
triadic
#7D4E95 #957D4E #4E957D
tetradic
#7D4E95 #95594E #66954E #4E8A95
square
#7D4E95 #95594E #66954E #4E8A95
split-complementary
#7D4E95 #8A954E #4E9559
monochromatic
#3A2445 #5B396D #7D4E95 #9B6DB3 #B796C8

Accessibility & contrast

On white

6.18
#7D4E95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7D4E95
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D4E95#FFFFFF#000000##FFFFFF
##7D4E951.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5F97
Deuteranopia (green-blind)
#4C6293
Tritanopia (blue-blind)
#7B596A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7d4e95;
/* rgb */ color: rgb(125, 78, 149);
/* oklch */ color: oklch(50.7% 0.120 313.3);
Tailwind
colors: {
  custom: {
    50: '#a481b4',
    500: '#7d4e95',
    950: '#000000',
  },
}
SCSS
$custom: #7d4e95;
$custom-light: #a481b4;
$custom-dark: #000000;
JSON
{
  "hex": "#7d4e95",
  "rgb": {
    "r": 125,
    "g": 78,
    "b": 149
  },
  "hsl": {
    "h": 279.718,
    "s": 31.278,
    "l": 44.51
  },
  "oklch": {
    "l": 0.50655,
    "c": 0.11976,
    "h": 313.3
  },
  "luminance": 0.11979
}

Semantic roles & 50–950 ramp

primary
#7D4E95
secondary
#99B48A
accent
#C76083
background
#FAF7FB
surface
#F4EEF6
border
#CEC9D0
text
#0F0A11
muted
#7F7C80

Preview Lab

Preview with #7D4E95

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

Preview Lab → · Contrast checker → · Palette generator →

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