#7D5696#7D5696

#7D5696 is a mid, moderate violet. Relative luminance 0.132; OKLCH L 52.1% C 0.107 H 311.2°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#7D5696
RGBrgb(125, 86, 150)
HSLhsl(277, 27%, 46%)
HSVhsv(277, 43%, 59%)
CMYKcmyk(16.7%, 42.7%, 0%, 41.2%)
CIE-LABlab(43.09, 28.61, -28.97)
CIE-LCHlch(43.09, 40.71, 314.64°)
OKLaboklab(52.1% 0.0702 -0.0803)
OKLCHoklch(52.1% 0.107 311.2)
XYZxyz(17.2893, 13.2178, 30.4888)
Luminance0.1322 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D5696 #6F9656
analogous
#5D5696 #7D5696 #96568F
triadic
#7D5696 #967D56 #56967D
tetradic
#7D5696 #965D56 #6F9656 #568F96
square
#7D5696 #965D56 #6F9656 #568F96
split-complementary
#7D5696 #8F9656 #56965D
monochromatic
#3C2948 #5D406F #7D5696 #9B78B1 #B89FC8

Accessibility & contrast

On white

5.76
#7D5696 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#7D5696 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D5696
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D5696#FFFFFF#000000##FFFFFF
##7D56961.005.763.645.76
#FFFFFF5.761.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#496498
Deuteranopia (green-blind)
#536794
Tritanopia (blue-blind)
#7A5F6F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7d5696;
/* rgb */ color: rgb(125, 86, 150);
/* oklch */ color: oklch(52.1% 0.107 311.2);
Tailwind
colors: {
  custom: {
    50: '#a486b5',
    500: '#7d5696',
    950: '#000000',
  },
}
SCSS
$custom: #7d5696;
$custom-light: #a486b5;
$custom-dark: #000000;
JSON
{
  "hex": "#7d5696",
  "rgb": {
    "r": 125,
    "g": 86,
    "b": 150
  },
  "hsl": {
    "h": 276.563,
    "s": 27.119,
    "l": 46.275
  },
  "oklch": {
    "l": 0.52099,
    "c": 0.10665,
    "h": 311.2
  },
  "luminance": 0.13218
}

Semantic roles & 50–950 ramp

primary
#7D5696
secondary
#A0B593
accent
#C36489
background
#FAF8FB
surface
#F4EFF6
border
#CECAD0
text
#0F0B11
muted
#7F7C80

Preview Lab

Preview with #7D5696

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

Preview Lab → · Contrast checker → · Palette generator →

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