#7D64DE#7D64DE

#7D64DE is a mid, vivid violet. Relative luminance 0.187; OKLCH L 58.9% C 0.179 H 289.2°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#7D64DE
RGBrgb(125, 100, 222)
HSLhsl(252, 65%, 63%)
HSVhsv(252, 55%, 87%)
CMYKcmyk(43.7%, 55%, 0%, 12.9%)
CIE-LABlab(50.39, 39.22, -59.24)
CIE-LCHlch(50.39, 71.04, 303.51°)
OKLaboklab(58.85% 0.0586 -0.1687)
OKLCHoklch(58.85% 0.179 289.2)
XYZxyz(26.1957, 18.7473, 71.3314)
Luminance0.1875 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D64DE #C5DE64
analogous
#6488DE #7D64DE #BA64DE
triadic
#7D64DE #DE7D64 #64DE7D
tetradic
#7D64DE #DE6488 #C5DE64 #64DEBA
square
#7D64DE #DE6488 #C5DE64 #64DEBA
split-complementary
#7D64DE #DEBA64 #88DE64
monochromatic
#3E23A5 #5332D3 #7D64DE #A796E9 #D2C9F3

Accessibility & contrast

On white

4.42
#7D64DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#7D64DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D64DE
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D64DE#FFFFFF#000000##000000
##7D64DE1.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#227AE2
Deuteranopia (green-blind)
#2575DB
Tritanopia (blue-blind)
#607E97
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7d64de;
/* rgb */ color: rgb(125, 100, 222);
/* oklch */ color: oklch(58.9% 0.179 289.2);
Tailwind
colors: {
  custom: {
    50: '#a891e9',
    500: '#7d64de',
    950: '#000000',
  },
}
SCSS
$custom: #7d64de;
$custom-light: #a891e9;
$custom-dark: #000000;
JSON
{
  "hex": "#7d64de",
  "rgb": {
    "r": 125,
    "g": 100,
    "b": 222
  },
  "hsl": {
    "h": 252.295,
    "s": 64.894,
    "l": 63.137
  },
  "oklch": {
    "l": 0.58853,
    "c": 0.17857,
    "h": 289.2
  },
  "luminance": 0.18748
}

Semantic roles & 50–950 ramp

primary
#7D64DE
secondary
#DCE5B9
accent
#CD19A8
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100D16
muted
#7F7D84

Preview Lab

Preview with #7D64DE

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

Preview Lab → · Contrast checker → · Palette generator →

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