#7D64CA#7D64CA

#7D64CA is a mid, vivid violet. Relative luminance 0.177; OKLCH L 57.6% C 0.152 H 292.2°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#7D64CA
RGBrgb(125, 100, 202)
HSLhsl(255, 49%, 59%)
HSVhsv(255, 50%, 79%)
CMYKcmyk(38.1%, 50.5%, 0%, 20.8%)
CIE-LABlab(49.18, 33.65, -49.79)
CIE-LCHlch(49.18, 60.10, 304.05°)
OKLaboklab(57.56% 0.0576 -0.1409)
OKLCHoklch(57.56% 0.152 292.2)
XYZxyz(23.6724, 17.7380, 58.0422)
Luminance0.1774 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D64CA #B1CA64
analogous
#647ECA #7D64CA #B064CA
triadic
#7D64CA #CA7D64 #64CA7D
tetradic
#7D64CA #CA647E #B1CA64 #64CAB0
square
#7D64CA #CA647E #B1CA64 #64CAB0
split-complementary
#7D64CA #CAB064 #7ECA64
monochromatic
#432E86 #5A3DB3 #7D64CA #A392DA #CABFE9

Accessibility & contrast

On white

4.62
#7D64CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#7D64CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7D64CA
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D64CA#FFFFFF#000000##FFFFFF
##7D64CA1.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B76CE
Deuteranopia (green-blind)
#3F73C8
Tritanopia (blue-blind)
#69798E
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7d64ca;
/* rgb */ color: rgb(125, 100, 202);
/* oklch */ color: oklch(57.6% 0.152 292.2);
Tailwind
colors: {
  custom: {
    50: '#a690db',
    500: '#7d64ca',
    950: '#000000',
  },
}
SCSS
$custom: #7d64ca;
$custom-light: #a690db;
$custom-dark: #000000;
JSON
{
  "hex": "#7d64ca",
  "rgb": {
    "r": 125,
    "g": 100,
    "b": 202
  },
  "hsl": {
    "h": 254.706,
    "s": 49.038,
    "l": 59.216
  },
  "oklch": {
    "l": 0.57561,
    "c": 0.15226,
    "h": 292.2
  },
  "luminance": 0.17739
}

Semantic roles & 50–950 ramp

primary
#7D64CA
secondary
#CFD9B1
accent
#D94FB7
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #7D64CA

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

Preview Lab → · Contrast checker → · Palette generator →

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