#7640AD#7640AD

#7640AD is a mid, vivid violet. Relative luminance 0.105; OKLCH L 49.2% C 0.169 H 303.6°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#7640AD
RGBrgb(118, 64, 173)
HSLhsl(270, 46%, 46%)
HSVhsv(270, 63%, 68%)
CMYKcmyk(31.8%, 63%, 0%, 32.2%)
CIE-LABlab(38.79, 44.71, -49.58)
CIE-LCHlch(38.79, 66.76, 312.04°)
OKLaboklab(49.16% 0.0933 -0.1405)
OKLCHoklch(49.16% 0.169 303.6)
XYZxyz(16.8457, 10.5355, 40.6731)
Luminance0.1053 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7640AD #77AD40
analogous
#4040AD #7640AD #AD40AD
triadic
#7640AD #AD7640 #40AD76
tetradic
#7640AD #AD4040 #77AD40 #40ADAD
square
#7640AD #AD4040 #77AD40 #40ADAD
split-complementary
#7640AD #ADAD40 #40AD40
monochromatic
#391F54 #582F80 #7640AD #9564C6 #B391D6

Accessibility & contrast

On white

6.76
#7640AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#7640AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7640AD
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7640AD#FFFFFF#000000##FFFFFF
##7640AD1.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB0
Deuteranopia (green-blind)
#215BAB
Tritanopia (blue-blind)
#6C5770
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7640ad;
/* rgb */ color: rgb(118, 64, 173);
/* oklch */ color: oklch(49.2% 0.169 303.6);
Tailwind
colors: {
  custom: {
    50: '#a178c6',
    500: '#7640ad',
    950: '#000000',
  },
}
SCSS
$custom: #7640ad;
$custom-light: #a178c6;
$custom-dark: #000000;
JSON
{
  "hex": "#7640ad",
  "rgb": {
    "r": 118,
    "g": 64,
    "b": 173
  },
  "hsl": {
    "h": 269.725,
    "s": 45.992,
    "l": 46.471
  },
  "oklch": {
    "l": 0.49159,
    "c": 0.16864,
    "h": 303.6
  },
  "luminance": 0.10535
}

Semantic roles & 50–950 ramp

primary
#7640AD
secondary
#A5C287
accent
#D65295
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#0F0913
muted
#7F7B82

Preview Lab

Preview with #7640AD

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

Preview Lab → · Contrast checker → · Palette generator →

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