#7E6EBE#7E6EBE

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

Color values

HEX#7E6EBE
RGBrgb(126, 110, 190)
HSLhsl(252, 38%, 59%)
HSVhsv(252, 42%, 75%)
CMYKcmyk(33.7%, 42.1%, 0%, 25.5%)
CIE-LABlab(51.04, 24.72, -39.93)
CIE-LCHlch(51.04, 46.96, 301.76°)
OKLaboklab(58.78% 0.044 -0.1121)
OKLCHoklch(58.78% 0.12 291.4)
XYZxyz(23.4720, 19.3047, 51.1947)
Luminance0.1930 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E6EBE #AEBE6E
analogous
#6E86BE #7E6EBE #A66EBE
triadic
#7E6EBE #BE7E6E #6EBE7E
tetradic
#7E6EBE #BE6E86 #AEBE6E #6EBEA6
square
#7E6EBE #BE6E86 #AEBE6E #6EBEA6
split-complementary
#7E6EBE #BEA66E #86BE6E
monochromatic
#45377B #5C4AA5 #7E6EBE #A498D1 #C9C3E4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E6EBE#FFFFFF#000000##000000
##7E6EBE1.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)
#557BC1
Deuteranopia (green-blind)
#5678BC
Tritanopia (blue-blind)
#6F7D8D
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #7e6ebe;
/* rgb */ color: rgb(126, 110, 190);
/* oklch */ color: oklch(58.8% 0.120 291.4);
Tailwind
colors: {
  custom: {
    50: '#a697d2',
    500: '#7e6ebe',
    950: '#000000',
  },
}
SCSS
$custom: #7e6ebe;
$custom-light: #a697d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7e6ebe",
  "rgb": {
    "r": 126,
    "g": 110,
    "b": 190
  },
  "hsl": {
    "h": 252,
    "s": 38.095,
    "l": 58.824
  },
  "oklch": {
    "l": 0.58775,
    "c": 0.12042,
    "h": 291.4
  },
  "luminance": 0.19305
}

Semantic roles & 50–950 ramp

primary
#7E6EBE
secondary
#CDD4B4
accent
#CE5AB7
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#0F0D14
muted
#7F7E82

Preview Lab

Preview with #7E6EBE

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

Preview Lab → · Contrast checker → · Palette generator →

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