#7A6CA2#7A6CA2

#7A6CA2 is a mid, moderate violet. Relative luminance 0.175; OKLCH L 56.6% C 0.083 H 295.5°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#7A6CA2
RGBrgb(122, 108, 162)
HSLhsl(256, 23%, 53%)
HSVhsv(256, 33%, 64%)
CMYKcmyk(24.7%, 33.3%, 0%, 36.5%)
CIE-LABlab(48.85, 17.42, -27.12)
CIE-LCHlch(48.85, 32.24, 302.71°)
OKLaboklab(56.58% 0.0359 -0.0751)
OKLCHoklch(56.58% 0.083 295.5)
XYZxyz(19.9087, 17.4711, 36.4988)
Luminance0.1747 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A6CA2 #94A26C
analogous
#6C79A2 #7A6CA2 #956CA2
triadic
#7A6CA2 #A27A6C #6CA27A
tetradic
#7A6CA2 #A26C79 #94A26C #6CA295
square
#7A6CA2 #A26C79 #94A26C #6CA295
split-complementary
#7A6CA2 #A2956C #79A26C
monochromatic
#42395A #5D5180 #7A6CA2 #9C91BA #BEB7D1

Accessibility & contrast

On white

4.67
#7A6CA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#7A6CA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A6CA2
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A6CA2#FFFFFF#000000##FFFFFF
##7A6CA21.004.674.494.67
#FFFFFF4.671.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F74A4
Deuteranopia (green-blind)
#6073A1
Tritanopia (blue-blind)
#727580
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7a6ca2;
/* rgb */ color: rgb(122, 108, 162);
/* oklch */ color: oklch(56.6% 0.083 295.5);
Tailwind
colors: {
  custom: {
    50: '#a196bd',
    500: '#7a6ca2',
    950: '#000000',
  },
}
SCSS
$custom: #7a6ca2;
$custom-light: #a196bd;
$custom-dark: #000000;
JSON
{
  "hex": "#7a6ca2",
  "rgb": {
    "r": 122,
    "g": 108,
    "b": 162
  },
  "hsl": {
    "h": 255.556,
    "s": 22.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.56582,
    "c": 0.08327,
    "h": 295.5
  },
  "luminance": 0.17471
}

Semantic roles & 50–950 ramp

primary
#7A6CA2
secondary
#BBC1A9
accent
#BF69A9
background
#FAF9FB
surface
#F3F2F6
border
#CDCCD0
text
#0F0D12
muted
#7F7E81

Preview Lab

Preview with #7A6CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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