#7640AF#7640AF

#7640AF is a mid, vivid violet. Relative luminance 0.106; OKLCH L 49.3% C 0.171 H 303.0°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#7640AF
RGBrgb(118, 64, 175)
HSLhsl(269, 46%, 47%)
HSVhsv(269, 63%, 69%)
CMYKcmyk(32.6%, 63.4%, 0%, 31.4%)
CIE-LABlab(38.92, 45.21, -50.55)
CIE-LCHlch(38.92, 67.81, 311.81°)
OKLaboklab(49.3% 0.0931 -0.1434)
OKLCHoklch(49.3% 0.171 303)
XYZxyz(17.0407, 10.6135, 41.7000)
Luminance0.1061 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7640AF #79AF40
analogous
#4042AF #7640AF #AE40AF
triadic
#7640AF #AF7640 #40AF76
tetradic
#7640AF #AF4042 #79AF40 #40AFAE
square
#7640AF #AF4042 #79AF40 #40AFAE
split-complementary
#7640AF #AFAE40 #42AF40
monochromatic
#3A1F55 #583082 #7640AF #9565C7 #B492D7

Accessibility & contrast

On white

6.73
#7640AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#7640AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7640AF
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7640AF#FFFFFF#000000##FFFFFF
##7640AF1.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB2
Deuteranopia (green-blind)
#1E5BAD
Tritanopia (blue-blind)
#6B5871
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7640af;
/* rgb */ color: rgb(118, 64, 175);
/* oklch */ color: oklch(49.3% 0.171 303.0);
Tailwind
colors: {
  custom: {
    50: '#a278c8',
    500: '#7640af',
    950: '#000000',
  },
}
SCSS
$custom: #7640af;
$custom-light: #a278c8;
$custom-dark: #000000;
JSON
{
  "hex": "#7640af",
  "rgb": {
    "r": 118,
    "g": 64,
    "b": 175
  },
  "hsl": {
    "h": 269.189,
    "s": 46.444,
    "l": 46.863
  },
  "oklch": {
    "l": 0.493,
    "c": 0.17095,
    "h": 303
  },
  "luminance": 0.10613
}

Semantic roles & 50–950 ramp

primary
#7640AF
secondary
#A6C388
accent
#D65296
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#0F0913
muted
#7F7B82

Preview Lab

Preview with #7640AF

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

Preview Lab → · Contrast checker → · Palette generator →

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