#7642AE#7642AE

#7642AE is a mid, vivid violet. Relative luminance 0.108; OKLCH L 49.5% C 0.167 H 302.9°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#7642AE
RGBrgb(118, 66, 174)
HSLhsl(269, 45%, 47%)
HSVhsv(269, 62%, 68%)
CMYKcmyk(32.2%, 62.1%, 0%, 31.8%)
CIE-LABlab(39.25, 43.89, -49.43)
CIE-LCHlch(39.25, 66.10, 311.60°)
OKLaboklab(49.52% 0.0908 -0.1401)
OKLCHoklch(49.52% 0.167 302.9)
XYZxyz(17.0577, 10.8040, 41.2229)
Luminance0.1080 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7642AE #7AAE42
analogous
#4244AE #7642AE #AC42AE
triadic
#7642AE #AE7642 #42AE76
tetradic
#7642AE #AE4244 #7AAE42 #42AEAC
square
#7642AE #AE4244 #7AAE42 #42AEAC
split-complementary
#7642AE #AEAC42 #44AE42
monochromatic
#3A2055 #583182 #7642AE #9568C6 #B494D6

Accessibility & contrast

On white

6.64
#7642AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#7642AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7642AE
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7642AE#FFFFFF#000000##FFFFFF
##7642AE1.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB1
Deuteranopia (green-blind)
#235CAC
Tritanopia (blue-blind)
#6B5972
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7642ae;
/* rgb */ color: rgb(118, 66, 174);
/* oklch */ color: oklch(49.5% 0.167 302.9);
Tailwind
colors: {
  custom: {
    50: '#a179c7',
    500: '#7642ae',
    950: '#000000',
  },
}
SCSS
$custom: #7642ae;
$custom-light: #a179c7;
$custom-dark: #000000;
JSON
{
  "hex": "#7642ae",
  "rgb": {
    "r": 118,
    "g": 66,
    "b": 174
  },
  "hsl": {
    "h": 268.889,
    "s": 45,
    "l": 47.059
  },
  "oklch": {
    "l": 0.49515,
    "c": 0.16692,
    "h": 302.9
  },
  "luminance": 0.10804
}

Semantic roles & 50–950 ramp

primary
#7642AE
secondary
#A7C28A
accent
#D55396
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#0F0913
muted
#7F7B82

Preview Lab

Preview with #7642AE

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

Preview Lab → · Contrast checker → · Palette generator →

#7642AE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva