#7646BB#7646BB

#7646BB is a mid, vivid violet. Relative luminance 0.118; OKLCH L 51.0% C 0.177 H 298.9°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#7646BB
RGBrgb(118, 70, 187)
HSLhsl(265, 46%, 50%)
HSVhsv(265, 63%, 73%)
CMYKcmyk(36.9%, 62.6%, 0%, 26.7%)
CIE-LABlab(40.93, 45.06, -54.38)
CIE-LCHlch(40.93, 70.63, 309.64°)
OKLaboklab(51.02% 0.0853 -0.1546)
OKLCHoklch(51.02% 0.177 298.9)
XYZxyz(18.6288, 11.8195, 48.3040)
Luminance0.1182 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7646BB #8BBB46
analogous
#4651BB #7646BB #B046BB
triadic
#7646BB #BB7646 #46BB76
tetradic
#7646BB #BB4651 #8BBB46 #46BBB0
square
#7646BB #BB4651 #8BBB46 #46BBB0
split-complementary
#7646BB #BBB046 #51BB46
monochromatic
#3E2462 #5A358F #7646BB #9773CB #B8A0DC

Accessibility & contrast

On white

6.24
#7646BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#7646BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7646BB#FFFFFF#000000##FFFFFF
##7646BB1.006.243.366.24
#FFFFFF6.241.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BF
Deuteranopia (green-blind)
#125FB8
Tritanopia (blue-blind)
#66607A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7646bb;
/* rgb */ color: rgb(118, 70, 187);
/* oklch */ color: oklch(51.0% 0.177 298.9);
Tailwind
colors: {
  custom: {
    50: '#a27cd0',
    500: '#7646bb',
    950: '#000000',
  },
}
SCSS
$custom: #7646bb;
$custom-light: #a27cd0;
$custom-dark: #000000;
JSON
{
  "hex": "#7646bb",
  "rgb": {
    "r": 118,
    "g": 70,
    "b": 187
  },
  "hsl": {
    "h": 264.615,
    "s": 46.245,
    "l": 50.392
  },
  "oklch": {
    "l": 0.51015,
    "c": 0.1766,
    "h": 298.9
  },
  "luminance": 0.1182
}

Semantic roles & 50–950 ramp

primary
#7646BB
secondary
#B3C894
accent
#D652A0
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#0F0A14
muted
#7F7C82

Preview Lab

Preview with #7646BB

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

Preview Lab → · Contrast checker → · Palette generator →

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