#7645A5#7645A5

#7645A5 is a mid, vivid violet. Relative luminance 0.108; OKLCH L 49.4% C 0.152 H 305.0°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#7645A5
RGBrgb(118, 69, 165)
HSLhsl(271, 41%, 46%)
HSVhsv(271, 58%, 65%)
CMYKcmyk(28.5%, 58.2%, 0%, 35.3%)
CIE-LABlab(39.28, 40.01, -44.02)
CIE-LCHlch(39.28, 59.48, 312.27°)
OKLaboklab(49.36% 0.0871 -0.1242)
OKLCHoklch(49.36% 0.152 305)
XYZxyz(16.3894, 10.8245, 36.8159)
Luminance0.1082 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7645A5 #74A545
analogous
#4645A5 #7645A5 #A545A4
triadic
#7645A5 #A57645 #45A576
tetradic
#7645A5 #A54645 #74A545 #45A4A5
square
#7645A5 #A54645 #74A545 #45A4A5
split-complementary
#7645A5 #A4A545 #45A546
monochromatic
#38214F #57337A #7645A5 #9568C0 #B393D2

Accessibility & contrast

On white

6.64
#7645A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#7645A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7645A5
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7645A5#FFFFFF#000000##FFFFFF
##7645A51.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)
#1E5BA8
Deuteranopia (green-blind)
#325DA3
Tritanopia (blue-blind)
#6E586E
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7645a5;
/* rgb */ color: rgb(118, 69, 165);
/* oklch */ color: oklch(49.4% 0.152 305.0);
Tailwind
colors: {
  custom: {
    50: '#a07bc0',
    500: '#7645a5',
    950: '#000000',
  },
}
SCSS
$custom: #7645a5;
$custom-light: #a07bc0;
$custom-dark: #000000;
JSON
{
  "hex": "#7645a5",
  "rgb": {
    "r": 118,
    "g": 69,
    "b": 165
  },
  "hsl": {
    "h": 270.625,
    "s": 41.026,
    "l": 45.882
  },
  "oklch": {
    "l": 0.49356,
    "c": 0.15169,
    "h": 305
  },
  "luminance": 0.10824
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7645A5

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

Preview Lab → · Contrast checker → · Palette generator →

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