#7D64AF#7D64AF

#7D64AF is a mid, moderate violet. Relative luminance 0.166; OKLCH L 56.0% C 0.116 H 297.9°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#7D64AF
RGBrgb(125, 100, 175)
HSLhsl(260, 32%, 54%)
HSVhsv(260, 43%, 69%)
CMYKcmyk(28.6%, 42.9%, 0%, 31.4%)
CIE-LABlab(47.71, 26.45, -36.49)
CIE-LCHlch(47.71, 45.07, 305.93°)
OKLaboklab(55.99% 0.0541 -0.1021)
OKLCHoklch(55.99% 0.116 297.9)
XYZxyz(20.7507, 16.5693, 42.6541)
Luminance0.1657 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D64AF #96AF64
analogous
#6471AF #7D64AF #A364AF
triadic
#7D64AF #AF7D64 #64AF7D
tetradic
#7D64AF #AF6471 #96AF64 #64AFA3
square
#7D64AF #AF6471 #96AF64 #64AFA3
split-complementary
#7D64AF #AFA364 #71AF64
monochromatic
#443465 #60498D #7D64AF #9F8CC4 #C1B5D9

Accessibility & contrast

On white

4.87
#7D64AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#7D64AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D64AF
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D64AF#FFFFFF#000000##FFFFFF
##7D64AF1.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F71B2
Deuteranopia (green-blind)
#5370AD
Tritanopia (blue-blind)
#737181
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7d64af;
/* rgb */ color: rgb(125, 100, 175);
/* oklch */ color: oklch(56.0% 0.116 297.9);
Tailwind
colors: {
  custom: {
    50: '#a490c7',
    500: '#7d64af',
    950: '#000000',
  },
}
SCSS
$custom: #7d64af;
$custom-light: #a490c7;
$custom-dark: #000000;
JSON
{
  "hex": "#7d64af",
  "rgb": {
    "r": 125,
    "g": 100,
    "b": 175
  },
  "hsl": {
    "h": 260,
    "s": 31.915,
    "l": 53.922
  },
  "oklch": {
    "l": 0.55986,
    "c": 0.11556,
    "h": 297.9
  },
  "luminance": 0.16569
}

Semantic roles & 50–950 ramp

primary
#7D64AF
secondary
#BDC7A7
accent
#C860A5
background
#FAF8FC
surface
#F4F0F8
border
#CECBD1
text
#0F0C13
muted
#7F7D82

Preview Lab

Preview with #7D64AF

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

Preview Lab → · Contrast checker → · Palette generator →

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