#7A5693#7A5693

#7A5693 is a mid, moderate violet. Relative luminance 0.129; OKLCH L 51.6% C 0.102 H 310.4°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#7A5693
RGBrgb(122, 86, 147)
HSLhsl(275, 26%, 46%)
HSVhsv(275, 41%, 58%)
CMYKcmyk(17%, 41.5%, 0%, 42.4%)
CIE-LABlab(42.61, 26.96, -27.94)
CIE-LCHlch(42.61, 38.82, 313.98°)
OKLaboklab(51.62% 0.0658 -0.0774)
OKLCHoklch(51.62% 0.102 310.4)
XYZxyz(16.6193, 12.9000, 29.2125)
Luminance0.1290 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A5693 #6F9356
analogous
#5B5693 #7A5693 #93568D
triadic
#7A5693 #937A56 #56937A
tetradic
#7A5693 #935B56 #6F9356 #568D93
square
#7A5693 #935B56 #6F9356 #568D93
split-complementary
#7A5693 #8D9356 #56935B
monochromatic
#3A2946 #5A3F6C #7A5693 #9877AF #B59DC6

Accessibility & contrast

On white

5.87
#7A5693 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#7A5693 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A5693
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A5693#FFFFFF#000000##FFFFFF
##7A56931.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A6395
Deuteranopia (green-blind)
#526591
Tritanopia (blue-blind)
#775F6D
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7a5693;
/* rgb */ color: rgb(122, 86, 147);
/* oklch */ color: oklch(51.6% 0.102 310.4);
Tailwind
colors: {
  custom: {
    50: '#a186b3',
    500: '#7a5693',
    950: '#000000',
  },
}
SCSS
$custom: #7a5693;
$custom-light: #a186b3;
$custom-dark: #000000;
JSON
{
  "hex": "#7a5693",
  "rgb": {
    "r": 122,
    "g": 86,
    "b": 147
  },
  "hsl": {
    "h": 275.41,
    "s": 26.18,
    "l": 45.686
  },
  "oklch": {
    "l": 0.51616,
    "c": 0.10157,
    "h": 310.4
  },
  "luminance": 0.129
}

Semantic roles & 50–950 ramp

primary
#7A5693
secondary
#9FB391
accent
#C3658B
background
#FAF8FB
surface
#F3EFF6
border
#CDCAD0
text
#0F0B11
muted
#7F7C80

Preview Lab

Preview with #7A5693

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

Preview Lab → · Contrast checker → · Palette generator →

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