#7D6EC4#7D6EC4

#7D6EC4 is a mid, vivid violet. Relative luminance 0.195; OKLCH L 59.0% C 0.129 H 289.9°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#7D6EC4
RGBrgb(125, 110, 196)
HSLhsl(250, 42%, 60%)
HSVhsv(250, 44%, 77%)
CMYKcmyk(36.2%, 43.9%, 0%, 23.1%)
CIE-LABlab(51.26, 26.08, -43.03)
CIE-LCHlch(51.26, 50.32, 301.22°)
OKLaboklab(59.02% 0.0438 -0.1211)
OKLCHoklch(59.02% 0.129 289.9)
XYZxyz(23.9945, 19.4967, 54.7129)
Luminance0.1950 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D6EC4 #B5C46E
analogous
#6E8AC4 #7D6EC4 #A86EC4
triadic
#7D6EC4 #C47D6E #6EC47D
tetradic
#7D6EC4 #C46E8A #B5C46E #6EC4A8
square
#7D6EC4 #C46E8A #B5C46E #6EC4A8
split-complementary
#7D6EC4 #C4A86E #8AC46E
monochromatic
#433583 #5947AE #7D6EC4 #A499D6 #CBC5E7

Accessibility & contrast

On white

4.29
#7D6EC4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#7D6EC4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D6EC4
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D6EC4#FFFFFF#000000##000000
##7D6EC41.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#517CC7
Deuteranopia (green-blind)
#5278C2
Tritanopia (blue-blind)
#6B7F8F
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #7d6ec4;
/* rgb */ color: rgb(125, 110, 196);
/* oklch */ color: oklch(59.0% 0.129 289.9);
Tailwind
colors: {
  custom: {
    50: '#a597d6',
    500: '#7d6ec4',
    950: '#000000',
  },
}
SCSS
$custom: #7d6ec4;
$custom-light: #a597d6;
$custom-dark: #000000;
JSON
{
  "hex": "#7d6ec4",
  "rgb": {
    "r": 125,
    "g": 110,
    "b": 196
  },
  "hsl": {
    "h": 250.465,
    "s": 42.157,
    "l": 60
  },
  "oklch": {
    "l": 0.59022,
    "c": 0.12882,
    "h": 289.9
  },
  "luminance": 0.19497
}

Semantic roles & 50–950 ramp

primary
#7D6EC4
secondary
#D2D7B6
accent
#D256BC
background
#FAF9FD
surface
#F4F2FA
border
#CECCD3
text
#100D14
muted
#7F7E83

Preview Lab

Preview with #7D6EC4

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

Preview Lab → · Contrast checker → · Palette generator →

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