#7646AA#7646AA

#7646AA is a mid, vivid violet. Relative luminance 0.111; OKLCH L 49.8% C 0.156 H 303.3°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#7646AA
RGBrgb(118, 70, 170)
HSLhsl(269, 42%, 47%)
HSVhsv(269, 59%, 67%)
CMYKcmyk(30.6%, 58.8%, 0%, 33.3%)
CIE-LABlab(39.81, 40.70, -46.16)
CIE-LCHlch(39.81, 61.54, 311.41°)
OKLaboklab(49.84% 0.0858 -0.1305)
OKLCHoklch(49.84% 0.156 303.3)
XYZxyz(16.9154, 11.1342, 39.2804)
Luminance0.1113 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7646AA #7AAA46
analogous
#4648AA #7646AA #A846AA
triadic
#7646AA #AA7646 #46AA76
tetradic
#7646AA #AA4648 #7AAA46 #46AAA8
square
#7646AA #AA4648 #7AAA46 #46AAA8
split-complementary
#7646AA #AAA846 #48AA46
monochromatic
#3A2253 #58347F #7646AA #956BC2 #B496D4

Accessibility & contrast

On white

6.51
#7646AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#7646AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7646AA
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7646AA#FFFFFF#000000##FFFFFF
##7646AA1.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#195DAD
Deuteranopia (green-blind)
#2E5EA8
Tritanopia (blue-blind)
#6C5A71
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7646aa;
/* rgb */ color: rgb(118, 70, 170);
/* oklch */ color: oklch(49.8% 0.156 303.3);
Tailwind
colors: {
  custom: {
    50: '#a17bc4',
    500: '#7646aa',
    950: '#000000',
  },
}
SCSS
$custom: #7646aa;
$custom-light: #a17bc4;
$custom-dark: #000000;
JSON
{
  "hex": "#7646aa",
  "rgb": {
    "r": 118,
    "g": 70,
    "b": 170
  },
  "hsl": {
    "h": 268.8,
    "s": 41.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.49838,
    "c": 0.15619,
    "h": 303.3
  },
  "luminance": 0.11134
}

Semantic roles & 50–950 ramp

primary
#7646AA
secondary
#A7C08C
accent
#D15696
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#0F0913
muted
#7F7B82

Preview Lab

Preview with #7646AA

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

Preview Lab → · Contrast checker → · Palette generator →

#7646AA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva