#7D50A4#7D50A4

#7D50A4 is a mid, vivid violet. Relative luminance 0.128; OKLCH L 51.8% C 0.135 H 307.1°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#7D50A4
RGBrgb(125, 80, 164)
HSLhsl(272, 34%, 48%)
HSVhsv(272, 51%, 64%)
CMYKcmyk(23.8%, 51.2%, 0%, 35.7%)
CIE-LABlab(42.43, 35.43, -38.37)
CIE-LCHlch(42.43, 52.22, 312.72°)
OKLaboklab(51.84% 0.0812 -0.1075)
OKLCHoklch(51.84% 0.135 307.1)
XYZxyz(18.0256, 12.7778, 36.6315)
Luminance0.1278 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D50A4 #77A450
analogous
#5350A4 #7D50A4 #A450A1
triadic
#7D50A4 #A47D50 #50A47D
tetradic
#7D50A4 #A45350 #77A450 #50A1A4
square
#7D50A4 #A45350 #77A450 #50A1A4
split-complementary
#7D50A4 #A1A450 #50A453
monochromatic
#3E2852 #5E3C7B #7D50A4 #9B75BC #B99ED0

Accessibility & contrast

On white

5.91
#7D50A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7D50A4
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D50A4#FFFFFF#000000##FFFFFF
##7D50A41.005.913.565.91
#FFFFFF5.911.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3862A7
Deuteranopia (green-blind)
#4565A2
Tritanopia (blue-blind)
#775F72
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7d50a4;
/* rgb */ color: rgb(125, 80, 164);
/* oklch */ color: oklch(51.8% 0.135 307.1);
Tailwind
colors: {
  custom: {
    50: '#a582bf',
    500: '#7d50a4',
    950: '#000000',
  },
}
SCSS
$custom: #7d50a4;
$custom-light: #a582bf;
$custom-dark: #000000;
JSON
{
  "hex": "#7d50a4",
  "rgb": {
    "r": 125,
    "g": 80,
    "b": 164
  },
  "hsl": {
    "h": 272.143,
    "s": 34.426,
    "l": 47.843
  },
  "oklch": {
    "l": 0.51838,
    "c": 0.13472,
    "h": 307.1
  },
  "luminance": 0.12778
}

Semantic roles & 50–950 ramp

primary
#7D50A4
secondary
#A6BD93
accent
#CB5D90
background
#FAF8FB
surface
#F4EFF7
border
#CECAD0
text
#0F0A12
muted
#7F7C81

Preview Lab

Preview with #7D50A4

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

Preview Lab → · Contrast checker → · Palette generator →

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