#7645C6#7645C6

#7645C6 is a mid, vivid violet. Relative luminance 0.122; OKLCH L 51.7% C 0.191 H 296.6°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#7645C6
RGBrgb(118, 69, 198)
HSLhsl(263, 53%, 52%)
HSVhsv(263, 65%, 78%)
CMYKcmyk(40.4%, 65.2%, 0%, 22.4%)
CIE-LABlab(41.51, 48.47, -59.86)
CIE-LCHlch(41.51, 77.03, 309.00°)
OKLaboklab(51.68% 0.0854 -0.1708)
OKLCHoklch(51.68% 0.191 296.6)
XYZxyz(19.7897, 12.1846, 54.7244)
Luminance0.1218 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7645C6 #95C645
analogous
#4554C6 #7645C6 #B745C6
triadic
#7645C6 #C67645 #45C676
tetradic
#7645C6 #C64554 #95C645 #45C6B7
square
#7645C6 #C64554 #95C645 #45C6B7
split-complementary
#7645C6 #C6B745 #54C645
monochromatic
#3F226F #5A309E #7645C6 #9974D4 #BBA3E3

Accessibility & contrast

On white

6.11
#7645C6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#7645C6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7645C6
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7645C6#FFFFFF#000000##FFFFFF
##7645C61.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CA
Deuteranopia (green-blind)
#0060C3
Tritanopia (blue-blind)
#62637F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7645c6;
/* rgb */ color: rgb(118, 69, 198);
/* oklch */ color: oklch(51.7% 0.191 296.6);
Tailwind
colors: {
  custom: {
    50: '#a37cd8',
    500: '#7645c6',
    950: '#000000',
  },
}
SCSS
$custom: #7645c6;
$custom-light: #a37cd8;
$custom-dark: #000000;
JSON
{
  "hex": "#7645c6",
  "rgb": {
    "r": 118,
    "g": 69,
    "b": 198
  },
  "hsl": {
    "h": 262.791,
    "s": 53.086,
    "l": 52.353
  },
  "oklch": {
    "l": 0.5168,
    "c": 0.19094,
    "h": 296.6
  },
  "luminance": 0.12185
}

Semantic roles & 50–950 ramp

primary
#7645C6
secondary
#BACF97
accent
#DC4BA5
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7645C6

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

Preview Lab → · Contrast checker → · Palette generator →

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