#7645A6#7645A6

#7645A6 is a mid, vivid violet. Relative luminance 0.109; OKLCH L 49.4% C 0.153 H 304.7°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#7645A6
RGBrgb(118, 69, 166)
HSLhsl(270, 41%, 46%)
HSVhsv(270, 58%, 65%)
CMYKcmyk(28.9%, 58.4%, 0%, 34.9%)
CIE-LABlab(39.35, 40.26, -44.51)
CIE-LCHlch(39.35, 60.02, 312.12°)
OKLaboklab(49.42% 0.0871 -0.1257)
OKLCHoklch(49.42% 0.153 304.7)
XYZxyz(16.4808, 10.8611, 37.2972)
Luminance0.1086 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7645A6 #75A645
analogous
#4545A6 #7645A6 #A645A5
triadic
#7645A6 #A67645 #45A676
tetradic
#7645A6 #A64545 #75A645 #45A5A6
square
#7645A6 #A64545 #75A645 #45A5A6
split-complementary
#7645A6 #A5A645 #45A645
monochromatic
#392150 #57337B #7645A6 #9568C0 #B393D2

Accessibility & contrast

On white

6.62
#7645A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#7645A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7645A6
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7645A6#FFFFFF#000000##FFFFFF
##7645A61.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D5BA9
Deuteranopia (green-blind)
#315DA4
Tritanopia (blue-blind)
#6E586F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7645a6;
/* rgb */ color: rgb(118, 69, 166);
/* oklch */ color: oklch(49.4% 0.153 304.7);
Tailwind
colors: {
  custom: {
    50: '#a17bc1',
    500: '#7645a6',
    950: '#000000',
  },
}
SCSS
$custom: #7645a6;
$custom-light: #a17bc1;
$custom-dark: #000000;
JSON
{
  "hex": "#7645a6",
  "rgb": {
    "r": 118,
    "g": 69,
    "b": 166
  },
  "hsl": {
    "h": 270.309,
    "s": 41.277,
    "l": 46.078
  },
  "oklch": {
    "l": 0.49421,
    "c": 0.1529,
    "h": 304.7
  },
  "luminance": 0.10861
}

Semantic roles & 50–950 ramp

primary
#7645A6
secondary
#A3BE89
accent
#D15793
background
#FAF7FB
surface
#F4EEF7
border
#CEC9D0
text
#0F0912
muted
#7F7B81

Preview Lab

Preview with #7645A6

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

Preview Lab → · Contrast checker → · Palette generator →

#7645A6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva