#7640B7#7640B7

#7640B7 is a mid, vivid violet. Relative luminance 0.109; OKLCH L 49.9% C 0.180 H 300.9°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#7640B7
RGBrgb(118, 64, 183)
HSLhsl(267, 48%, 48%)
HSVhsv(267, 65%, 72%)
CMYKcmyk(35.5%, 65%, 0%, 28.2%)
CIE-LABlab(39.47, 47.22, -54.38)
CIE-LCHlch(39.47, 72.02, 310.97°)
OKLaboklab(49.88% 0.0925 -0.1546)
OKLCHoklch(49.88% 0.18 300.9)
XYZxyz(17.8498, 10.9371, 45.9612)
Luminance0.1094 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7640B7 #81B740
analogous
#4045B7 #7640B7 #B140B7
triadic
#7640B7 #B77640 #40B776
tetradic
#7640B7 #B74045 #81B740 #40B7B1
square
#7640B7 #B74045 #81B740 #40B7B1
split-complementary
#7640B7 #B7B140 #45B740
monochromatic
#3C205C #59308A #7640B7 #9669CB #B697DB

Accessibility & contrast

On white

6.59
#7640B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#7640B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7640B7
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7640B7#FFFFFF#000000##FFFFFF
##7640B71.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBB
Deuteranopia (green-blind)
#095CB4
Tritanopia (blue-blind)
#685A76
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7640b7;
/* rgb */ color: rgb(118, 64, 183);
/* oklch */ color: oklch(49.9% 0.180 300.9);
Tailwind
colors: {
  custom: {
    50: '#a278cd',
    500: '#7640b7',
    950: '#000000',
  },
}
SCSS
$custom: #7640b7;
$custom-light: #a278cd;
$custom-dark: #000000;
JSON
{
  "hex": "#7640b7",
  "rgb": {
    "r": 118,
    "g": 64,
    "b": 183
  },
  "hsl": {
    "h": 267.227,
    "s": 48.178,
    "l": 48.431
  },
  "oklch": {
    "l": 0.49875,
    "c": 0.18019,
    "h": 300.9
  },
  "luminance": 0.10937
}

Semantic roles & 50–950 ramp

primary
#7640B7
secondary
#ACC68D
accent
#D8509A
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#0F0914
muted
#7F7B82

Preview Lab

Preview with #7640B7

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

Preview Lab → · Contrast checker → · Palette generator →

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