#7D5697#7D5697

#7D5697 is a mid, moderate violet. Relative luminance 0.133; OKLCH L 52.2% C 0.108 H 310.7°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#7D5697
RGBrgb(125, 86, 151)
HSLhsl(276, 27%, 46%)
HSVhsv(276, 43%, 59%)
CMYKcmyk(17.2%, 43%, 0%, 40.8%)
CIE-LABlab(43.14, 28.84, -29.49)
CIE-LCHlch(43.14, 41.25, 314.36°)
OKLaboklab(52.15% 0.0704 -0.0818)
OKLCHoklch(52.15% 0.108 310.7)
XYZxyz(17.3701, 13.2502, 30.9146)
Luminance0.1325 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D5697 #709756
analogous
#5D5697 #7D5697 #975691
triadic
#7D5697 #977D56 #56977D
tetradic
#7D5697 #975D56 #709756 #569197
square
#7D5697 #975D56 #709756 #569197
split-complementary
#7D5697 #919756 #56975D
monochromatic
#3C2A49 #5D4070 #7D5697 #9B78B2 #B89FC8

Accessibility & contrast

On white

5.75
#7D5697 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#7D5697 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D5697
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D5697#FFFFFF#000000##FFFFFF
##7D56971.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#496499
Deuteranopia (green-blind)
#526795
Tritanopia (blue-blind)
#7A606F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7d5697;
/* rgb */ color: rgb(125, 86, 151);
/* oklch */ color: oklch(52.2% 0.108 310.7);
Tailwind
colors: {
  custom: {
    50: '#a486b6',
    500: '#7d5697',
    950: '#000000',
  },
}
SCSS
$custom: #7d5697;
$custom-light: #a486b6;
$custom-dark: #000000;
JSON
{
  "hex": "#7d5697",
  "rgb": {
    "r": 125,
    "g": 86,
    "b": 151
  },
  "hsl": {
    "h": 276,
    "s": 27.426,
    "l": 46.471
  },
  "oklch": {
    "l": 0.52151,
    "c": 0.10791,
    "h": 310.7
  },
  "luminance": 0.1325
}

Semantic roles & 50–950 ramp

primary
#7D5697
secondary
#A1B693
accent
#C4648A
background
#FAF8FB
surface
#F4EFF6
border
#CECAD0
text
#0F0B11
muted
#7F7C80

Preview Lab

Preview with #7D5697

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

Preview Lab → · Contrast checker → · Palette generator →

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