#7D509B#7D509B

#7D509B is a mid, vivid violet. Relative luminance 0.125; OKLCH L 51.3% C 0.124 H 310.4°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#7D509B
RGBrgb(125, 80, 155)
HSLhsl(276, 32%, 46%)
HSVhsv(276, 48%, 61%)
CMYKcmyk(19.4%, 48.4%, 0%, 39.2%)
CIE-LABlab(41.94, 33.28, -33.76)
CIE-LCHlch(41.94, 47.40, 314.59°)
OKLaboklab(51.32% 0.0801 -0.0941)
OKLCHoklch(51.32% 0.124 310.4)
XYZxyz(17.2414, 12.4641, 32.5015)
Luminance0.1246 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D509B #6E9B50
analogous
#57509B #7D509B #9B5093
triadic
#7D509B #9B7D50 #509B7D
tetradic
#7D509B #9B5750 #6E9B50 #50939B
square
#7D509B #9B5750 #6E9B50 #50939B
split-complementary
#7D509B #939B50 #509B57
monochromatic
#3C264A #5C3B73 #7D509B #9B72B6 #B89ACB

Accessibility & contrast

On white

6.01
#7D509B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#7D509B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D509B
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D509B#FFFFFF#000000##FFFFFF
##7D509B1.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E619E
Deuteranopia (green-blind)
#4B6499
Tritanopia (blue-blind)
#795C6E
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7d509b;
/* rgb */ color: rgb(125, 80, 155);
/* oklch */ color: oklch(51.3% 0.124 310.4);
Tailwind
colors: {
  custom: {
    50: '#a482b9',
    500: '#7d509b',
    950: '#000000',
  },
}
SCSS
$custom: #7d509b;
$custom-light: #a482b9;
$custom-dark: #000000;
JSON
{
  "hex": "#7d509b",
  "rgb": {
    "r": 125,
    "g": 80,
    "b": 155
  },
  "hsl": {
    "h": 276,
    "s": 31.915,
    "l": 46.078
  },
  "oklch": {
    "l": 0.51323,
    "c": 0.12358,
    "h": 310.4
  },
  "luminance": 0.12464
}

Semantic roles & 50–950 ramp

primary
#7D509B
secondary
#9FB88F
accent
#C86089
background
#FAF8FB
surface
#F4EFF6
border
#CECAD0
text
#0F0A11
muted
#7F7C80

Preview Lab

Preview with #7D509B

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

Preview Lab → · Contrast checker → · Palette generator →

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