#7D64AB#7D64AB

#7D64AB is a mid, moderate violet. Relative luminance 0.164; OKLCH L 55.8% C 0.110 H 299.0°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#7D64AB
RGBrgb(125, 100, 171)
HSLhsl(261, 30%, 53%)
HSVhsv(261, 42%, 67%)
CMYKcmyk(26.9%, 41.5%, 0%, 32.9%)
CIE-LABlab(47.51, 25.42, -34.46)
CIE-LCHlch(47.51, 42.83, 306.41°)
OKLaboklab(55.77% 0.0534 -0.0962)
OKLCHoklch(55.77% 0.11 299)
XYZxyz(20.3636, 16.4145, 40.6157)
Luminance0.1641 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D64AB #92AB64
analogous
#646EAB #7D64AB #A064AB
triadic
#7D64AB #AB7D64 #64AB7D
tetradic
#7D64AB #AB646E #92AB64 #64ABA0
square
#7D64AB #AB646E #92AB64 #64ABA0
split-complementary
#7D64AB #ABA064 #6EAB64
monochromatic
#443460 #604A88 #7D64AB #9E8CC1 #C0B3D6

Accessibility & contrast

On white

4.90
#7D64AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#7D64AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D64AB
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D64AB#FFFFFF#000000##FFFFFF
##7D64AB1.004.904.284.90
#FFFFFF4.901.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5171AE
Deuteranopia (green-blind)
#5670A9
Tritanopia (blue-blind)
#74707F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7d64ab;
/* rgb */ color: rgb(125, 100, 171);
/* oklch */ color: oklch(55.8% 0.110 299.0);
Tailwind
colors: {
  custom: {
    50: '#a490c4',
    500: '#7d64ab',
    950: '#000000',
  },
}
SCSS
$custom: #7d64ab;
$custom-light: #a490c4;
$custom-dark: #000000;
JSON
{
  "hex": "#7d64ab",
  "rgb": {
    "r": 125,
    "g": 100,
    "b": 171
  },
  "hsl": {
    "h": 261.127,
    "s": 29.707,
    "l": 53.137
  },
  "oklch": {
    "l": 0.55771,
    "c": 0.11004,
    "h": 299
  },
  "luminance": 0.16415
}

Semantic roles & 50–950 ramp

primary
#7D64AB
secondary
#BAC5A6
accent
#C662A3
background
#FAF8FC
surface
#F4F0F8
border
#CECBD1
text
#0F0C12
muted
#7F7D81

Preview Lab

Preview with #7D64AB

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

Preview Lab → · Contrast checker → · Palette generator →

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