#7D64D2#7D64D2

#7D64D2 is a mid, vivid violet. Relative luminance 0.181; OKLCH L 58.1% C 0.163 H 290.9°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#7D64D2
RGBrgb(125, 100, 210)
HSLhsl(254, 55%, 61%)
HSVhsv(254, 52%, 82%)
CMYKcmyk(40.5%, 52.4%, 0%, 17.6%)
CIE-LABlab(49.65, 35.86, -53.61)
CIE-LCHlch(49.65, 64.50, 303.78°)
OKLaboklab(58.07% 0.0582 -0.1521)
OKLCHoklch(58.07% 0.163 290.9)
XYZxyz(24.6443, 18.1267, 63.1606)
Luminance0.1813 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D64D2 #B9D264
analogous
#6482D2 #7D64D2 #B464D2
triadic
#7D64D2 #D27D64 #64D27D
tetradic
#7D64D2 #D26482 #B9D264 #64D2B4
square
#7D64D2 #D26482 #B9D264 #64D2B4
split-complementary
#7D64D2 #D2B464 #82D264
monochromatic
#422A91 #5738C1 #7D64D2 #A593E0 #CDC3EE

Accessibility & contrast

On white

4.54
#7D64D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#7D64D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D64D2
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D64D2#FFFFFF#000000##000000
##7D64D21.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3378D6
Deuteranopia (green-blind)
#3774D0
Tritanopia (blue-blind)
#667B91
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7d64d2;
/* rgb */ color: rgb(125, 100, 210);
/* oklch */ color: oklch(58.1% 0.163 290.9);
Tailwind
colors: {
  custom: {
    50: '#a791e0',
    500: '#7d64d2',
    950: '#000000',
  },
}
SCSS
$custom: #7d64d2;
$custom-light: #a791e0;
$custom-dark: #000000;
JSON
{
  "hex": "#7d64d2",
  "rgb": {
    "r": 125,
    "g": 100,
    "b": 210
  },
  "hsl": {
    "h": 253.636,
    "s": 55,
    "l": 60.784
  },
  "oklch": {
    "l": 0.58066,
    "c": 0.16288,
    "h": 290.9
  },
  "luminance": 0.18127
}

Semantic roles & 50–950 ramp

primary
#7D64D2
secondary
#D4DEB4
accent
#C3239E
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #7D64D2

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

Preview Lab → · Contrast checker → · Palette generator →

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