#7D64D0#7D64D0

#7D64D0 is a mid, vivid violet. Relative luminance 0.180; OKLCH L 57.9% C 0.160 H 291.2°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#7D64D0
RGBrgb(125, 100, 208)
HSLhsl(254, 53%, 60%)
HSVhsv(254, 52%, 82%)
CMYKcmyk(39.9%, 51.9%, 0%, 18.4%)
CIE-LABlab(49.53, 35.31, -52.66)
CIE-LCHlch(49.53, 63.40, 303.84°)
OKLaboklab(57.94% 0.058 -0.1494)
OKLCHoklch(57.94% 0.16 291.2)
XYZxyz(24.3967, 18.0277, 61.8566)
Luminance0.1803 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D64D0 #B7D064
analogous
#6481D0 #7D64D0 #B364D0
triadic
#7D64D0 #D07D64 #64D07D
tetradic
#7D64D0 #D06481 #B7D064 #64D0B3
square
#7D64D0 #D06481 #B7D064 #64D0B3
split-complementary
#7D64D0 #D0B364 #81D064
monochromatic
#422B8E #5839BD #7D64D0 #A493DE #CCC2EC

Accessibility & contrast

On white

4.56
#7D64D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#7D64D0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D64D0
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D64D0#FFFFFF#000000##000000
##7D64D01.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3578D4
Deuteranopia (green-blind)
#3974CE
Tritanopia (blue-blind)
#677A90
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7d64d0;
/* rgb */ color: rgb(125, 100, 208);
/* oklch */ color: oklch(57.9% 0.160 291.2);
Tailwind
colors: {
  custom: {
    50: '#a791df',
    500: '#7d64d0',
    950: '#000000',
  },
}
SCSS
$custom: #7d64d0;
$custom-light: #a791df;
$custom-dark: #000000;
JSON
{
  "hex": "#7d64d0",
  "rgb": {
    "r": 125,
    "g": 100,
    "b": 208
  },
  "hsl": {
    "h": 253.889,
    "s": 53.465,
    "l": 60.392
  },
  "oklch": {
    "l": 0.57938,
    "c": 0.16024,
    "h": 291.2
  },
  "luminance": 0.18028
}

Semantic roles & 50–950 ramp

primary
#7D64D0
secondary
#D3DDB3
accent
#C1259D
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #7D64D0

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

Preview Lab → · Contrast checker → · Palette generator →

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