#7646C6#7646C6

#7646C6 is a mid, vivid violet. Relative luminance 0.123; OKLCH L 51.8% C 0.190 H 296.4°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#7646C6
RGBrgb(118, 70, 198)
HSLhsl(263, 53%, 53%)
HSVhsv(263, 65%, 78%)
CMYKcmyk(40.4%, 64.6%, 0%, 22.4%)
CIE-LABlab(41.70, 47.94, -59.55)
CIE-LCHlch(41.70, 76.45, 308.84°)
OKLaboklab(51.82% 0.0844 -0.1698)
OKLCHoklch(51.82% 0.19 296.4)
XYZxyz(19.8518, 12.3087, 54.7450)
Luminance0.1231 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7646C6 #96C646
analogous
#4656C6 #7646C6 #B646C6
triadic
#7646C6 #C67646 #46C676
tetradic
#7646C6 #C64656 #96C646 #46C6B6
square
#7646C6 #C64656 #96C646 #46C6B6
split-complementary
#7646C6 #C6B646 #56C646
monochromatic
#3F226F #5A319E #7646C6 #9975D4 #BBA4E3

Accessibility & contrast

On white

6.07
#7646C6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#7646C6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7646C6#FFFFFF#000000##FFFFFF
##7646C61.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CA
Deuteranopia (green-blind)
#0061C3
Tritanopia (blue-blind)
#626480
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7646c6;
/* rgb */ color: rgb(118, 70, 198);
/* oklch */ color: oklch(51.8% 0.190 296.4);
Tailwind
colors: {
  custom: {
    50: '#a37cd8',
    500: '#7646c6',
    950: '#000000',
  },
}
SCSS
$custom: #7646c6;
$custom-light: #a37cd8;
$custom-dark: #000000;
JSON
{
  "hex": "#7646c6",
  "rgb": {
    "r": 118,
    "g": 70,
    "b": 198
  },
  "hsl": {
    "h": 262.5,
    "s": 52.893,
    "l": 52.549
  },
  "oklch": {
    "l": 0.51821,
    "c": 0.18962,
    "h": 296.4
  },
  "luminance": 0.12309
}

Semantic roles & 50–950 ramp

primary
#7646C6
secondary
#BBD098
accent
#DC4BA6
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7646C6

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

Preview Lab → · Contrast checker → · Palette generator →

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