#7647C5#7647C5

#7647C5 is a mid, vivid violet. Relative luminance 0.124; OKLCH L 51.9% C 0.187 H 296.4°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#7647C5
RGBrgb(118, 71, 197)
HSLhsl(262, 52%, 53%)
HSVhsv(262, 64%, 77%)
CMYKcmyk(40.1%, 64%, 0%, 22.7%)
CIE-LABlab(41.83, 47.14, -58.76)
CIE-LCHlch(41.83, 75.34, 308.74°)
OKLaboklab(51.89% 0.0833 -0.1675)
OKLCHoklch(51.89% 0.187 296.4)
XYZxyz(19.7999, 12.3889, 54.1606)
Luminance0.1239 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7647C5 #96C547
analogous
#4757C5 #7647C5 #B547C5
triadic
#7647C5 #C57647 #47C576
tetradic
#7647C5 #C54757 #96C547 #47C5B5
square
#7647C5 #C54757 #96C547 #47C5B5
split-complementary
#7647C5 #C5B547 #57C547
monochromatic
#3F236F #5A329D #7647C5 #9976D4 #BBA4E2

Accessibility & contrast

On white

6.04
#7647C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#7647C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7647C5
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7647C5#FFFFFF#000000##FFFFFF
##7647C51.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C9
Deuteranopia (green-blind)
#0061C2
Tritanopia (blue-blind)
#626480
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7647c5;
/* rgb */ color: rgb(118, 71, 197);
/* oklch */ color: oklch(51.9% 0.187 296.4);
Tailwind
colors: {
  custom: {
    50: '#a37dd7',
    500: '#7647c5',
    950: '#000000',
  },
}
SCSS
$custom: #7647c5;
$custom-light: #a37dd7;
$custom-dark: #000000;
JSON
{
  "hex": "#7647c5",
  "rgb": {
    "r": 118,
    "g": 71,
    "b": 197
  },
  "hsl": {
    "h": 262.381,
    "s": 52.066,
    "l": 52.549
  },
  "oklch": {
    "l": 0.51888,
    "c": 0.18711,
    "h": 296.4
  },
  "luminance": 0.12389
}

Semantic roles & 50–950 ramp

primary
#7647C5
secondary
#BBCF99
accent
#DC4CA6
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #7647C5

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

Preview Lab → · Contrast checker → · Palette generator →

#7647C5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva