#7E6DB7#7E6DB7

#7E6DB7 is a mid, moderate violet. Relative luminance 0.188; OKLCH L 58.2% C 0.112 H 293.2°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#7E6DB7
RGBrgb(126, 109, 183)
HSLhsl(254, 34%, 57%)
HSVhsv(254, 40%, 72%)
CMYKcmyk(31.1%, 40.4%, 0%, 28.2%)
CIE-LABlab(50.44, 23.45, -36.84)
CIE-LCHlch(50.44, 43.67, 302.48°)
OKLaboklab(58.21% 0.0441 -0.1031)
OKLCHoklch(58.21% 0.112 293.2)
XYZxyz(22.6179, 18.7914, 47.2260)
Luminance0.1879 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E6DB7 #A6B76D
analogous
#6D81B7 #7E6DB7 #A36DB7
triadic
#7E6DB7 #B77E6D #6DB77E
tetradic
#7E6DB7 #B76D81 #A6B76D #6DB7A3
square
#7E6DB7 #B76D81 #A6B76D #6DB7A3
split-complementary
#7E6DB7 #B7A36D #81B76D
monochromatic
#453872 #5E4C9B #7E6DB7 #A296CB #C6BFDF

Accessibility & contrast

On white

4.41
#7E6DB7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#7E6DB7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E6DB7
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E6DB7#FFFFFF#000000##000000
##7E6DB71.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5779BA
Deuteranopia (green-blind)
#5977B5
Tritanopia (blue-blind)
#717A89
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7e6db7;
/* rgb */ color: rgb(126, 109, 183);
/* oklch */ color: oklch(58.2% 0.112 293.2);
Tailwind
colors: {
  custom: {
    50: '#a597cd',
    500: '#7e6db7',
    950: '#000000',
  },
}
SCSS
$custom: #7e6db7;
$custom-light: #a597cd;
$custom-dark: #000000;
JSON
{
  "hex": "#7e6db7",
  "rgb": {
    "r": 126,
    "g": 109,
    "b": 183
  },
  "hsl": {
    "h": 253.784,
    "s": 33.945,
    "l": 57.255
  },
  "oklch": {
    "l": 0.58206,
    "c": 0.11213,
    "h": 293.2
  },
  "luminance": 0.18792
}

Semantic roles & 50–950 ramp

primary
#7E6DB7
secondary
#C8CFB1
accent
#CA5EB1
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#0F0D13
muted
#7F7E82

Preview Lab

Preview with #7E6DB7

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

Preview Lab → · Contrast checker → · Palette generator →

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