#7640B5#7640B5

#7640B5 is a mid, vivid violet. Relative luminance 0.109; OKLCH L 49.7% C 0.178 H 301.4°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#7640B5
RGBrgb(118, 64, 181)
HSLhsl(268, 48%, 48%)
HSVhsv(268, 65%, 71%)
CMYKcmyk(34.8%, 64.6%, 0%, 29%)
CIE-LABlab(39.33, 46.71, -53.43)
CIE-LCHlch(39.33, 70.97, 311.16°)
OKLaboklab(49.73% 0.0927 -0.1518)
OKLCHoklch(49.73% 0.178 301.4)
XYZxyz(17.6431, 10.8545, 44.8727)
Luminance0.1085 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7640B5 #7FB540
analogous
#4045B5 #7640B5 #B040B5
triadic
#7640B5 #B57640 #40B576
tetradic
#7640B5 #B54045 #7FB540 #40B5B0
square
#7640B5 #B54045 #7FB540 #40B5B0
split-complementary
#7640B5 #B5B040 #45B540
monochromatic
#3B205B #593088 #7640B5 #9568CA #B596DA

Accessibility & contrast

On white

6.62
#7640B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#7640B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7640B5
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7640B5#FFFFFF#000000##FFFFFF
##7640B51.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB9
Deuteranopia (green-blind)
#105CB2
Tritanopia (blue-blind)
#695A75
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7640b5;
/* rgb */ color: rgb(118, 64, 181);
/* oklch */ color: oklch(49.7% 0.178 301.4);
Tailwind
colors: {
  custom: {
    50: '#a278cc',
    500: '#7640b5',
    950: '#000000',
  },
}
SCSS
$custom: #7640b5;
$custom-light: #a278cc;
$custom-dark: #000000;
JSON
{
  "hex": "#7640b5",
  "rgb": {
    "r": 118,
    "g": 64,
    "b": 181
  },
  "hsl": {
    "h": 267.692,
    "s": 47.755,
    "l": 48.039
  },
  "oklch": {
    "l": 0.49729,
    "c": 0.17789,
    "h": 301.4
  },
  "luminance": 0.10855
}

Semantic roles & 50–950 ramp

primary
#7640B5
secondary
#ABC58B
accent
#D75099
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#0F0913
muted
#7F7B82

Preview Lab

Preview with #7640B5

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

Preview Lab → · Contrast checker → · Palette generator →

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