#7640A2#7640A2

#7640A2 is a mid, vivid violet. Relative luminance 0.101; OKLCH L 48.4% C 0.156 H 306.9°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#7640A2
RGBrgb(118, 64, 162)
HSLhsl(273, 43%, 44%)
HSVhsv(273, 60%, 64%)
CMYKcmyk(27.2%, 60.5%, 0%, 36.5%)
CIE-LABlab(38.07, 42.01, -44.17)
CIE-LCHlch(38.07, 60.95, 313.56°)
OKLaboklab(48.41% 0.0936 -0.1246)
OKLCHoklch(48.41% 0.156 306.9)
XYZxyz(15.8248, 10.1272, 35.2965)
Luminance0.1013 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7640A2 #6CA240
analogous
#4540A2 #7640A2 #A2409D
triadic
#7640A2 #A27640 #40A276
tetradic
#7640A2 #A24540 #6CA240 #409DA2
square
#7640A2 #A24540 #6CA240 #409DA2
split-complementary
#7640A2 #9DA240 #40A245
monochromatic
#361D4A #562F76 #7640A2 #955FC0 #B28BD1

Accessibility & contrast

On white

6.94
#7640A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#7640A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7640A2
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7640A2#FFFFFF#000000##FFFFFF
##7640A21.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1558A5
Deuteranopia (green-blind)
#2F5AA0
Tritanopia (blue-blind)
#6F536B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7640a2;
/* rgb */ color: rgb(118, 64, 162);
/* oklch */ color: oklch(48.4% 0.156 306.9);
Tailwind
colors: {
  custom: {
    50: '#a178be',
    500: '#7640a2',
    950: '#000000',
  },
}
SCSS
$custom: #7640a2;
$custom-light: #a178be;
$custom-dark: #000000;
JSON
{
  "hex": "#7640a2",
  "rgb": {
    "r": 118,
    "g": 64,
    "b": 162
  },
  "hsl": {
    "h": 273.061,
    "s": 43.363,
    "l": 44.314
  },
  "oklch": {
    "l": 0.48408,
    "c": 0.15586,
    "h": 306.9
  },
  "luminance": 0.10127
}

Semantic roles & 50–950 ramp

primary
#7640A2
secondary
#9CBC82
accent
#D3558D
background
#FAF7FB
surface
#F4EDF7
border
#CEC8D0
text
#0F0912
muted
#7F7B81

Preview Lab

Preview with #7640A2

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

Preview Lab → · Contrast checker → · Palette generator →

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