#7640C0#7640C0

#7640C0 is a mid, vivid violet. Relative luminance 0.113; OKLCH L 50.5% C 0.191 H 298.7°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#7640C0
RGBrgb(118, 64, 192)
HSLhsl(265, 50%, 50%)
HSVhsv(265, 67%, 75%)
CMYKcmyk(38.5%, 66.7%, 0%, 24.7%)
CIE-LABlab(40.12, 49.51, -58.62)
CIE-LCHlch(40.12, 76.73, 310.19°)
OKLaboklab(50.54% 0.0915 -0.1671)
OKLCHoklch(50.54% 0.191 298.7)
XYZxyz(18.8166, 11.3239, 51.0533)
Luminance0.1132 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7640C0 #8AC040
analogous
#404AC0 #7640C0 #B640C0
triadic
#7640C0 #C07640 #40C076
tetradic
#7640C0 #C0404A #8AC040 #40C0B6
square
#7640C0 #C0404A #8AC040 #40C0B6
split-complementary
#7640C0 #C0B640 #4AC040
monochromatic
#3E2164 #5A3092 #7640C0 #976ECF #B89CDE

Accessibility & contrast

On white

6.43
#7640C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#7640C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7640C0
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7640C0#FFFFFF#000000##FFFFFF
##7640C01.006.433.266.43
#FFFFFF6.431.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC4
Deuteranopia (green-blind)
#005DBD
Tritanopia (blue-blind)
#655E7B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7640c0;
/* rgb */ color: rgb(118, 64, 192);
/* oklch */ color: oklch(50.5% 0.191 298.7);
Tailwind
colors: {
  custom: {
    50: '#a378d4',
    500: '#7640c0',
    950: '#000000',
  },
}
SCSS
$custom: #7640c0;
$custom-light: #a378d4;
$custom-dark: #000000;
JSON
{
  "hex": "#7640c0",
  "rgb": {
    "r": 118,
    "g": 64,
    "b": 192
  },
  "hsl": {
    "h": 265.313,
    "s": 50.394,
    "l": 50.196
  },
  "oklch": {
    "l": 0.50544,
    "c": 0.19051,
    "h": 298.7
  },
  "luminance": 0.11324
}

Semantic roles & 50–950 ramp

primary
#7640C0
secondary
#B2CB91
accent
#DA4E9F
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7640C0

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

Preview Lab → · Contrast checker → · Palette generator →

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