#7647C2#7647C2

#7647C2 is a mid, vivid violet. Relative luminance 0.123; OKLCH L 51.7% C 0.184 H 297.1°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#7647C2
RGBrgb(118, 71, 194)
HSLhsl(263, 50%, 52%)
HSVhsv(263, 63%, 76%)
CMYKcmyk(39.2%, 63.4%, 0%, 23.9%)
CIE-LABlab(41.62, 46.35, -57.36)
CIE-LCHlch(41.62, 73.75, 308.94°)
OKLaboklab(51.67% 0.0836 -0.1634)
OKLCHoklch(51.67% 0.184 297.1)
XYZxyz(19.4596, 12.2527, 52.3682)
Luminance0.1225 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7647C2 #93C247
analogous
#4756C2 #7647C2 #B447C2
triadic
#7647C2 #C27647 #47C276
tetradic
#7647C2 #C24756 #93C247 #47C2B4
square
#7647C2 #C24756 #93C247 #47C2B4
split-complementary
#7647C2 #C2B447 #56C247
monochromatic
#3F246B #5A3399 #7647C2 #9875D1 #BAA3E0

Accessibility & contrast

On white

6.09
#7647C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#7647C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7647C2
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7647C2#FFFFFF#000000##FFFFFF
##7647C21.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C6
Deuteranopia (green-blind)
#0061BF
Tritanopia (blue-blind)
#64637E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7647c2;
/* rgb */ color: rgb(118, 71, 194);
/* oklch */ color: oklch(51.7% 0.184 297.1);
Tailwind
colors: {
  custom: {
    50: '#a37dd5',
    500: '#7647c2',
    950: '#000000',
  },
}
SCSS
$custom: #7647c2;
$custom-light: #a37dd5;
$custom-dark: #000000;
JSON
{
  "hex": "#7647c2",
  "rgb": {
    "r": 118,
    "g": 71,
    "b": 194
  },
  "hsl": {
    "h": 262.927,
    "s": 50.204,
    "l": 51.961
  },
  "oklch": {
    "l": 0.51667,
    "c": 0.18355,
    "h": 297.1
  },
  "luminance": 0.12253
}

Semantic roles & 50–950 ramp

primary
#7647C2
secondary
#B9CD97
accent
#DA4EA4
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #7647C2

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

Preview Lab → · Contrast checker → · Palette generator →

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