#7A66AA#7A66AA

#7A66AA is a mid, moderate violet. Relative luminance 0.165; OKLCH L 55.8% C 0.105 H 296.4°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#7A66AA
RGBrgb(122, 102, 170)
HSLhsl(258, 29%, 53%)
HSVhsv(258, 40%, 67%)
CMYKcmyk(28.2%, 40%, 0%, 33.3%)
CIE-LABlab(47.68, 23.08, -33.64)
CIE-LCHlch(47.68, 40.79, 304.45°)
OKLaboklab(55.81% 0.0466 -0.0939)
OKLCHoklch(55.81% 0.105 296.4)
XYZxyz(20.0314, 16.5424, 40.1601)
Luminance0.1654 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A66AA #96AA66
analogous
#6674AA #7A66AA #9C66AA
triadic
#7A66AA #AA7A66 #66AA7A
tetradic
#7A66AA #AA6674 #96AA66 #66AA9C
square
#7A66AA #AA6674 #96AA66 #66AA9C
split-complementary
#7A66AA #AA9C66 #74AA66
monochromatic
#423560 #5D4B88 #7A66AA #9C8DC0 #BEB5D6

Accessibility & contrast

On white

4.87
#7A66AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#7A66AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A66AA
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A66AA#FFFFFF#000000##FFFFFF
##7A66AA1.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5371AD
Deuteranopia (green-blind)
#5770A8
Tritanopia (blue-blind)
#707280
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7a66aa;
/* rgb */ color: rgb(122, 102, 170);
/* oklch */ color: oklch(55.8% 0.105 296.4);
Tailwind
colors: {
  custom: {
    50: '#a292c3',
    500: '#7a66aa',
    950: '#000000',
  },
}
SCSS
$custom: #7a66aa;
$custom-light: #a292c3;
$custom-dark: #000000;
JSON
{
  "hex": "#7a66aa",
  "rgb": {
    "r": 122,
    "g": 102,
    "b": 170
  },
  "hsl": {
    "h": 257.647,
    "s": 28.571,
    "l": 53.333
  },
  "oklch": {
    "l": 0.55811,
    "c": 0.10483,
    "h": 296.4
  },
  "luminance": 0.16543
}

Semantic roles & 50–950 ramp

primary
#7A66AA
secondary
#BCC5A7
accent
#C563A8
background
#FAF8FC
surface
#F4F0F8
border
#CECBD1
text
#0F0D12
muted
#7F7D81

Preview Lab

Preview with #7A66AA

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

Preview Lab → · Contrast checker → · Palette generator →

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