#7645B3#7645B3

#7645B3 is a mid, vivid violet. Relative luminance 0.114; OKLCH L 50.3% C 0.168 H 301.0°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#7645B3
RGBrgb(118, 69, 179)
HSLhsl(267, 44%, 49%)
HSVhsv(267, 61%, 70%)
CMYKcmyk(34.1%, 61.5%, 0%, 29.8%)
CIE-LABlab(40.18, 43.54, -50.88)
CIE-LCHlch(40.18, 66.96, 310.55°)
OKLaboklab(50.3% 0.0869 -0.1443)
OKLCHoklch(50.3% 0.168 301)
XYZxyz(17.7341, 11.3624, 43.8979)
Luminance0.1136 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7645B3 #82B345
analogous
#454BB3 #7645B3 #AD45B3
triadic
#7645B3 #B37645 #45B376
tetradic
#7645B3 #B3454B #82B345 #45B3AD
square
#7645B3 #B3454B #82B345 #45B3AD
split-complementary
#7645B3 #B3AD45 #4BB345
monochromatic
#3C235B #593487 #7645B3 #966EC7 #B69AD8

Accessibility & contrast

On white

6.42
#7645B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#7645B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7645B3#FFFFFF#000000##FFFFFF
##7645B31.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EB7
Deuteranopia (green-blind)
#215EB1
Tritanopia (blue-blind)
#695C75
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7645b3;
/* rgb */ color: rgb(118, 69, 179);
/* oklch */ color: oklch(50.3% 0.168 301.0);
Tailwind
colors: {
  custom: {
    50: '#a27bca',
    500: '#7645b3',
    950: '#000000',
  },
}
SCSS
$custom: #7645b3;
$custom-light: #a27bca;
$custom-dark: #000000;
JSON
{
  "hex": "#7645b3",
  "rgb": {
    "r": 118,
    "g": 69,
    "b": 179
  },
  "hsl": {
    "h": 266.727,
    "s": 44.355,
    "l": 48.627
  },
  "oklch": {
    "l": 0.50302,
    "c": 0.16848,
    "h": 301
  },
  "luminance": 0.11362
}

Semantic roles & 50–950 ramp

primary
#7645B3
secondary
#ADC48F
accent
#D4549B
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#0F0913
muted
#7F7B82

Preview Lab

Preview with #7645B3

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

Preview Lab → · Contrast checker → · Palette generator →

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