#7E6EA2#7E6EA2

#7E6EA2 is a mid, moderate violet. Relative luminance 0.182; OKLCH L 57.3% C 0.080 H 298.0°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#7E6EA2
RGBrgb(126, 110, 162)
HSLhsl(258, 22%, 53%)
HSVhsv(258, 32%, 64%)
CMYKcmyk(22.2%, 32.1%, 0%, 36.5%)
CIE-LABlab(49.73, 17.49, -25.72)
CIE-LCHlch(49.73, 31.11, 304.22°)
OKLaboklab(57.35% 0.0377 -0.0711)
OKLCHoklch(57.35% 0.08 298)
XYZxyz(20.7002, 18.1960, 36.5970)
Luminance0.1820 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E6EA2 #92A26E
analogous
#6E78A2 #7E6EA2 #986EA2
triadic
#7E6EA2 #A27E6E #6EA27E
tetradic
#7E6EA2 #A26E78 #92A26E #6EA298
square
#7E6EA2 #A26E78 #92A26E #6EA298
split-complementary
#7E6EA2 #A2986E #78A26E
monochromatic
#453A5B #615280 #7E6EA2 #9F93BA #C0B9D2

Accessibility & contrast

On white

4.53
#7E6EA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#7E6EA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E6EA2
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E6EA2#FFFFFF#000000##000000
##7E6EA21.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6276A4
Deuteranopia (green-blind)
#6476A1
Tritanopia (blue-blind)
#777681
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7e6ea2;
/* rgb */ color: rgb(126, 110, 162);
/* oklch */ color: oklch(57.3% 0.080 298.0);
Tailwind
colors: {
  custom: {
    50: '#a497bd',
    500: '#7e6ea2',
    950: '#000000',
  },
}
SCSS
$custom: #7e6ea2;
$custom-light: #a497bd;
$custom-dark: #000000;
JSON
{
  "hex": "#7e6ea2",
  "rgb": {
    "r": 126,
    "g": 110,
    "b": 162
  },
  "hsl": {
    "h": 258.462,
    "s": 21.849,
    "l": 53.333
  },
  "oklch": {
    "l": 0.57348,
    "c": 0.08046,
    "h": 298
  },
  "luminance": 0.18196
}

Semantic roles & 50–950 ramp

primary
#7E6EA2
secondary
#BAC1AB
accent
#BE69A4
background
#FAF9FB
surface
#F4F2F6
border
#CECCD0
text
#0F0D12
muted
#7F7E81

Preview Lab

Preview with #7E6EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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