#7D64D9#7D64D9

#7D64D9 is a mid, vivid violet. Relative luminance 0.185; OKLCH L 58.5% C 0.172 H 289.9°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#7D64D9
RGBrgb(125, 100, 217)
HSLhsl(253, 61%, 62%)
HSVhsv(253, 54%, 85%)
CMYKcmyk(42.4%, 53.9%, 0%, 14.9%)
CIE-LABlab(50.08, 37.82, -56.91)
CIE-LCHlch(50.08, 68.33, 303.61°)
OKLaboklab(58.52% 0.0585 -0.1618)
OKLCHoklch(58.52% 0.172 289.9)
XYZxyz(25.5355, 18.4832, 67.8544)
Luminance0.1848 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D64D9 #C0D964
analogous
#6485D9 #7D64D9 #B864D9
triadic
#7D64D9 #D97D64 #64D97D
tetradic
#7D64D9 #D96485 #C0D964 #64D9B8
square
#7D64D9 #D96485 #C0D964 #64D9B8
split-complementary
#7D64D9 #D9B864 #85D964
monochromatic
#40269C #5433CD #7D64D9 #A695E5 #CFC6F1

Accessibility & contrast

On white

4.47
#7D64D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#7D64D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D64D9
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D64D9#FFFFFF#000000##000000
##7D64D91.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A79DD
Deuteranopia (green-blind)
#2E74D6
Tritanopia (blue-blind)
#637D95
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7d64d9;
/* rgb */ color: rgb(125, 100, 217);
/* oklch */ color: oklch(58.5% 0.172 289.9);
Tailwind
colors: {
  custom: {
    50: '#a891e5',
    500: '#7d64d9',
    950: '#000000',
  },
}
SCSS
$custom: #7d64d9;
$custom-light: #a891e5;
$custom-dark: #000000;
JSON
{
  "hex": "#7d64d9",
  "rgb": {
    "r": 125,
    "g": 100,
    "b": 217
  },
  "hsl": {
    "h": 252.821,
    "s": 60.622,
    "l": 62.157
  },
  "oklch": {
    "l": 0.58521,
    "c": 0.17207,
    "h": 289.9
  },
  "luminance": 0.18484
}

Semantic roles & 50–950 ramp

primary
#7D64D9
secondary
#D9E2B7
accent
#C81DA4
background
#FAF8FE
surface
#F4F0FC
border
#CECBD5
text
#100D16
muted
#7F7D84

Preview Lab

Preview with #7D64D9

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

Preview Lab → · Contrast checker → · Palette generator →

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