#7D6EC5#7D6EC5

#7D6EC5 is a mid, vivid violet. Relative luminance 0.195; OKLCH L 59.1% C 0.130 H 289.7°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#7D6EC5
RGBrgb(125, 110, 197)
HSLhsl(250, 43%, 60%)
HSVhsv(250, 44%, 77%)
CMYKcmyk(36.5%, 44.2%, 0%, 22.7%)
CIE-LABlab(51.32, 26.35, -43.52)
CIE-LCHlch(51.32, 50.88, 301.19°)
OKLaboklab(59.08% 0.044 -0.1226)
OKLCHoklch(59.08% 0.13 289.7)
XYZxyz(24.1087, 19.5424, 55.3143)
Luminance0.1954 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D6EC5 #B6C56E
analogous
#6E8AC5 #7D6EC5 #A96EC5
triadic
#7D6EC5 #C57D6E #6EC57D
tetradic
#7D6EC5 #C56E8A #B6C56E #6EC5A9
square
#7D6EC5 #C56E8A #B6C56E #6EC5A9
split-complementary
#7D6EC5 #C5A96E #8AC56E
monochromatic
#423584 #5846B0 #7D6EC5 #A49AD6 #CBC5E8

Accessibility & contrast

On white

4.28
#7D6EC5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#7D6EC5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D6EC5
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D6EC5#FFFFFF#000000##000000
##7D6EC51.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#507CC8
Deuteranopia (green-blind)
#5178C3
Tritanopia (blue-blind)
#6B7F90
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #7d6ec5;
/* rgb */ color: rgb(125, 110, 197);
/* oklch */ color: oklch(59.1% 0.130 289.7);
Tailwind
colors: {
  custom: {
    50: '#a697d7',
    500: '#7d6ec5',
    950: '#000000',
  },
}
SCSS
$custom: #7d6ec5;
$custom-light: #a697d7;
$custom-dark: #000000;
JSON
{
  "hex": "#7d6ec5",
  "rgb": {
    "r": 125,
    "g": 110,
    "b": 197
  },
  "hsl": {
    "h": 250.345,
    "s": 42.857,
    "l": 60.196
  },
  "oklch": {
    "l": 0.59079,
    "c": 0.13022,
    "h": 289.7
  },
  "luminance": 0.19543
}

Semantic roles & 50–950 ramp

primary
#7D6EC5
secondary
#D2D8B7
accent
#B6309F
background
#FAF9FD
surface
#F4F2FA
border
#CECCD3
text
#100D14
muted
#7F7E83

Preview Lab

Preview with #7D6EC5

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

Preview Lab → · Contrast checker → · Palette generator →

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