#7D64B6#7D64B6

#7D64B6 is a mid, vivid violet. Relative luminance 0.169; OKLCH L 56.4% C 0.125 H 296.2°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#7D64B6
RGBrgb(125, 100, 182)
HSLhsl(258, 36%, 55%)
HSVhsv(258, 45%, 71%)
CMYKcmyk(31.3%, 45.1%, 0%, 28.6%)
CIE-LABlab(48.07, 28.27, -40.00)
CIE-LCHlch(48.07, 48.98, 305.25°)
OKLaboklab(56.38% 0.0553 -0.1123)
OKLCHoklch(56.38% 0.125 296.2)
XYZxyz(21.4560, 16.8514, 46.3691)
Luminance0.1685 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D64B6 #9DB664
analogous
#6474B6 #7D64B6 #A664B6
triadic
#7D64B6 #B67D64 #64B67D
tetradic
#7D64B6 #B66474 #9DB664 #64B6A6
square
#7D64B6 #B66474 #9DB664 #64B6A6
split-complementary
#7D64B6 #B6A664 #74B664
monochromatic
#45336C #5F4796 #7D64B6 #A08ECA #C3B7DD

Accessibility & contrast

On white

4.81
#7D64B6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#7D64B6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D64B6
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D64B6#FFFFFF#000000##FFFFFF
##7D64B61.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B73B9
Deuteranopia (green-blind)
#4F71B4
Tritanopia (blue-blind)
#717384
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7d64b6;
/* rgb */ color: rgb(125, 100, 182);
/* oklch */ color: oklch(56.4% 0.125 296.2);
Tailwind
colors: {
  custom: {
    50: '#a590cc',
    500: '#7d64b6',
    950: '#000000',
  },
}
SCSS
$custom: #7d64b6;
$custom-light: #a590cc;
$custom-dark: #000000;
JSON
{
  "hex": "#7d64b6",
  "rgb": {
    "r": 125,
    "g": 100,
    "b": 182
  },
  "hsl": {
    "h": 258.293,
    "s": 35.965,
    "l": 55.294
  },
  "oklch": {
    "l": 0.56375,
    "c": 0.12519,
    "h": 296.2
  },
  "luminance": 0.16852
}

Semantic roles & 50–950 ramp

primary
#7D64B6
secondary
#C2CCAA
accent
#CC5CAA
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#0F0C13
muted
#7F7D82

Preview Lab

Preview with #7D64B6

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

Preview Lab → · Contrast checker → · Palette generator →

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