#7E5695#7E5695

#7E5695 is a mid, moderate violet. Relative luminance 0.133; OKLCH L 52.2% C 0.106 H 312.3°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#7E5695
RGBrgb(126, 86, 149)
HSLhsl(278, 27%, 46%)
HSVhsv(278, 42%, 58%)
CMYKcmyk(15.4%, 42.3%, 0%, 41.6%)
CIE-LABlab(43.15, 28.69, -28.26)
CIE-LCHlch(43.15, 40.27, 315.43°)
OKLaboklab(52.16% 0.0713 -0.0782)
OKLCHoklch(52.16% 0.106 312.3)
XYZxyz(17.3559, 13.2614, 30.0734)
Luminance0.1326 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E5695 #6D9556
analogous
#5E5695 #7E5695 #95568C
triadic
#7E5695 #957E56 #56957E
tetradic
#7E5695 #955E56 #6D9556 #568C95
square
#7E5695 #955E56 #6D9556 #568C95
split-complementary
#7E5695 #8C9556 #56955E
monochromatic
#3C2947 #5D406E #7E5695 #9C77B1 #B89EC7

Accessibility & contrast

On white

5.75
#7E5695 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#7E5695 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E5695
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E5695#FFFFFF#000000##FFFFFF
##7E56951.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A6497
Deuteranopia (green-blind)
#546793
Tritanopia (blue-blind)
#7C5F6E
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7e5695;
/* rgb */ color: rgb(126, 86, 149);
/* oklch */ color: oklch(52.2% 0.106 312.3);
Tailwind
colors: {
  custom: {
    50: '#a486b4',
    500: '#7e5695',
    950: '#000000',
  },
}
SCSS
$custom: #7e5695;
$custom-light: #a486b4;
$custom-dark: #000000;
JSON
{
  "hex": "#7e5695",
  "rgb": {
    "r": 126,
    "g": 86,
    "b": 149
  },
  "hsl": {
    "h": 278.095,
    "s": 26.809,
    "l": 46.078
  },
  "oklch": {
    "l": 0.52157,
    "c": 0.10583,
    "h": 312.3
  },
  "luminance": 0.13261
}

Semantic roles & 50–950 ramp

primary
#7E5695
secondary
#9FB592
accent
#C36587
background
#FAF8FB
surface
#F4EFF6
border
#CECAD0
text
#0F0B11
muted
#7F7C80

Preview Lab

Preview with #7E5695

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

Preview Lab → · Contrast checker → · Palette generator →

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