#7640BE#7640BE

#7640BE is a mid, vivid violet. Relative luminance 0.112; OKLCH L 50.4% C 0.188 H 299.2°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#7640BE
RGBrgb(118, 64, 190)
HSLhsl(266, 50%, 50%)
HSVhsv(266, 66%, 75%)
CMYKcmyk(37.9%, 66.3%, 0%, 25.5%)
CIE-LABlab(39.97, 49.00, -57.68)
CIE-LCHlch(39.97, 75.69, 310.35°)
OKLaboklab(50.39% 0.0918 -0.1643)
OKLCHoklch(50.39% 0.188 299.2)
XYZxyz(18.5966, 11.2358, 49.8942)
Luminance0.1124 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7640BE #88BE40
analogous
#4049BE #7640BE #B540BE
triadic
#7640BE #BE7640 #40BE76
tetradic
#7640BE #BE4049 #88BE40 #40BEB5
square
#7640BE #BE4049 #88BE40 #40BEB5
split-complementary
#7640BE #BEB540 #49BE40
monochromatic
#3D2162 #5A3190 #7640BE #976DCE #B79BDD

Accessibility & contrast

On white

6.47
#7640BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#7640BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7640BE
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7640BE#FFFFFF#000000##FFFFFF
##7640BE1.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC2
Deuteranopia (green-blind)
#005DBB
Tritanopia (blue-blind)
#655D79
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7640be;
/* rgb */ color: rgb(118, 64, 190);
/* oklch */ color: oklch(50.4% 0.188 299.2);
Tailwind
colors: {
  custom: {
    50: '#a378d2',
    500: '#7640be',
    950: '#000000',
  },
}
SCSS
$custom: #7640be;
$custom-light: #a378d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7640be",
  "rgb": {
    "r": 118,
    "g": 64,
    "b": 190
  },
  "hsl": {
    "h": 265.714,
    "s": 49.606,
    "l": 49.804
  },
  "oklch": {
    "l": 0.50393,
    "c": 0.18822,
    "h": 299.2
  },
  "luminance": 0.11236
}

Semantic roles & 50–950 ramp

primary
#7640BE
secondary
#B1C990
accent
#D94F9E
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7640BE

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

Preview Lab → · Contrast checker → · Palette generator →

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