#7D64B4#7D64B4

#7D64B4 is a mid, vivid violet. Relative luminance 0.168; OKLCH L 56.3% C 0.122 H 296.7°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#7D64B4
RGBrgb(125, 100, 180)
HSLhsl(259, 35%, 55%)
HSVhsv(259, 44%, 71%)
CMYKcmyk(30.6%, 44.4%, 0%, 29.4%)
CIE-LABlab(47.97, 27.75, -39.00)
CIE-LCHlch(47.97, 47.87, 305.43°)
OKLaboklab(56.26% 0.055 -0.1094)
OKLCHoklch(56.26% 0.122 296.7)
XYZxyz(21.2508, 16.7693, 45.2884)
Luminance0.1677 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D64B4 #9BB464
analogous
#6473B4 #7D64B4 #A564B4
triadic
#7D64B4 #B47D64 #64B47D
tetradic
#7D64B4 #B46473 #9BB464 #64B4A5
square
#7D64B4 #B46473 #9BB464 #64B4A5
split-complementary
#7D64B4 #B4A564 #73B464
monochromatic
#45336A #5F4793 #7D64B4 #A08DC8 #C2B6DC

Accessibility & contrast

On white

4.82
#7D64B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#7D64B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D64B4
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D64B4#FFFFFF#000000##FFFFFF
##7D64B41.004.824.354.82
#FFFFFF4.821.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C72B7
Deuteranopia (green-blind)
#5071B2
Tritanopia (blue-blind)
#717383
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7d64b4;
/* rgb */ color: rgb(125, 100, 180);
/* oklch */ color: oklch(56.3% 0.122 296.7);
Tailwind
colors: {
  custom: {
    50: '#a590cb',
    500: '#7d64b4',
    950: '#000000',
  },
}
SCSS
$custom: #7d64b4;
$custom-light: #a590cb;
$custom-dark: #000000;
JSON
{
  "hex": "#7d64b4",
  "rgb": {
    "r": 125,
    "g": 100,
    "b": 180
  },
  "hsl": {
    "h": 258.75,
    "s": 34.783,
    "l": 54.902
  },
  "oklch": {
    "l": 0.56262,
    "c": 0.12244,
    "h": 296.7
  },
  "luminance": 0.1677
}

Semantic roles & 50–950 ramp

primary
#7D64B4
secondary
#C0CBA9
accent
#CB5DA9
background
#FAF8FC
surface
#F4F0F8
border
#CECBD1
text
#0F0C13
muted
#7F7D82

Preview Lab

Preview with #7D64B4

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

Preview Lab → · Contrast checker → · Palette generator →

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