#766AAA#766AAA

#766AAA is a mid, moderate violet. Relative luminance 0.171; OKLCH L 56.2% C 0.098 H 291.5°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#766AAA
RGBrgb(118, 106, 170)
HSLhsl(251, 27%, 54%)
HSVhsv(251, 38%, 67%)
CMYKcmyk(30.6%, 37.6%, 0%, 33.3%)
CIE-LABlab(48.34, 19.48, -32.63)
CIE-LCHlch(48.34, 38.00, 300.83°)
OKLaboklab(56.23% 0.0359 -0.0911)
OKLCHoklch(56.23% 0.098 291.5)
XYZxyz(19.8791, 17.0615, 40.2683)
Luminance0.1706 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#766AAA #9EAA6A
analogous
#6A7EAA #766AAA #966AAA
triadic
#766AAA #AA766A #6AAA76
tetradic
#766AAA #AA6A7E #9EAA6A #6AAA96
square
#766AAA #AA6A7E #9EAA6A #6AAA96
split-complementary
#766AAA #AA966A #7EAA6A
monochromatic
#403862 #594E89 #766AAA #9A91C0 #BEB8D6

Accessibility & contrast

On white

4.76
#766AAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#766AAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #766AAA
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##766AAA#FFFFFF#000000##FFFFFF
##766AAA1.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5874AD
Deuteranopia (green-blind)
#5972A8
Tritanopia (blue-blind)
#6A7582
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #766aaa;
/* rgb */ color: rgb(118, 106, 170);
/* oklch */ color: oklch(56.2% 0.098 291.5);
Tailwind
colors: {
  custom: {
    50: '#9f94c3',
    500: '#766aaa',
    950: '#000000',
  },
}
SCSS
$custom: #766aaa;
$custom-light: #9f94c3;
$custom-dark: #000000;
JSON
{
  "hex": "#766aaa",
  "rgb": {
    "r": 118,
    "g": 106,
    "b": 170
  },
  "hsl": {
    "h": 251.25,
    "s": 27.35,
    "l": 54.118
  },
  "oklch": {
    "l": 0.56225,
    "c": 0.09792,
    "h": 291.5
  },
  "luminance": 0.17062
}

Semantic roles & 50–950 ramp

primary
#766AAA
secondary
#C0C6AA
accent
#C464B2
background
#F9F9FC
surface
#F2F1F8
border
#CCCBD1
text
#0F0D12
muted
#7E7E81

Preview Lab

Preview with #766AAA

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

Preview Lab → · Contrast checker → · Palette generator →

#766AAA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva