#7645C7#7645C7

#7645C7 is a mid, vivid violet. Relative luminance 0.122; OKLCH L 51.8% C 0.192 H 296.4°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#7645C7
RGBrgb(118, 69, 199)
HSLhsl(263, 54%, 53%)
HSVhsv(263, 65%, 78%)
CMYKcmyk(40.7%, 65.3%, 0%, 22%)
CIE-LABlab(41.58, 48.73, -60.33)
CIE-LCHlch(41.58, 77.55, 308.93°)
OKLaboklab(51.76% 0.0853 -0.1721)
OKLCHoklch(51.76% 0.192 296.4)
XYZxyz(19.9054, 12.2309, 55.3338)
Luminance0.1223 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7645C7 #96C745
analogous
#4555C7 #7645C7 #B745C7
triadic
#7645C7 #C77645 #45C776
tetradic
#7645C7 #C74555 #96C745 #45C7B7
square
#7645C7 #C74555 #96C745 #45C7B7
split-complementary
#7645C7 #C7B745 #55C745
monochromatic
#3F2270 #5A309F #7645C7 #9974D5 #BBA3E3

Accessibility & contrast

On white

6.09
#7645C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#7645C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7645C7
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7645C7#FFFFFF#000000##FFFFFF
##7645C71.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CB
Deuteranopia (green-blind)
#0060C4
Tritanopia (blue-blind)
#616380
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7645c7;
/* rgb */ color: rgb(118, 69, 199);
/* oklch */ color: oklch(51.8% 0.192 296.4);
Tailwind
colors: {
  custom: {
    50: '#a37cd9',
    500: '#7645c7',
    950: '#000000',
  },
}
SCSS
$custom: #7645c7;
$custom-light: #a37cd9;
$custom-dark: #000000;
JSON
{
  "hex": "#7645c7",
  "rgb": {
    "r": 118,
    "g": 69,
    "b": 199
  },
  "hsl": {
    "h": 262.615,
    "s": 53.719,
    "l": 52.549
  },
  "oklch": {
    "l": 0.51756,
    "c": 0.19211,
    "h": 296.4
  },
  "luminance": 0.12231
}

Semantic roles & 50–950 ramp

primary
#7645C7
secondary
#BBD098
accent
#DD4BA6
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7645C7

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

Preview Lab → · Contrast checker → · Palette generator →

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