#7645AF#7645AF

#7645AF is a mid, vivid violet. Relative luminance 0.112; OKLCH L 50.0% C 0.164 H 302.1°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#7645AF
RGBrgb(118, 69, 175)
HSLhsl(268, 43%, 48%)
HSVhsv(268, 61%, 69%)
CMYKcmyk(32.6%, 60.6%, 0%, 31.4%)
CIE-LABlab(39.92, 42.52, -48.94)
CIE-LCHlch(39.92, 64.83, 310.98°)
OKLaboklab(50.03% 0.087 -0.1386)
OKLCHoklch(50.03% 0.164 302.1)
XYZxyz(17.3354, 11.2029, 41.7982)
Luminance0.1120 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7645AF #7EAF45
analogous
#4549AF #7645AF #AB45AF
triadic
#7645AF #AF7645 #45AF76
tetradic
#7645AF #AF4549 #7EAF45 #45AFAB
square
#7645AF #AF4549 #7EAF45 #45AFAB
split-complementary
#7645AF #AFAB45 #49AF45
monochromatic
#3B2257 #583483 #7645AF #956CC5 #B598D6

Accessibility & contrast

On white

6.48
#7645AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#7645AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7645AF#FFFFFF#000000##FFFFFF
##7645AF1.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#085DB2
Deuteranopia (green-blind)
#275EAD
Tritanopia (blue-blind)
#6B5B73
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7645af;
/* rgb */ color: rgb(118, 69, 175);
/* oklch */ color: oklch(50.0% 0.164 302.1);
Tailwind
colors: {
  custom: {
    50: '#a17bc7',
    500: '#7645af',
    950: '#000000',
  },
}
SCSS
$custom: #7645af;
$custom-light: #a17bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#7645af",
  "rgb": {
    "r": 118,
    "g": 69,
    "b": 175
  },
  "hsl": {
    "h": 267.736,
    "s": 43.443,
    "l": 47.843
  },
  "oklch": {
    "l": 0.50025,
    "c": 0.1637,
    "h": 302.1
  },
  "luminance": 0.11203
}

Semantic roles & 50–950 ramp

primary
#7645AF
secondary
#AAC28D
accent
#D35599
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#0F0913
muted
#7F7B82

Preview Lab

Preview with #7645AF

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

Preview Lab → · Contrast checker → · Palette generator →

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