#7D64BE#7D64BE

#7D64BE is a mid, vivid violet. Relative luminance 0.172; OKLCH L 56.8% C 0.136 H 294.5°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#7D64BE
RGBrgb(125, 100, 190)
HSLhsl(257, 41%, 57%)
HSVhsv(257, 47%, 75%)
CMYKcmyk(34.2%, 47.4%, 0%, 25.5%)
CIE-LABlab(48.50, 30.39, -43.96)
CIE-LCHlch(48.50, 53.44, 304.66°)
OKLaboklab(56.84% 0.0564 -0.1239)
OKLCHoklch(56.84% 0.136 294.5)
XYZxyz(22.3065, 17.1916, 50.8483)
Luminance0.1719 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D64BE #A5BE64
analogous
#6478BE #7D64BE #AA64BE
triadic
#7D64BE #BE7D64 #64BE7D
tetradic
#7D64BE #BE6478 #A5BE64 #64BEAA
square
#7D64BE #BE6478 #A5BE64 #64BEAA
split-complementary
#7D64BE #BEAA64 #78BE64
monochromatic
#453276 #5E44A1 #7D64BE #A18FD0 #C5BAE2

Accessibility & contrast

On white

4.73
#7D64BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#7D64BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D64BE
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D64BE#FFFFFF#000000##FFFFFF
##7D64BE1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4574C1
Deuteranopia (green-blind)
#4A72BC
Tritanopia (blue-blind)
#6E7588
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7d64be;
/* rgb */ color: rgb(125, 100, 190);
/* oklch */ color: oklch(56.8% 0.136 294.5);
Tailwind
colors: {
  custom: {
    50: '#a590d2',
    500: '#7d64be',
    950: '#000000',
  },
}
SCSS
$custom: #7d64be;
$custom-light: #a590d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7d64be",
  "rgb": {
    "r": 125,
    "g": 100,
    "b": 190
  },
  "hsl": {
    "h": 256.667,
    "s": 40.909,
    "l": 56.863
  },
  "oklch": {
    "l": 0.56836,
    "c": 0.13609,
    "h": 294.5
  },
  "luminance": 0.17192
}

Semantic roles & 50–950 ramp

primary
#7D64BE
secondary
#C7D1AD
accent
#D157AF
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#100C14
muted
#7F7D82

Preview Lab

Preview with #7D64BE

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

Preview Lab → · Contrast checker → · Palette generator →

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