#7D6AAA#7D6AAA

#7D6AAA is a mid, moderate violet. Relative luminance 0.176; OKLCH L 56.9% C 0.099 H 296.8°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#7D6AAA
RGBrgb(125, 106, 170)
HSLhsl(258, 27%, 54%)
HSVhsv(258, 38%, 67%)
CMYKcmyk(26.5%, 37.6%, 0%, 33.3%)
CIE-LABlab(48.97, 21.58, -31.60)
CIE-LCHlch(48.97, 38.26, 304.33°)
OKLaboklab(56.86% 0.0444 -0.0879)
OKLCHoklch(56.86% 0.099 296.8)
XYZxyz(20.8655, 17.5701, 40.3145)
Luminance0.1757 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D6AAA #97AA6A
analogous
#6A77AA #7D6AAA #9D6AAA
triadic
#7D6AAA #AA7D6A #6AAA7D
tetradic
#7D6AAA #AA6A77 #97AA6A #6AAA9D
square
#7D6AAA #AA6A77 #97AA6A #6AAA9D
split-complementary
#7D6AAA #AA9D6A #77AA6A
monochromatic
#443862 #5F4E89 #7D6AAA #9F91C0 #C1B8D6

Accessibility & contrast

On white

4.65
#7D6AAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#7D6AAA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7D6AAA
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D6AAA#FFFFFF#000000##FFFFFF
##7D6AAA1.004.654.514.65
#FFFFFF4.651.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5975AC
Deuteranopia (green-blind)
#5C74A8
Tritanopia (blue-blind)
#747582
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7d6aaa;
/* rgb */ color: rgb(125, 106, 170);
/* oklch */ color: oklch(56.9% 0.099 296.8);
Tailwind
colors: {
  custom: {
    50: '#a494c3',
    500: '#7d6aaa',
    950: '#000000',
  },
}
SCSS
$custom: #7d6aaa;
$custom-light: #a494c3;
$custom-dark: #000000;
JSON
{
  "hex": "#7d6aaa",
  "rgb": {
    "r": 125,
    "g": 106,
    "b": 170
  },
  "hsl": {
    "h": 257.813,
    "s": 27.35,
    "l": 54.118
  },
  "oklch": {
    "l": 0.56861,
    "c": 0.09853,
    "h": 296.8
  },
  "luminance": 0.1757
}

Semantic roles & 50–950 ramp

primary
#7D6AAA
secondary
#BDC6AA
accent
#C464A7
background
#FAF9FC
surface
#F4F1F8
border
#CECBD1
text
#0F0D12
muted
#7F7E81

Preview Lab

Preview with #7D6AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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