#7642AF#7642AF

#7642AF is a mid, vivid violet. Relative luminance 0.108; OKLCH L 49.6% C 0.168 H 302.7°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#7642AF
RGBrgb(118, 66, 175)
HSLhsl(269, 45%, 47%)
HSVhsv(269, 62%, 69%)
CMYKcmyk(32.6%, 62.3%, 0%, 31.4%)
CIE-LABlab(39.31, 44.14, -49.91)
CIE-LCHlch(39.31, 66.63, 311.49°)
OKLaboklab(49.59% 0.0907 -0.1415)
OKLCHoklch(49.59% 0.168 302.7)
XYZxyz(17.1555, 10.8431, 41.7383)
Luminance0.1084 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7642AF #7BAF42
analogous
#4245AF #7642AF #AD42AF
triadic
#7642AF #AF7642 #42AF76
tetradic
#7642AF #AF4245 #7BAF42 #42AFAD
square
#7642AF #AF4245 #7BAF42 #42AFAD
split-complementary
#7642AF #AFAD42 #45AF42
monochromatic
#3A2056 #583183 #7642AF #9568C6 #B495D7

Accessibility & contrast

On white

6.63
#7642AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#7642AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7642AF
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7642AF#FFFFFF#000000##FFFFFF
##7642AF1.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB2
Deuteranopia (green-blind)
#225CAD
Tritanopia (blue-blind)
#6B5972
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7642af;
/* rgb */ color: rgb(118, 66, 175);
/* oklch */ color: oklch(49.6% 0.168 302.7);
Tailwind
colors: {
  custom: {
    50: '#a179c7',
    500: '#7642af',
    950: '#000000',
  },
}
SCSS
$custom: #7642af;
$custom-light: #a179c7;
$custom-dark: #000000;
JSON
{
  "hex": "#7642af",
  "rgb": {
    "r": 118,
    "g": 66,
    "b": 175
  },
  "hsl": {
    "h": 268.624,
    "s": 45.228,
    "l": 47.255
  },
  "oklch": {
    "l": 0.49585,
    "c": 0.16808,
    "h": 302.7
  },
  "luminance": 0.10843
}

Semantic roles & 50–950 ramp

primary
#7642AF
secondary
#A8C28A
accent
#D55397
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#0F0913
muted
#7F7B82

Preview Lab

Preview with #7642AF

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

Preview Lab → · Contrast checker → · Palette generator →

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