#7645AC#7645AC

#7645AC is a mid, vivid violet. Relative luminance 0.111; OKLCH L 49.8% C 0.160 H 303.0°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#7645AC
RGBrgb(118, 69, 172)
HSLhsl(269, 43%, 47%)
HSVhsv(269, 60%, 67%)
CMYKcmyk(31.4%, 59.9%, 0%, 32.5%)
CIE-LABlab(39.73, 41.76, -47.48)
CIE-LCHlch(39.73, 63.23, 311.33°)
OKLaboklab(49.82% 0.0871 -0.1343)
OKLCHoklch(49.82% 0.16 303)
XYZxyz(17.0440, 11.0864, 40.2637)
Luminance0.1109 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7645AC #7BAC45
analogous
#4547AC #7645AC #AA45AC
triadic
#7645AC #AC7645 #45AC76
tetradic
#7645AC #AC4547 #7BAC45 #45ACAA
square
#7645AC #AC4547 #7BAC45 #45ACAA
split-complementary
#7645AC #ACAA45 #47AC45
monochromatic
#3A2255 #583380 #7645AC #956BC4 #B496D5

Accessibility & contrast

On white

6.53
#7645AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#7645AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7645AC
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7645AC#FFFFFF#000000##FFFFFF
##7645AC1.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#115DAF
Deuteranopia (green-blind)
#2B5DAA
Tritanopia (blue-blind)
#6C5A72
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7645ac;
/* rgb */ color: rgb(118, 69, 172);
/* oklch */ color: oklch(49.8% 0.160 303.0);
Tailwind
colors: {
  custom: {
    50: '#a17bc5',
    500: '#7645ac',
    950: '#000000',
  },
}
SCSS
$custom: #7645ac;
$custom-light: #a17bc5;
$custom-dark: #000000;
JSON
{
  "hex": "#7645ac",
  "rgb": {
    "r": 118,
    "g": 69,
    "b": 172
  },
  "hsl": {
    "h": 268.544,
    "s": 42.739,
    "l": 47.255
  },
  "oklch": {
    "l": 0.49821,
    "c": 0.16011,
    "h": 303
  },
  "luminance": 0.11086
}

Semantic roles & 50–950 ramp

primary
#7645AC
secondary
#A8C18C
accent
#D35597
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#0F0913
muted
#7F7B82

Preview Lab

Preview with #7645AC

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

Preview Lab → · Contrast checker → · Palette generator →

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