#7646AC#7646AC

#7646AC is a mid, vivid violet. Relative luminance 0.112; OKLCH L 50.0% C 0.159 H 302.8°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#7646AC
RGBrgb(118, 70, 172)
HSLhsl(268, 42%, 47%)
HSVhsv(268, 59%, 67%)
CMYKcmyk(31.4%, 59.3%, 0%, 32.5%)
CIE-LABlab(39.93, 41.21, -47.14)
CIE-LCHlch(39.93, 62.61, 311.16°)
OKLaboklab(49.97% 0.0858 -0.1334)
OKLCHoklch(49.97% 0.159 302.8)
XYZxyz(17.1061, 11.2104, 40.2844)
Luminance0.1121 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7646AC #7CAC46
analogous
#4649AC #7646AC #A946AC
triadic
#7646AC #AC7646 #46AC76
tetradic
#7646AC #AC4649 #7CAC46 #46ACA9
square
#7646AC #AC4649 #7CAC46 #46ACA9
split-complementary
#7646AC #ACA946 #49AC46
monochromatic
#3A2355 #583481 #7646AC #956CC3 #B498D5

Accessibility & contrast

On white

6.48
#7646AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#7646AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7646AC#FFFFFF#000000##FFFFFF
##7646AC1.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#155DAF
Deuteranopia (green-blind)
#2C5EAA
Tritanopia (blue-blind)
#6C5B72
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7646ac;
/* rgb */ color: rgb(118, 70, 172);
/* oklch */ color: oklch(50.0% 0.159 302.8);
Tailwind
colors: {
  custom: {
    50: '#a17cc5',
    500: '#7646ac',
    950: '#000000',
  },
}
SCSS
$custom: #7646ac;
$custom-light: #a17cc5;
$custom-dark: #000000;
JSON
{
  "hex": "#7646ac",
  "rgb": {
    "r": 118,
    "g": 70,
    "b": 172
  },
  "hsl": {
    "h": 268.235,
    "s": 42.149,
    "l": 47.451
  },
  "oklch": {
    "l": 0.49972,
    "c": 0.1586,
    "h": 302.8
  },
  "luminance": 0.1121
}

Semantic roles & 50–950 ramp

primary
#7646AC
secondary
#A8C18D
accent
#D25698
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#0F0913
muted
#7F7B82

Preview Lab

Preview with #7646AC

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

Preview Lab → · Contrast checker → · Palette generator →

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