#7A67A2#7A67A2

#7A67A2 is a mid, moderate violet. Relative luminance 0.164; OKLCH L 55.6% C 0.092 H 298.2°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#7A67A2
RGBrgb(122, 103, 162)
HSLhsl(259, 24%, 52%)
HSVhsv(259, 36%, 64%)
CMYKcmyk(24.7%, 36.4%, 0%, 36.5%)
CIE-LABlab(47.55, 20.43, -29.14)
CIE-LCHlch(47.55, 35.59, 305.03°)
OKLaboklab(55.59% 0.0433 -0.0809)
OKLCHoklch(55.59% 0.092 298.2)
XYZxyz(19.3964, 16.4466, 36.3280)
Luminance0.1645 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A67A2 #8FA267
analogous
#6772A2 #7A67A2 #9867A2
triadic
#7A67A2 #A27A67 #67A27A
tetradic
#7A67A2 #A26772 #8FA267 #67A298
square
#7A67A2 #A26772 #8FA267 #67A298
split-complementary
#7A67A2 #A29867 #72A267
monochromatic
#413658 #5D4D7E #7A67A2 #9B8DB9 #BCB3D0

Accessibility & contrast

On white

4.90
#7A67A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#7A67A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A67A2
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A67A2#FFFFFF#000000##FFFFFF
##7A67A21.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5871A4
Deuteranopia (green-blind)
#5C70A0
Tritanopia (blue-blind)
#72717D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7a67a2;
/* rgb */ color: rgb(122, 103, 162);
/* oklch */ color: oklch(55.6% 0.092 298.2);
Tailwind
colors: {
  custom: {
    50: '#a192bd',
    500: '#7a67a2',
    950: '#000000',
  },
}
SCSS
$custom: #7a67a2;
$custom-light: #a192bd;
$custom-dark: #000000;
JSON
{
  "hex": "#7a67a2",
  "rgb": {
    "r": 122,
    "g": 103,
    "b": 162
  },
  "hsl": {
    "h": 259.322,
    "s": 24.082,
    "l": 51.961
  },
  "oklch": {
    "l": 0.55594,
    "c": 0.09179,
    "h": 298.2
  },
  "luminance": 0.16447
}

Semantic roles & 50–950 ramp

primary
#7A67A2
secondary
#B7BFA5
accent
#C167A4
background
#FAF9FB
surface
#F3F1F6
border
#CDCBD0
text
#0F0D12
muted
#7F7E81

Preview Lab

Preview with #7A67A2

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

Preview Lab → · Contrast checker → · Palette generator →

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