#7E5693#7E5693

#7E5693 is a mid, moderate violet. Relative luminance 0.132; OKLCH L 52.1% C 0.103 H 313.3°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#7E5693
RGBrgb(126, 86, 147)
HSLhsl(279, 26%, 46%)
HSVhsv(279, 41%, 58%)
CMYKcmyk(14.3%, 41.5%, 0%, 42.4%)
CIE-LABlab(43.06, 28.23, -27.20)
CIE-LCHlch(43.06, 39.21, 316.06°)
OKLaboklab(52.06% 0.0709 -0.0752)
OKLCHoklch(52.06% 0.103 313.3)
XYZxyz(17.1976, 13.1981, 29.2396)
Luminance0.1320 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E5693 #6B9356
analogous
#5F5693 #7E5693 #935689
triadic
#7E5693 #937E56 #56937E
tetradic
#7E5693 #935F56 #6B9356 #568993
square
#7E5693 #935F56 #6B9356 #568993
split-complementary
#7E5693 #899356 #56935F
monochromatic
#3C2946 #5D3F6C #7E5693 #9C77AF #B89DC6

Accessibility & contrast

On white

5.77
#7E5693 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#7E5693 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E5693
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E5693#FFFFFF#000000##FFFFFF
##7E56931.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B6395
Deuteranopia (green-blind)
#556791
Tritanopia (blue-blind)
#7C5F6D
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7e5693;
/* rgb */ color: rgb(126, 86, 147);
/* oklch */ color: oklch(52.1% 0.103 313.3);
Tailwind
colors: {
  custom: {
    50: '#a486b3',
    500: '#7e5693',
    950: '#000000',
  },
}
SCSS
$custom: #7e5693;
$custom-light: #a486b3;
$custom-dark: #000000;
JSON
{
  "hex": "#7e5693",
  "rgb": {
    "r": 126,
    "g": 86,
    "b": 147
  },
  "hsl": {
    "h": 279.344,
    "s": 26.18,
    "l": 45.686
  },
  "oklch": {
    "l": 0.52056,
    "c": 0.10332,
    "h": 313.3
  },
  "luminance": 0.13198
}

Semantic roles & 50–950 ramp

primary
#7E5693
secondary
#9DB391
accent
#C36585
background
#FAF8FB
surface
#F4EFF6
border
#CECAD0
text
#0F0B11
muted
#7F7C80

Preview Lab

Preview with #7E5693

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

Preview Lab → · Contrast checker → · Palette generator →

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