#7D5992#7D5992

#7D5992 is a mid, moderate violet. Relative luminance 0.136; OKLCH L 52.4% C 0.096 H 312.4°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#7D5992
RGBrgb(125, 89, 146)
HSLhsl(278, 24%, 46%)
HSVhsv(278, 39%, 57%)
CMYKcmyk(14.4%, 39%, 0%, 42.7%)
CIE-LABlab(43.63, 25.90, -25.73)
CIE-LCHlch(43.63, 36.51, 315.19°)
OKLaboklab(52.44% 0.0647 -0.071)
OKLCHoklch(52.44% 0.096 312.4)
XYZxyz(17.2173, 13.5804, 28.9028)
Luminance0.1358 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D5992 #6E9259
analogous
#605992 #7D5992 #92598A
triadic
#7D5992 #927D59 #59927D
tetradic
#7D5992 #926059 #6E9259 #598A92
square
#7D5992 #926059 #6E9259 #598A92
split-complementary
#7D5992 #8A9259 #599260
monochromatic
#3C2B46 #5C426C #7D5992 #9B7AAE #B8A0C5

Accessibility & contrast

On white

5.65
#7D5992 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#7D5992 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D5992
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D5992#FFFFFF#000000##FFFFFF
##7D59921.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F6594
Deuteranopia (green-blind)
#576890
Tritanopia (blue-blind)
#7B616E
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7d5992;
/* rgb */ color: rgb(125, 89, 146);
/* oklch */ color: oklch(52.4% 0.096 312.4);
Tailwind
colors: {
  custom: {
    50: '#a388b2',
    500: '#7d5992',
    950: '#000000',
  },
}
SCSS
$custom: #7d5992;
$custom-light: #a388b2;
$custom-dark: #000000;
JSON
{
  "hex": "#7d5992",
  "rgb": {
    "r": 125,
    "g": 89,
    "b": 146
  },
  "hsl": {
    "h": 277.895,
    "s": 24.255,
    "l": 46.078
  },
  "oklch": {
    "l": 0.52441,
    "c": 0.09607,
    "h": 312.4
  },
  "luminance": 0.1358
}

Semantic roles & 50–950 ramp

primary
#7D5992
secondary
#9FB394
accent
#C16788
background
#FAF8FA
surface
#F4F0F5
border
#CECBCF
text
#0F0B11
muted
#7F7C80

Preview Lab

Preview with #7D5992

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

Preview Lab → · Contrast checker → · Palette generator →

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