#7D64F5#7D64F5

#7D64F5 is a mid, highly saturated violet. Relative luminance 0.201; OKLCH L 60.5% C 0.208 H 286.3°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#7D64F5
RGBrgb(125, 100, 245)
HSLhsl(250, 88%, 68%)
HSVhsv(250, 59%, 96%)
CMYKcmyk(49%, 59.2%, 0%, 3.9%)
CIE-LABlab(51.91, 45.78, -69.69)
CIE-LCHlch(51.91, 83.38, 303.30°)
OKLaboklab(60.46% 0.0584 -0.1994)
OKLCHoklch(60.46% 0.208 286.3)
XYZxyz(29.4912, 20.0655, 88.6876)
Luminance0.2007 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D64F5 #DCF564
analogous
#6493F5 #7D64F5 #C664F5
triadic
#7D64F5 #F57D64 #64F57D
tetradic
#7D64F5 #F56493 #DCF564 #64F5C6
square
#7D64F5 #F56493 #DCF564 #64F5C6
split-complementary
#7D64F5 #F5C664 #93F564
monochromatic
#2F0DD1 #4D2BF1 #7D64F5 #AD9DF9 #DDD7FC

Accessibility & contrast

On white

4.19
#7D64F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#7D64F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D64F5
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D64F5#FFFFFF#000000##000000
##7D64F51.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080FA
Deuteranopia (green-blind)
#0078F2
Tritanopia (blue-blind)
#5286A3
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #7d64f5;
/* rgb */ color: rgb(125, 100, 245);
/* oklch */ color: oklch(60.5% 0.208 286.3);
Tailwind
colors: {
  custom: {
    50: '#ab91f9',
    500: '#7d64f5',
    950: '#000000',
  },
}
SCSS
$custom: #7d64f5;
$custom-light: #ab91f9;
$custom-dark: #000000;
JSON
{
  "hex": "#7d64f5",
  "rgb": {
    "r": 125,
    "g": 100,
    "b": 245
  },
  "hsl": {
    "h": 250.345,
    "s": 87.879,
    "l": 67.647
  },
  "oklch": {
    "l": 0.60458,
    "c": 0.20779,
    "h": 286.3
  },
  "luminance": 0.20067
}

Semantic roles & 50–950 ramp

primary
#7D64F5
secondary
#E9F1C4
accent
#E401BD
background
#FBF9FF
surface
#F6F1FF
border
#D0CBD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #7D64F5

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

Preview Lab → · Contrast checker → · Palette generator →

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