#7D64D3#7D64D3

#7D64D3 is a mid, vivid violet. Relative luminance 0.182; OKLCH L 58.1% C 0.164 H 290.8°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#7D64D3
RGBrgb(125, 100, 211)
HSLhsl(254, 56%, 61%)
HSVhsv(254, 53%, 83%)
CMYKcmyk(40.8%, 52.6%, 0%, 17.3%)
CIE-LABlab(49.71, 36.14, -54.08)
CIE-LCHlch(49.71, 65.05, 303.75°)
OKLaboklab(58.13% 0.0582 -0.1535)
OKLCHoklch(58.13% 0.164 290.8)
XYZxyz(24.7693, 18.1767, 63.8188)
Luminance0.1818 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D64D3 #BAD364
analogous
#6482D3 #7D64D3 #B564D3
triadic
#7D64D3 #D37D64 #64D37D
tetradic
#7D64D3 #D36482 #BAD364 #64D3B5
square
#7D64D3 #D36482 #BAD364 #64D3B5
split-complementary
#7D64D3 #D3B564 #82D364
monochromatic
#412A93 #5737C3 #7D64D3 #A594E1 #CDC3EE

Accessibility & contrast

On white

4.53
#7D64D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#7D64D3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D64D3
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D64D3#FFFFFF#000000##000000
##7D64D31.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3278D7
Deuteranopia (green-blind)
#3674D1
Tritanopia (blue-blind)
#657B92
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7d64d3;
/* rgb */ color: rgb(125, 100, 211);
/* oklch */ color: oklch(58.1% 0.164 290.8);
Tailwind
colors: {
  custom: {
    50: '#a791e1',
    500: '#7d64d3',
    950: '#000000',
  },
}
SCSS
$custom: #7d64d3;
$custom-light: #a791e1;
$custom-dark: #000000;
JSON
{
  "hex": "#7d64d3",
  "rgb": {
    "r": 125,
    "g": 100,
    "b": 211
  },
  "hsl": {
    "h": 253.514,
    "s": 55.779,
    "l": 60.98
  },
  "oklch": {
    "l": 0.5813,
    "c": 0.1642,
    "h": 290.8
  },
  "luminance": 0.18177
}

Semantic roles & 50–950 ramp

primary
#7D64D3
secondary
#D5DEB4
accent
#C3229F
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #7D64D3

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

Preview Lab → · Contrast checker → · Palette generator →

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