#7D50A5#7D50A5

#7D50A5 is a mid, vivid violet. Relative luminance 0.128; OKLCH L 51.9% C 0.136 H 306.7°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#7D50A5
RGBrgb(125, 80, 165)
HSLhsl(272, 35%, 48%)
HSVhsv(272, 52%, 65%)
CMYKcmyk(24.2%, 51.5%, 0%, 35.3%)
CIE-LABlab(42.48, 35.67, -38.87)
CIE-LCHlch(42.48, 52.76, 312.54°)
OKLaboklab(51.9% 0.0813 -0.109)
OKLCHoklch(51.9% 0.136 306.7)
XYZxyz(18.1163, 12.8141, 37.1090)
Luminance0.1281 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D50A5 #78A550
analogous
#5250A5 #7D50A5 #A550A2
triadic
#7D50A5 #A57D50 #50A57D
tetradic
#7D50A5 #A55250 #78A550 #50A2A5
square
#7D50A5 #A55250 #78A550 #50A2A5
split-complementary
#7D50A5 #A2A550 #50A552
monochromatic
#3F2853 #5E3C7C #7D50A5 #9B76BC #B99FD0

Accessibility & contrast

On white

5.89
#7D50A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#7D50A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D50A5
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D50A5#FFFFFF#000000##FFFFFF
##7D50A51.005.893.565.89
#FFFFFF5.891.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3763A8
Deuteranopia (green-blind)
#4465A3
Tritanopia (blue-blind)
#775F73
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7d50a5;
/* rgb */ color: rgb(125, 80, 165);
/* oklch */ color: oklch(51.9% 0.136 306.7);
Tailwind
colors: {
  custom: {
    50: '#a582c0',
    500: '#7d50a5',
    950: '#000000',
  },
}
SCSS
$custom: #7d50a5;
$custom-light: #a582c0;
$custom-dark: #000000;
JSON
{
  "hex": "#7d50a5",
  "rgb": {
    "r": 125,
    "g": 80,
    "b": 165
  },
  "hsl": {
    "h": 271.765,
    "s": 34.694,
    "l": 48.039
  },
  "oklch": {
    "l": 0.51897,
    "c": 0.13595,
    "h": 306.7
  },
  "luminance": 0.12814
}

Semantic roles & 50–950 ramp

primary
#7D50A5
secondary
#A7BD93
accent
#CB5D91
background
#FAF8FB
surface
#F4EFF7
border
#CECAD0
text
#0F0A12
muted
#7F7C81

Preview Lab

Preview with #7D50A5

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

Preview Lab → · Contrast checker → · Palette generator →

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