#7D64C0#7D64C0

#7D64C0 is a mid, vivid violet. Relative luminance 0.173; OKLCH L 57.0% C 0.139 H 294.1°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#7D64C0
RGBrgb(125, 100, 192)
HSLhsl(256, 42%, 57%)
HSVhsv(256, 48%, 75%)
CMYKcmyk(34.9%, 47.9%, 0%, 24.7%)
CIE-LABlab(48.61, 30.93, -44.94)
CIE-LCHlch(48.61, 54.56, 304.54°)
OKLaboklab(56.95% 0.0566 -0.1267)
OKLCHoklch(56.95% 0.139 294.1)
XYZxyz(22.5266, 17.2797, 52.0074)
Luminance0.1728 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D64C0 #A7C064
analogous
#6479C0 #7D64C0 #AB64C0
triadic
#7D64C0 #C07D64 #64C07D
tetradic
#7D64C0 #C06479 #A7C064 #64C0AB
square
#7D64C0 #C06479 #A7C064 #64C0AB
split-complementary
#7D64C0 #C0AB64 #79C064
monochromatic
#443179 #5D43A4 #7D64C0 #A190D2 #C6BBE3

Accessibility & contrast

On white

4.71
#7D64C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#7D64C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D64C0
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D64C0#FFFFFF#000000##FFFFFF
##7D64C01.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4474C3
Deuteranopia (green-blind)
#4872BE
Tritanopia (blue-blind)
#6D7689
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7d64c0;
/* rgb */ color: rgb(125, 100, 192);
/* oklch */ color: oklch(57.0% 0.139 294.1);
Tailwind
colors: {
  custom: {
    50: '#a690d3',
    500: '#7d64c0',
    950: '#000000',
  },
}
SCSS
$custom: #7d64c0;
$custom-light: #a690d3;
$custom-dark: #000000;
JSON
{
  "hex": "#7d64c0",
  "rgb": {
    "r": 125,
    "g": 100,
    "b": 192
  },
  "hsl": {
    "h": 256.304,
    "s": 42.202,
    "l": 57.255
  },
  "oklch": {
    "l": 0.56954,
    "c": 0.13881,
    "h": 294.1
  },
  "luminance": 0.1728
}

Semantic roles & 50–950 ramp

primary
#7D64C0
secondary
#C8D3AD
accent
#D256B0
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#100C14
muted
#7F7D83

Preview Lab

Preview with #7D64C0

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

Preview Lab → · Contrast checker → · Palette generator →

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