#7640C6#7640C6

#7640C6 is a mid, vivid violet. Relative luminance 0.116; OKLCH L 51.0% C 0.197 H 297.4°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#7640C6
RGBrgb(118, 64, 198)
HSLhsl(264, 54%, 51%)
HSVhsv(264, 68%, 78%)
CMYKcmyk(40.4%, 67.7%, 0%, 22.4%)
CIE-LABlab(40.57, 51.05, -61.39)
CIE-LCHlch(40.57, 79.85, 309.75°)
OKLaboklab(51% 0.0907 -0.1752)
OKLCHoklch(51% 0.197 297.4)
XYZxyz(19.4950, 11.5952, 54.6261)
Luminance0.1160 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7640C6 #90C640
analogous
#404DC6 #7640C6 #B940C6
triadic
#7640C6 #C67640 #40C676
tetradic
#7640C6 #C6404D #90C640 #40C6B9
square
#7640C6 #C6404D #90C640 #40C6B9
split-complementary
#7640C6 #C6B940 #4DC640
monochromatic
#3E206C #5A2E9B #7640C6 #986FD4 #BA9EE2

Accessibility & contrast

On white

6.33
#7640C6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#7640C6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7640C6
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7640C6#FFFFFF#000000##FFFFFF
##7640C61.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CA
Deuteranopia (green-blind)
#005EC3
Tritanopia (blue-blind)
#62607E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7640c6;
/* rgb */ color: rgb(118, 64, 198);
/* oklch */ color: oklch(51.0% 0.197 297.4);
Tailwind
colors: {
  custom: {
    50: '#a479d8',
    500: '#7640c6',
    950: '#000000',
  },
}
SCSS
$custom: #7640c6;
$custom-light: #a479d8;
$custom-dark: #000000;
JSON
{
  "hex": "#7640c6",
  "rgb": {
    "r": 118,
    "g": 64,
    "b": 198
  },
  "hsl": {
    "h": 264.179,
    "s": 54.032,
    "l": 51.373
  },
  "oklch": {
    "l": 0.51003,
    "c": 0.19733,
    "h": 297.4
  },
  "luminance": 0.11596
}

Semantic roles & 50–950 ramp

primary
#7640C6
secondary
#B7CE93
accent
#DD4AA2
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7640C6

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

Preview Lab → · Contrast checker → · Palette generator →

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