#7645AA#7645AA

#7645AA is a mid, vivid violet. Relative luminance 0.110; OKLCH L 49.7% C 0.158 H 303.5°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#7645AA
RGBrgb(118, 69, 170)
HSLhsl(269, 42%, 47%)
HSVhsv(269, 59%, 67%)
CMYKcmyk(30.6%, 59.4%, 0%, 33.3%)
CIE-LABlab(39.60, 41.26, -46.49)
CIE-LCHlch(39.60, 62.16, 311.58°)
OKLaboklab(49.69% 0.0871 -0.1315)
OKLCHoklch(49.69% 0.158 303.5)
XYZxyz(16.8534, 11.0101, 39.2597)
Luminance0.1101 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7645AA #79AA45
analogous
#4547AA #7645AA #A945AA
triadic
#7645AA #AA7645 #45AA76
tetradic
#7645AA #AA4547 #79AA45 #45AAA9
square
#7645AA #AA4547 #79AA45 #45AAA9
split-complementary
#7645AA #AAA945 #47AA45
monochromatic
#3A2253 #58337E #7645AA #956AC2 #B495D4

Accessibility & contrast

On white

6.56
#7645AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#7645AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7645AA#FFFFFF#000000##FFFFFF
##7645AA1.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#165CAD
Deuteranopia (green-blind)
#2D5DA8
Tritanopia (blue-blind)
#6C5971
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7645aa;
/* rgb */ color: rgb(118, 69, 170);
/* oklch */ color: oklch(49.7% 0.158 303.5);
Tailwind
colors: {
  custom: {
    50: '#a17bc4',
    500: '#7645aa',
    950: '#000000',
  },
}
SCSS
$custom: #7645aa;
$custom-light: #a17bc4;
$custom-dark: #000000;
JSON
{
  "hex": "#7645aa",
  "rgb": {
    "r": 118,
    "g": 69,
    "b": 170
  },
  "hsl": {
    "h": 269.109,
    "s": 42.259,
    "l": 46.863
  },
  "oklch": {
    "l": 0.49686,
    "c": 0.15771,
    "h": 303.5
  },
  "luminance": 0.1101
}

Semantic roles & 50–950 ramp

primary
#7645AA
secondary
#A6C08B
accent
#D25696
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#0F0913
muted
#7F7B82

Preview Lab

Preview with #7645AA

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

Preview Lab → · Contrast checker → · Palette generator →

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