#7E6099#7E6099

#7E6099 is a mid, moderate violet. Relative luminance 0.151; OKLCH L 54.2% C 0.093 H 307.7°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#7E6099
RGBrgb(126, 96, 153)
HSLhsl(272, 23%, 49%)
HSVhsv(272, 37%, 60%)
CMYKcmyk(17.6%, 37.3%, 0%, 40%)
CIE-LABlab(45.77, 23.69, -26.56)
CIE-LCHlch(45.77, 35.59, 311.73°)
OKLaboklab(54.2% 0.0568 -0.0734)
OKLCHoklch(54.2% 0.093 307.7)
XYZxyz(18.5357, 15.1014, 32.0692)
Luminance0.1510 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E6099 #7B9960
analogous
#626099 #7E6099 #996098
triadic
#7E6099 #997E60 #60997E
tetradic
#7E6099 #996260 #7B9960 #609899
square
#7E6099 #996260 #7B9960 #609899
split-complementary
#7E6099 #989960 #609962
monochromatic
#40314E #5F4873 #7E6099 #9C84B2 #BBAACA

Accessibility & contrast

On white

5.22
#7E6099 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#7E6099 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E6099
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E6099#FFFFFF#000000##FFFFFF
##7E60991.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#546B9B
Deuteranopia (green-blind)
#5B6D97
Tritanopia (blue-blind)
#7A6875
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7e6099;
/* rgb */ color: rgb(126, 96, 153);
/* oklch */ color: oklch(54.2% 0.093 307.7);
Tailwind
colors: {
  custom: {
    50: '#a48db7',
    500: '#7e6099',
    950: '#000000',
  },
}
SCSS
$custom: #7e6099;
$custom-light: #a48db7;
$custom-dark: #000000;
JSON
{
  "hex": "#7e6099",
  "rgb": {
    "r": 126,
    "g": 96,
    "b": 153
  },
  "hsl": {
    "h": 271.579,
    "s": 22.892,
    "l": 48.824
  },
  "oklch": {
    "l": 0.54197,
    "c": 0.09279,
    "h": 307.7
  },
  "luminance": 0.15101
}

Semantic roles & 50–950 ramp

primary
#7E6099
secondary
#AAB89D
accent
#BF6892
background
#FAF8FB
surface
#F4F0F6
border
#CECBD0
text
#0F0C11
muted
#7F7D80

Preview Lab

Preview with #7E6099

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

Preview Lab → · Contrast checker → · Palette generator →

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