#7D64A5#7D64A5

#7D64A5 is a mid, moderate violet. Relative luminance 0.162; OKLCH L 55.5% C 0.102 H 300.9°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#7D64A5
RGBrgb(125, 100, 165)
HSLhsl(263, 27%, 52%)
HSVhsv(263, 39%, 65%)
CMYKcmyk(24.2%, 39.4%, 0%, 35.3%)
CIE-LABlab(47.22, 23.91, -31.40)
CIE-LCHlch(47.22, 39.46, 307.29°)
OKLaboklab(55.46% 0.0522 -0.0873)
OKLCHoklch(55.46% 0.102 300.9)
XYZxyz(19.8047, 16.1909, 37.6718)
Luminance0.1619 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D64A5 #8CA564
analogous
#646CA5 #7D64A5 #9E64A5
triadic
#7D64A5 #A57D64 #64A57D
tetradic
#7D64A5 #A5646C #8CA564 #64A59E
square
#7D64A5 #A5646C #8CA564 #64A59E
split-complementary
#7D64A5 #A59E64 #6CA564
monochromatic
#43345A #604B81 #7D64A5 #9D8BBB #BEB1D2

Accessibility & contrast

On white

4.95
#7D64A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#7D64A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D64A5
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D64A5#FFFFFF#000000##FFFFFF
##7D64A51.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5470A7
Deuteranopia (green-blind)
#5970A3
Tritanopia (blue-blind)
#766F7D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7d64a5;
/* rgb */ color: rgb(125, 100, 165);
/* oklch */ color: oklch(55.5% 0.102 300.9);
Tailwind
colors: {
  custom: {
    50: '#a490c0',
    500: '#7d64a5',
    950: '#000000',
  },
}
SCSS
$custom: #7d64a5;
$custom-light: #a490c0;
$custom-dark: #000000;
JSON
{
  "hex": "#7d64a5",
  "rgb": {
    "r": 125,
    "g": 100,
    "b": 165
  },
  "hsl": {
    "h": 263.077,
    "s": 26.531,
    "l": 51.961
  },
  "oklch": {
    "l": 0.55456,
    "c": 0.10175,
    "h": 300.9
  },
  "luminance": 0.16191
}

Semantic roles & 50–950 ramp

primary
#7D64A5
secondary
#B6C1A4
accent
#C3659F
background
#FAF8FB
surface
#F4F0F7
border
#CECBD0
text
#0F0C12
muted
#7F7D81

Preview Lab

Preview with #7D64A5

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

Preview Lab → · Contrast checker → · Palette generator →

#7D64A5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva