#7D64DD#7D64DD

#7D64DD is a mid, vivid violet. Relative luminance 0.187; OKLCH L 58.8% C 0.177 H 289.3°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#7D64DD
RGBrgb(125, 100, 221)
HSLhsl(252, 64%, 63%)
HSVhsv(252, 55%, 87%)
CMYKcmyk(43.4%, 54.8%, 0%, 13.3%)
CIE-LABlab(50.33, 38.94, -58.77)
CIE-LCHlch(50.33, 70.50, 303.53°)
OKLaboklab(58.79% 0.0586 -0.1673)
OKLCHoklch(58.79% 0.177 289.3)
XYZxyz(26.0621, 18.6939, 70.6277)
Luminance0.1870 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D64DD #C4DD64
analogous
#6487DD #7D64DD #BA64DD
triadic
#7D64DD #DD7D64 #64DD7D
tetradic
#7D64DD #DD6487 #C4DD64 #64DDBA
square
#7D64DD #DD6487 #C4DD64 #64DDBA
split-complementary
#7D64DD #DDBA64 #87DD64
monochromatic
#3E24A3 #5332D2 #7D64DD #A796E8 #D1C8F3

Accessibility & contrast

On white

4.43
#7D64DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#7D64DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D64DD
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D64DD#FFFFFF#000000##000000
##7D64DD1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#247AE1
Deuteranopia (green-blind)
#2775DA
Tritanopia (blue-blind)
#617E97
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7d64dd;
/* rgb */ color: rgb(125, 100, 221);
/* oklch */ color: oklch(58.8% 0.177 289.3);
Tailwind
colors: {
  custom: {
    50: '#a891e8',
    500: '#7d64dd',
    950: '#000000',
  },
}
SCSS
$custom: #7d64dd;
$custom-light: #a891e8;
$custom-dark: #000000;
JSON
{
  "hex": "#7d64dd",
  "rgb": {
    "r": 125,
    "g": 100,
    "b": 221
  },
  "hsl": {
    "h": 252.397,
    "s": 64.021,
    "l": 62.941
  },
  "oklch": {
    "l": 0.58786,
    "c": 0.17727,
    "h": 289.3
  },
  "luminance": 0.18695
}

Semantic roles & 50–950 ramp

primary
#7D64DD
secondary
#DBE4B9
accent
#CC1AA7
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100D16
muted
#7F7D84

Preview Lab

Preview with #7D64DD

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

Preview Lab → · Contrast checker → · Palette generator →

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