#7645A2#7645A2

#7645A2 is a mid, vivid violet. Relative luminance 0.107; OKLCH L 49.2% C 0.148 H 306.0°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#7645A2
RGBrgb(118, 69, 162)
HSLhsl(272, 40%, 45%)
HSVhsv(272, 57%, 64%)
CMYKcmyk(27.2%, 57.4%, 0%, 36.5%)
CIE-LABlab(39.10, 39.27, -42.52)
CIE-LCHlch(39.10, 57.88, 312.72°)
OKLaboklab(49.16% 0.087 -0.1198)
OKLCHoklch(49.16% 0.148 306)
XYZxyz(16.1195, 10.7166, 35.3947)
Luminance0.1072 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7645A2 #71A245
analogous
#4745A2 #7645A2 #A2459F
triadic
#7645A2 #A27645 #45A276
tetradic
#7645A2 #A24745 #71A245 #459FA2
square
#7645A2 #A24745 #71A245 #459FA2
split-complementary
#7645A2 #9FA245 #45A247
monochromatic
#37204C #573377 #7645A2 #9466BE #B291D0

Accessibility & contrast

On white

6.68
#7645A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#7645A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7645A2#FFFFFF#000000##FFFFFF
##7645A21.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#225AA5
Deuteranopia (green-blind)
#355CA0
Tritanopia (blue-blind)
#6F576D
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7645a2;
/* rgb */ color: rgb(118, 69, 162);
/* oklch */ color: oklch(49.2% 0.148 306.0);
Tailwind
colors: {
  custom: {
    50: '#a07bbe',
    500: '#7645a2',
    950: '#000000',
  },
}
SCSS
$custom: #7645a2;
$custom-light: #a07bbe;
$custom-dark: #000000;
JSON
{
  "hex": "#7645a2",
  "rgb": {
    "r": 118,
    "g": 69,
    "b": 162
  },
  "hsl": {
    "h": 271.613,
    "s": 40.26,
    "l": 45.294
  },
  "oklch": {
    "l": 0.49161,
    "c": 0.14808,
    "h": 306
  },
  "luminance": 0.10716
}

Semantic roles & 50–950 ramp

primary
#7645A2
secondary
#A0BC87
accent
#D05891
background
#FAF7FB
surface
#F4EEF7
border
#CEC9D0
text
#0F0912
muted
#7F7B81

Preview Lab

Preview with #7645A2

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

Preview Lab → · Contrast checker → · Palette generator →

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