#7E499D#7E499D

#7E499D is a mid, vivid violet. Relative luminance 0.116; OKLCH L 50.4% C 0.138 H 311.5°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#7E499D
RGBrgb(126, 73, 157)
HSLhsl(278, 37%, 45%)
HSVhsv(278, 54%, 62%)
CMYKcmyk(19.7%, 53.5%, 0%, 38.4%)
CIE-LABlab(40.63, 38.01, -37.03)
CIE-LCHlch(40.63, 53.06, 315.75°)
OKLaboklab(50.41% 0.0917 -0.1035)
OKLCHoklch(50.41% 0.138 311.5)
XYZxyz(17.0714, 11.6354, 33.2383)
Luminance0.1163 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E499D #689D49
analogous
#54499D #7E499D #9D4992
triadic
#7E499D #9D7E49 #499D7E
tetradic
#7E499D #9D5449 #689D49 #49929D
square
#7E499D #9D5449 #689D49 #49929D
split-complementary
#7E499D #929D49 #499D54
monochromatic
#3B2249 #5C3673 #7E499D #9C6ABA #B893CD

Accessibility & contrast

On white

6.31
#7E499D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#7E499D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E499D
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E499D#FFFFFF#000000##FFFFFF
##7E499D1.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335DA0
Deuteranopia (green-blind)
#44619B
Tritanopia (blue-blind)
#7B576C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7e499d;
/* rgb */ color: rgb(126, 73, 157);
/* oklch */ color: oklch(50.4% 0.138 311.5);
Tailwind
colors: {
  custom: {
    50: '#a57eba',
    500: '#7e499d',
    950: '#000000',
  },
}
SCSS
$custom: #7e499d;
$custom-light: #a57eba;
$custom-dark: #000000;
JSON
{
  "hex": "#7e499d",
  "rgb": {
    "r": 126,
    "g": 73,
    "b": 157
  },
  "hsl": {
    "h": 277.857,
    "s": 36.522,
    "l": 45.098
  },
  "oklch": {
    "l": 0.5041,
    "c": 0.13834,
    "h": 311.5
  },
  "luminance": 0.11635
}

Semantic roles & 50–950 ramp

primary
#7E499D
secondary
#9BB989
accent
#CD5B85
background
#FAF7FB
surface
#F4EEF6
border
#CEC9D0
text
#0F0A12
muted
#7F7C81

Preview Lab

Preview with #7E499D

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

Preview Lab → · Contrast checker → · Palette generator →

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