#7640D8#7640D8

#7640D8 is a mid, highly saturated violet. Relative luminance 0.125; OKLCH L 52.4% C 0.218 H 293.8°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#7640D8
RGBrgb(118, 64, 216)
HSLhsl(261, 66%, 55%)
HSVhsv(261, 70%, 85%)
CMYKcmyk(45.4%, 70.4%, 0%, 15.3%)
CIE-LABlab(41.96, 55.74, -69.51)
CIE-LCHlch(41.96, 89.10, 308.72°)
OKLaboklab(52.43% 0.0877 -0.1991)
OKLCHoklch(52.43% 0.218 293.8)
XYZxyz(21.6959, 12.4756, 66.2173)
Luminance0.1248 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7640D8 #A2D840
analogous
#4056D8 #7640D8 #C240D8
triadic
#7640D8 #D87640 #40D876
tetradic
#7640D8 #D84056 #A2D840 #40D8C2
square
#7640D8 #D84056 #A2D840 #40D8C2
split-complementary
#7640D8 #D8C240 #56D840
monochromatic
#401B83 #5825B6 #7640D8 #9A73E2 #BFA6ED

Accessibility & contrast

On white

6.01
#7640D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#7640D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7640D8
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7640D8#FFFFFF#000000##FFFFFF
##7640D81.006.013.506.01
#FFFFFF6.011.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065DC
Deuteranopia (green-blind)
#0060D5
Tritanopia (blue-blind)
#596788
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7640d8;
/* rgb */ color: rgb(118, 64, 216);
/* oklch */ color: oklch(52.4% 0.218 293.8);
Tailwind
colors: {
  custom: {
    50: '#a679e5',
    500: '#7640d8',
    950: '#000000',
  },
}
SCSS
$custom: #7640d8;
$custom-light: #a679e5;
$custom-dark: #000000;
JSON
{
  "hex": "#7640d8",
  "rgb": {
    "r": 118,
    "g": 64,
    "b": 216
  },
  "hsl": {
    "h": 261.316,
    "s": 66.087,
    "l": 54.902
  },
  "oklch": {
    "l": 0.52435,
    "c": 0.21756,
    "h": 293.8
  },
  "luminance": 0.12476
}

Semantic roles & 50–950 ramp

primary
#7640D8
secondary
#C3DA9A
accent
#E93FAD
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#100916
muted
#7F7B84

Preview Lab

Preview with #7640D8

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

Preview Lab → · Contrast checker → · Palette generator →

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