#7D64DB#7D64DB

#7D64DB is a mid, vivid violet. Relative luminance 0.186; OKLCH L 58.7% C 0.175 H 289.6°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#7D64DB
RGBrgb(125, 100, 219)
HSLhsl(253, 62%, 63%)
HSVhsv(253, 54%, 86%)
CMYKcmyk(42.9%, 54.3%, 0%, 14.1%)
CIE-LABlab(50.20, 38.38, -57.84)
CIE-LCHlch(50.20, 69.41, 303.56°)
OKLaboklab(58.65% 0.0585 -0.1646)
OKLCHoklch(58.65% 0.175 289.6)
XYZxyz(25.7972, 18.5879, 69.2327)
Luminance0.1859 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D64DB #C2DB64
analogous
#6486DB #7D64DB #B964DB
triadic
#7D64DB #DB7D64 #64DB7D
tetradic
#7D64DB #DB6486 #C2DB64 #64DBB9
square
#7D64DB #DB6486 #C2DB64 #64DBB9
split-complementary
#7D64DB #DBB964 #86DB64
monochromatic
#3F25A0 #5332CF #7D64DB #A796E7 #D0C7F2

Accessibility & contrast

On white

4.45
#7D64DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#7D64DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D64DB
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D64DB#FFFFFF#000000##000000
##7D64DB1.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#277ADF
Deuteranopia (green-blind)
#2A75D8
Tritanopia (blue-blind)
#627E96
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7d64db;
/* rgb */ color: rgb(125, 100, 219);
/* oklch */ color: oklch(58.7% 0.175 289.6);
Tailwind
colors: {
  custom: {
    50: '#a891e7',
    500: '#7d64db',
    950: '#000000',
  },
}
SCSS
$custom: #7d64db;
$custom-light: #a891e7;
$custom-dark: #000000;
JSON
{
  "hex": "#7d64db",
  "rgb": {
    "r": 125,
    "g": 100,
    "b": 219
  },
  "hsl": {
    "h": 252.605,
    "s": 62.304,
    "l": 62.549
  },
  "oklch": {
    "l": 0.58653,
    "c": 0.17468,
    "h": 289.6
  },
  "luminance": 0.18589
}

Semantic roles & 50–950 ramp

primary
#7D64DB
secondary
#DAE3B8
accent
#CA1BA5
background
#FAF8FE
surface
#F4F0FC
border
#CECBD5
text
#100D16
muted
#7F7D84

Preview Lab

Preview with #7D64DB

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

Preview Lab → · Contrast checker → · Palette generator →

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