#7640C8#7640C8

#7640C8 is a mid, vivid violet. Relative luminance 0.117; OKLCH L 51.2% C 0.200 H 296.9°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#7640C8
RGBrgb(118, 64, 200)
HSLhsl(264, 55%, 52%)
HSVhsv(264, 68%, 78%)
CMYKcmyk(41%, 68%, 0%, 21.6%)
CIE-LABlab(40.72, 51.57, -62.31)
CIE-LCHlch(40.72, 80.88, 309.61°)
OKLaboklab(51.16% 0.0904 -0.1779)
OKLCHoklch(51.16% 0.2 296.9)
XYZxyz(19.7272, 11.6881, 55.8491)
Luminance0.1169 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7640C8 #92C840
analogous
#404EC8 #7640C8 #BA40C8
triadic
#7640C8 #C87640 #40C876
tetradic
#7640C8 #C8404E #92C840 #40C8BA
square
#7640C8 #C8404E #92C840 #40C8BA
split-complementary
#7640C8 #C8BA40 #4EC840
monochromatic
#3F206E #5A2D9D #7640C8 #9870D6 #BA9FE3

Accessibility & contrast

On white

6.29
#7640C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#7640C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7640C8
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7640C8#FFFFFF#000000##FFFFFF
##7640C81.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CC
Deuteranopia (green-blind)
#005EC5
Tritanopia (blue-blind)
#61617F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7640c8;
/* rgb */ color: rgb(118, 64, 200);
/* oklch */ color: oklch(51.2% 0.200 296.9);
Tailwind
colors: {
  custom: {
    50: '#a479da',
    500: '#7640c8',
    950: '#000000',
  },
}
SCSS
$custom: #7640c8;
$custom-light: #a479da;
$custom-dark: #000000;
JSON
{
  "hex": "#7640c8",
  "rgb": {
    "r": 118,
    "g": 64,
    "b": 200
  },
  "hsl": {
    "h": 263.824,
    "s": 55.285,
    "l": 51.765
  },
  "oklch": {
    "l": 0.51158,
    "c": 0.1996,
    "h": 296.9
  },
  "luminance": 0.11688
}

Semantic roles & 50–950 ramp

primary
#7640C8
secondary
#B8D094
accent
#DF49A3
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7640C8

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

Preview Lab → · Contrast checker → · Palette generator →

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