#7D6EB6#7D6EB6

#7D6EB6 is a mid, moderate violet. Relative luminance 0.189; OKLCH L 58.3% C 0.109 H 292.2°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#7D6EB6
RGBrgb(125, 110, 182)
HSLhsl(253, 33%, 57%)
HSVhsv(253, 40%, 71%)
CMYKcmyk(31.3%, 39.6%, 0%, 28.6%)
CIE-LABlab(50.56, 22.30, -36.08)
CIE-LCHlch(50.56, 42.42, 301.72°)
OKLaboklab(58.26% 0.0413 -0.1009)
OKLCHoklch(58.26% 0.109 292.2)
XYZxyz(22.4747, 18.8888, 46.7087)
Luminance0.1889 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D6EB6 #A7B66E
analogous
#6E83B6 #7D6EB6 #A16EB6
triadic
#7D6EB6 #B67D6E #6EB67D
tetradic
#7D6EB6 #B66E83 #A7B66E #6EB6A1
square
#7D6EB6 #B66E83 #A7B66E #6EB6A1
split-complementary
#7D6EB6 #B6A16E #83B66E
monochromatic
#443971 #5D4D9A #7D6EB6 #A197CA #C6BFDF

Accessibility & contrast

On white

4.40
#7D6EB6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#7D6EB6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D6EB6
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D6EB6#FFFFFF#000000##000000
##7D6EB61.004.404.784.78
#FFFFFF4.401.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5979B9
Deuteranopia (green-blind)
#5A77B4
Tritanopia (blue-blind)
#707B89
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7d6eb6;
/* rgb */ color: rgb(125, 110, 182);
/* oklch */ color: oklch(58.3% 0.109 292.2);
Tailwind
colors: {
  custom: {
    50: '#a497cc',
    500: '#7d6eb6',
    950: '#000000',
  },
}
SCSS
$custom: #7d6eb6;
$custom-light: #a497cc;
$custom-dark: #000000;
JSON
{
  "hex": "#7d6eb6",
  "rgb": {
    "r": 125,
    "g": 110,
    "b": 182
  },
  "hsl": {
    "h": 252.5,
    "s": 33.028,
    "l": 57.255
  },
  "oklch": {
    "l": 0.58255,
    "c": 0.10905,
    "h": 292.2
  },
  "luminance": 0.18889
}

Semantic roles & 50–950 ramp

primary
#7D6EB6
secondary
#C8CEB1
accent
#C95FB3
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#0F0D13
muted
#7F7E82

Preview Lab

Preview with #7D6EB6

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

Preview Lab → · Contrast checker → · Palette generator →

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