#7D6EC0#7D6EC0

#7D6EC0 is a mid, vivid violet. Relative luminance 0.193; OKLCH L 58.8% C 0.123 H 290.5°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#7D6EC0
RGBrgb(125, 110, 192)
HSLhsl(251, 39%, 59%)
HSVhsv(251, 43%, 75%)
CMYKcmyk(34.9%, 42.7%, 0%, 24.7%)
CIE-LABlab(51.06, 24.99, -41.06)
CIE-LCHlch(51.06, 48.07, 301.32°)
OKLaboklab(58.8% 0.0432 -0.1154)
OKLCHoklch(58.8% 0.123 290.5)
XYZxyz(23.5453, 19.3170, 52.3470)
Luminance0.1932 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D6EC0 #B1C06E
analogous
#6E88C0 #7D6EC0 #A66EC0
triadic
#7D6EC0 #C07D6E #6EC07D
tetradic
#7D6EC0 #C06E88 #B1C06E #6EC0A6
square
#7D6EC0 #C06E88 #B1C06E #6EC0A6
split-complementary
#7D6EC0 #C0A66E #88C06E
monochromatic
#43367D #5A49A8 #7D6EC0 #A399D3 #CAC3E5

Accessibility & contrast

On white

4.32
#7D6EC0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#7D6EC0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D6EC0
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D6EC0#FFFFFF#000000##000000
##7D6EC01.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#537BC3
Deuteranopia (green-blind)
#5478BE
Tritanopia (blue-blind)
#6C7E8E
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #7d6ec0;
/* rgb */ color: rgb(125, 110, 192);
/* oklch */ color: oklch(58.8% 0.123 290.5);
Tailwind
colors: {
  custom: {
    50: '#a597d3',
    500: '#7d6ec0',
    950: '#000000',
  },
}
SCSS
$custom: #7d6ec0;
$custom-light: #a597d3;
$custom-dark: #000000;
JSON
{
  "hex": "#7d6ec0",
  "rgb": {
    "r": 125,
    "g": 110,
    "b": 192
  },
  "hsl": {
    "h": 250.976,
    "s": 39.423,
    "l": 59.216
  },
  "oklch": {
    "l": 0.58798,
    "c": 0.12321,
    "h": 290.5
  },
  "luminance": 0.19318
}

Semantic roles & 50–950 ramp

primary
#7D6EC0
secondary
#CFD5B5
accent
#CF58BA
background
#FAF9FD
surface
#F4F2FA
border
#CECCD3
text
#0F0D14
muted
#7F7E83

Preview Lab

Preview with #7D6EC0

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

Preview Lab → · Contrast checker → · Palette generator →

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