#7640BC#7640BC

#7640BC is a mid, vivid violet. Relative luminance 0.111; OKLCH L 50.2% C 0.186 H 299.7°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#7640BC
RGBrgb(118, 64, 188)
HSLhsl(266, 49%, 49%)
HSVhsv(266, 66%, 74%)
CMYKcmyk(37.2%, 66%, 0%, 26.3%)
CIE-LABlab(39.83, 48.49, -56.75)
CIE-LCHlch(39.83, 74.64, 310.51°)
OKLaboklab(50.24% 0.092 -0.1616)
OKLCHoklch(50.24% 0.186 299.7)
XYZxyz(18.3795, 11.1490, 48.7509)
Luminance0.1115 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7640BC #86BC40
analogous
#4048BC #7640BC #B440BC
triadic
#7640BC #BC7640 #40BC76
tetradic
#7640BC #BC4048 #86BC40 #40BCB4
square
#7640BC #BC4048 #86BC40 #40BCB4
split-complementary
#7640BC #BCB440 #48BC40
monochromatic
#3D2161 #59308E #7640BC #966CCD #B79ADD

Accessibility & contrast

On white

6.50
#7640BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#7640BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7640BC
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7640BC#FFFFFF#000000##FFFFFF
##7640BC1.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC0
Deuteranopia (green-blind)
#005DB9
Tritanopia (blue-blind)
#665C78
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7640bc;
/* rgb */ color: rgb(118, 64, 188);
/* oklch */ color: oklch(50.2% 0.186 299.7);
Tailwind
colors: {
  custom: {
    50: '#a378d1',
    500: '#7640bc',
    950: '#000000',
  },
}
SCSS
$custom: #7640bc;
$custom-light: #a378d1;
$custom-dark: #000000;
JSON
{
  "hex": "#7640bc",
  "rgb": {
    "r": 118,
    "g": 64,
    "b": 188
  },
  "hsl": {
    "h": 266.129,
    "s": 49.206,
    "l": 49.412
  },
  "oklch": {
    "l": 0.50244,
    "c": 0.18594,
    "h": 299.7
  },
  "luminance": 0.11149
}

Semantic roles & 50–950 ramp

primary
#7640BC
secondary
#B0C98F
accent
#D94F9D
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #7640BC

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

Preview Lab → · Contrast checker → · Palette generator →

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