#7640AE#7640AE

#7640AE is a mid, vivid violet. Relative luminance 0.106; OKLCH L 49.2% C 0.170 H 303.3°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#7640AE
RGBrgb(118, 64, 174)
HSLhsl(269, 46%, 47%)
HSVhsv(269, 63%, 68%)
CMYKcmyk(32.2%, 63.2%, 0%, 31.8%)
CIE-LABlab(38.85, 44.96, -50.06)
CIE-LCHlch(38.85, 67.29, 311.92°)
OKLaboklab(49.23% 0.0932 -0.1419)
OKLCHoklch(49.23% 0.17 303.3)
XYZxyz(16.9428, 10.5744, 41.1847)
Luminance0.1057 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7640AE #78AE40
analogous
#4041AE #7640AE #AD40AE
triadic
#7640AE #AE7640 #40AE76
tetradic
#7640AE #AE4041 #78AE40 #40AEAD
square
#7640AE #AE4041 #78AE40 #40AEAD
split-complementary
#7640AE #AEAD40 #41AE40
monochromatic
#391F55 #583081 #7640AE #9565C6 #B492D7

Accessibility & contrast

On white

6.74
#7640AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7640AE
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7640AE#FFFFFF#000000##FFFFFF
##7640AE1.006.743.116.74
#FFFFFF6.741.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB1
Deuteranopia (green-blind)
#205BAC
Tritanopia (blue-blind)
#6B5771
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7640ae;
/* rgb */ color: rgb(118, 64, 174);
/* oklch */ color: oklch(49.2% 0.170 303.3);
Tailwind
colors: {
  custom: {
    50: '#a178c7',
    500: '#7640ae',
    950: '#000000',
  },
}
SCSS
$custom: #7640ae;
$custom-light: #a178c7;
$custom-dark: #000000;
JSON
{
  "hex": "#7640ae",
  "rgb": {
    "r": 118,
    "g": 64,
    "b": 174
  },
  "hsl": {
    "h": 269.455,
    "s": 46.218,
    "l": 46.667
  },
  "oklch": {
    "l": 0.49229,
    "c": 0.1698,
    "h": 303.3
  },
  "luminance": 0.10574
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7640AE

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

Preview Lab → · Contrast checker → · Palette generator →

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