#7E6ABA#7E6ABA

#7E6ABA is a mid, vivid violet. Relative luminance 0.183; OKLCH L 57.8% C 0.121 H 293.8°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#7E6ABA
RGBrgb(126, 106, 186)
HSLhsl(255, 37%, 57%)
HSVhsv(255, 43%, 73%)
CMYKcmyk(32.3%, 43%, 0%, 27.1%)
CIE-LABlab(49.84, 26.04, -39.51)
CIE-LCHlch(49.84, 47.32, 303.38°)
OKLaboklab(57.8% 0.0488 -0.1109)
OKLCHoklch(57.8% 0.121 293.8)
XYZxyz(22.6189, 18.2885, 48.7832)
Luminance0.1829 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E6ABA #A6BA6A
analogous
#6A7EBA #7E6ABA #A66ABA
triadic
#7E6ABA #BA7E6A #6ABA7E
tetradic
#7E6ABA #BA6A7E #A6BA6A #6ABAA6
square
#7E6ABA #BA6A7E #A6BA6A #6ABAA6
split-complementary
#7E6ABA #BAA66A #7EBA6A
monochromatic
#453674 #5E499E #7E6ABA #A294CD #C6BEE1

Accessibility & contrast

On white

4.51
#7E6ABA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#7E6ABA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E6ABA
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E6ABA#FFFFFF#000000##000000
##7E6ABA1.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5177BD
Deuteranopia (green-blind)
#5475B8
Tritanopia (blue-blind)
#707989
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7e6aba;
/* rgb */ color: rgb(126, 106, 186);
/* oklch */ color: oklch(57.8% 0.121 293.8);
Tailwind
colors: {
  custom: {
    50: '#a695cf',
    500: '#7e6aba',
    950: '#000000',
  },
}
SCSS
$custom: #7e6aba;
$custom-light: #a695cf;
$custom-dark: #000000;
JSON
{
  "hex": "#7e6aba",
  "rgb": {
    "r": 126,
    "g": 106,
    "b": 186
  },
  "hsl": {
    "h": 255,
    "s": 36.697,
    "l": 57.255
  },
  "oklch": {
    "l": 0.57802,
    "c": 0.12116,
    "h": 293.8
  },
  "luminance": 0.18289
}

Semantic roles & 50–950 ramp

primary
#7E6ABA
secondary
#C8D0B0
accent
#CD5BB0
background
#FAF9FC
surface
#F4F1F9
border
#CECBD2
text
#0F0D14
muted
#7F7E82

Preview Lab

Preview with #7E6ABA

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

Preview Lab → · Contrast checker → · Palette generator →

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