#7D64D4#7D64D4

#7D64D4 is a mid, vivid violet. Relative luminance 0.182; OKLCH L 58.2% C 0.166 H 290.6°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#7D64D4
RGBrgb(125, 100, 212)
HSLhsl(253, 57%, 61%)
HSVhsv(253, 53%, 83%)
CMYKcmyk(41%, 52.8%, 0%, 16.9%)
CIE-LABlab(49.77, 36.42, -54.56)
CIE-LCHlch(49.77, 65.59, 303.72°)
OKLaboklab(58.19% 0.0583 -0.1549)
OKLCHoklch(58.19% 0.166 290.6)
XYZxyz(24.8950, 18.2270, 64.4811)
Luminance0.1823 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D64D4 #BBD464
analogous
#6483D4 #7D64D4 #B564D4
triadic
#7D64D4 #D47D64 #64D47D
tetradic
#7D64D4 #D46483 #BBD464 #64D4B5
square
#7D64D4 #D46483 #BBD464 #64D4B5
split-complementary
#7D64D4 #D4B564 #83D464
monochromatic
#412994 #5636C4 #7D64D4 #A594E1 #CDC4EF

Accessibility & contrast

On white

4.52
#7D64D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#7D64D4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D64D4
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D64D4#FFFFFF#000000##000000
##7D64D41.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3178D8
Deuteranopia (green-blind)
#3474D1
Tritanopia (blue-blind)
#657B92
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7d64d4;
/* rgb */ color: rgb(125, 100, 212);
/* oklch */ color: oklch(58.2% 0.166 290.6);
Tailwind
colors: {
  custom: {
    50: '#a791e2',
    500: '#7d64d4',
    950: '#000000',
  },
}
SCSS
$custom: #7d64d4;
$custom-light: #a791e2;
$custom-dark: #000000;
JSON
{
  "hex": "#7d64d4",
  "rgb": {
    "r": 125,
    "g": 100,
    "b": 212
  },
  "hsl": {
    "h": 253.393,
    "s": 56.566,
    "l": 61.176
  },
  "oklch": {
    "l": 0.58195,
    "c": 0.16552,
    "h": 290.6
  },
  "luminance": 0.18228
}

Semantic roles & 50–950 ramp

primary
#7D64D4
secondary
#D6DFB5
accent
#C421A0
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #7D64D4

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

Preview Lab → · Contrast checker → · Palette generator →

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