#7D5594#7D5594

#7D5594 is a mid, moderate violet. Relative luminance 0.130; OKLCH L 51.8% C 0.106 H 312.3°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#7D5594
RGBrgb(125, 85, 148)
HSLhsl(278, 27%, 46%)
HSVhsv(278, 43%, 58%)
CMYKcmyk(15.5%, 42.6%, 0%, 42%)
CIE-LABlab(42.76, 28.73, -28.29)
CIE-LCHlch(42.76, 40.32, 315.44°)
OKLaboklab(51.82% 0.0714 -0.0783)
OKLCHoklch(51.82% 0.106 312.3)
XYZxyz(17.0503, 12.9954, 29.6214)
Luminance0.1300 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D5594 #6C9455
analogous
#5D5594 #7D5594 #94558B
triadic
#7D5594 #947D55 #55947D
tetradic
#7D5594 #945D55 #6C9455 #558B94
square
#7D5594 #945D55 #6C9455 #558B94
split-complementary
#7D5594 #8B9455 #55945D
monochromatic
#3B2846 #5C3F6D #7D5594 #9B76B0 #B79DC7

Accessibility & contrast

On white

5.83
#7D5594 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#7D5594 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D5594
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D5594#FFFFFF#000000##FFFFFF
##7D55941.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#496396
Deuteranopia (green-blind)
#536692
Tritanopia (blue-blind)
#7B5E6D
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7d5594;
/* rgb */ color: rgb(125, 85, 148);
/* oklch */ color: oklch(51.8% 0.106 312.3);
Tailwind
colors: {
  custom: {
    50: '#a486b3',
    500: '#7d5594',
    950: '#000000',
  },
}
SCSS
$custom: #7d5594;
$custom-light: #a486b3;
$custom-dark: #000000;
JSON
{
  "hex": "#7d5594",
  "rgb": {
    "r": 125,
    "g": 85,
    "b": 148
  },
  "hsl": {
    "h": 278.095,
    "s": 27.039,
    "l": 45.686
  },
  "oklch": {
    "l": 0.51817,
    "c": 0.10595,
    "h": 312.3
  },
  "luminance": 0.12995
}

Semantic roles & 50–950 ramp

primary
#7D5594
secondary
#9EB491
accent
#C36487
background
#FAF8FB
surface
#F4EFF6
border
#CECAD0
text
#0F0B11
muted
#7F7C80

Preview Lab

Preview with #7D5594

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

Preview Lab → · Contrast checker → · Palette generator →

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