#7E6ABC#7E6ABC

#7E6ABC is a mid, vivid violet. Relative luminance 0.184; OKLCH L 57.9% C 0.124 H 293.4°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#7E6ABC
RGBrgb(126, 106, 188)
HSLhsl(255, 38%, 58%)
HSVhsv(255, 44%, 74%)
CMYKcmyk(33%, 43.6%, 0%, 26.3%)
CIE-LABlab(49.95, 26.57, -40.51)
CIE-LCHlch(49.95, 48.44, 303.26°)
OKLaboklab(57.91% 0.0492 -0.1138)
OKLCHoklch(57.91% 0.124 293.4)
XYZxyz(22.8330, 18.3741, 49.9108)
Luminance0.1837 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E6ABC #A8BC6A
analogous
#6A7FBC #7E6ABC #A76ABC
triadic
#7E6ABC #BC7E6A #6ABC7E
tetradic
#7E6ABC #BC6A7F #A8BC6A #6ABCA7
square
#7E6ABC #BC6A7F #A8BC6A #6ABCA7
split-complementary
#7E6ABC #BCA76A #7FBC6A
monochromatic
#453576 #5E48A1 #7E6ABC #A394CF #C7BEE2

Accessibility & contrast

On white

4.49
#7E6ABC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#7E6ABC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E6ABC
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E6ABC#FFFFFF#000000##000000
##7E6ABC1.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5078BF
Deuteranopia (green-blind)
#5375BA
Tritanopia (blue-blind)
#70798A
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7e6abc;
/* rgb */ color: rgb(126, 106, 188);
/* oklch */ color: oklch(57.9% 0.124 293.4);
Tailwind
colors: {
  custom: {
    50: '#a695d0',
    500: '#7e6abc',
    950: '#000000',
  },
}
SCSS
$custom: #7e6abc;
$custom-light: #a695d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7e6abc",
  "rgb": {
    "r": 126,
    "g": 106,
    "b": 188
  },
  "hsl": {
    "h": 254.634,
    "s": 37.963,
    "l": 57.647
  },
  "oklch": {
    "l": 0.57913,
    "c": 0.12394,
    "h": 293.4
  },
  "luminance": 0.18375
}

Semantic roles & 50–950 ramp

primary
#7E6ABC
secondary
#C9D1B0
accent
#CE5AB2
background
#FAF9FC
surface
#F4F1F9
border
#CECBD2
text
#0F0D14
muted
#7F7E82

Preview Lab

Preview with #7E6ABC

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

Preview Lab → · Contrast checker → · Palette generator →

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