#7D64C8#7D64C8

#7D64C8 is a mid, vivid violet. Relative luminance 0.176; OKLCH L 57.4% C 0.150 H 292.6°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#7D64C8
RGBrgb(125, 100, 200)
HSLhsl(255, 48%, 59%)
HSVhsv(255, 50%, 78%)
CMYKcmyk(37.5%, 50%, 0%, 21.6%)
CIE-LABlab(49.06, 33.10, -48.83)
CIE-LCHlch(49.06, 58.99, 304.14°)
OKLaboklab(57.44% 0.0574 -0.1381)
OKLCHoklch(57.44% 0.15 292.6)
XYZxyz(23.4372, 17.6439, 56.8032)
Luminance0.1764 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D64C8 #AFC864
analogous
#647DC8 #7D64C8 #AF64C8
triadic
#7D64C8 #C87D64 #64C87D
tetradic
#7D64C8 #C8647D #AFC864 #64C8AF
square
#7D64C8 #C8647D #AFC864 #64C8AF
split-complementary
#7D64C8 #C8AF64 #7DC864
monochromatic
#442F83 #5B3FB0 #7D64C8 #A391D8 #C9BEE8

Accessibility & contrast

On white

4.64
#7D64C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#7D64C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7D64C8
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D64C8#FFFFFF#000000##FFFFFF
##7D64C81.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D76CC
Deuteranopia (green-blind)
#4173C6
Tritanopia (blue-blind)
#6A788D
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7d64c8;
/* rgb */ color: rgb(125, 100, 200);
/* oklch */ color: oklch(57.4% 0.150 292.6);
Tailwind
colors: {
  custom: {
    50: '#a690d9',
    500: '#7d64c8',
    950: '#000000',
  },
}
SCSS
$custom: #7d64c8;
$custom-light: #a690d9;
$custom-dark: #000000;
JSON
{
  "hex": "#7d64c8",
  "rgb": {
    "r": 125,
    "g": 100,
    "b": 200
  },
  "hsl": {
    "h": 255,
    "s": 47.619,
    "l": 58.824
  },
  "oklch": {
    "l": 0.57438,
    "c": 0.14958,
    "h": 292.6
  },
  "luminance": 0.17644
}

Semantic roles & 50–950 ramp

primary
#7D64C8
secondary
#CED8B0
accent
#D751B6
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #7D64C8

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

Preview Lab → · Contrast checker → · Palette generator →

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