#7D50A7#7D50A7

#7D50A7 is a mid, vivid violet. Relative luminance 0.129; OKLCH L 52.0% C 0.138 H 306.0°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#7D50A7
RGBrgb(125, 80, 167)
HSLhsl(271, 35%, 48%)
HSVhsv(271, 52%, 65%)
CMYKcmyk(25.1%, 52.1%, 0%, 34.5%)
CIE-LABlab(42.59, 36.16, -39.88)
CIE-LCHlch(42.59, 53.83, 312.20°)
OKLaboklab(52.02% 0.0815 -0.1119)
OKLCHoklch(52.02% 0.138 306)
XYZxyz(18.2997, 12.8875, 38.0752)
Luminance0.1289 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D50A7 #7AA750
analogous
#5150A7 #7D50A7 #A750A5
triadic
#7D50A7 #A77D50 #50A77D
tetradic
#7D50A7 #A75150 #7AA750 #50A5A7
square
#7D50A7 #A75150 #7AA750 #50A5A7
split-complementary
#7D50A7 #A5A750 #50A751
monochromatic
#3F2854 #5E3C7E #7D50A7 #9B77BE #BAA0D1

Accessibility & contrast

On white

5.87
#7D50A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#7D50A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D50A7
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D50A7#FFFFFF#000000##FFFFFF
##7D50A71.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3663AA
Deuteranopia (green-blind)
#4365A5
Tritanopia (blue-blind)
#765F74
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7d50a7;
/* rgb */ color: rgb(125, 80, 167);
/* oklch */ color: oklch(52.0% 0.138 306.0);
Tailwind
colors: {
  custom: {
    50: '#a582c1',
    500: '#7d50a7',
    950: '#000000',
  },
}
SCSS
$custom: #7d50a7;
$custom-light: #a582c1;
$custom-dark: #000000;
JSON
{
  "hex": "#7d50a7",
  "rgb": {
    "r": 125,
    "g": 80,
    "b": 167
  },
  "hsl": {
    "h": 271.034,
    "s": 35.223,
    "l": 48.431
  },
  "oklch": {
    "l": 0.52016,
    "c": 0.13843,
    "h": 306
  },
  "luminance": 0.12887
}

Semantic roles & 50–950 ramp

primary
#7D50A7
secondary
#A9BF94
accent
#CB5D92
background
#FAF8FB
surface
#F4EFF7
border
#CECAD0
text
#0F0A12
muted
#7F7C81

Preview Lab

Preview with #7D50A7

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

Preview Lab → · Contrast checker → · Palette generator →

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