#7A67A6#7A67A6

#7A67A6 is a mid, moderate violet. Relative luminance 0.166; OKLCH L 55.8% C 0.097 H 297.0°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#7A67A6
RGBrgb(122, 103, 166)
HSLhsl(258, 26%, 53%)
HSVhsv(258, 38%, 65%)
CMYKcmyk(26.5%, 38%, 0%, 34.9%)
CIE-LABlab(47.74, 21.44, -31.20)
CIE-LCHlch(47.74, 37.86, 304.50°)
OKLaboklab(55.8% 0.0443 -0.0868)
OKLCHoklch(55.8% 0.097 297)
XYZxyz(19.7576, 16.5911, 38.2305)
Luminance0.1659 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A67A6 #93A667
analogous
#6774A6 #7A67A6 #9967A6
triadic
#7A67A6 #A67A67 #67A67A
tetradic
#7A67A6 #A66774 #93A667 #67A699
square
#7A67A6 #A66774 #93A667 #67A699
split-complementary
#7A67A6 #A69967 #74A667
monochromatic
#42365C #5D4D83 #7A67A6 #9C8EBD #BEB4D3

Accessibility & contrast

On white

4.86
#7A67A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#7A67A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A67A6
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A67A6#FFFFFF#000000##FFFFFF
##7A67A61.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5772A8
Deuteranopia (green-blind)
#5A71A4
Tritanopia (blue-blind)
#71727F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7a67a6;
/* rgb */ color: rgb(122, 103, 166);
/* oklch */ color: oklch(55.8% 0.097 297.0);
Tailwind
colors: {
  custom: {
    50: '#a292c0',
    500: '#7a67a6',
    950: '#000000',
  },
}
SCSS
$custom: #7a67a6;
$custom-light: #a292c0;
$custom-dark: #000000;
JSON
{
  "hex": "#7a67a6",
  "rgb": {
    "r": 122,
    "g": 103,
    "b": 166
  },
  "hsl": {
    "h": 258.095,
    "s": 26.141,
    "l": 52.745
  },
  "oklch": {
    "l": 0.55796,
    "c": 0.09748,
    "h": 297
  },
  "luminance": 0.16591
}

Semantic roles & 50–950 ramp

primary
#7A67A6
secondary
#BAC2A7
accent
#C365A6
background
#FAF9FB
surface
#F3F1F7
border
#CDCBD0
text
#0F0D12
muted
#7F7E81

Preview Lab

Preview with #7A67A6

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

Preview Lab → · Contrast checker → · Palette generator →

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