#7D64F2#7D64F2

#7D64F2 is a mid, highly saturated violet. Relative luminance 0.199; OKLCH L 60.2% C 0.204 H 286.7°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#7D64F2
RGBrgb(125, 100, 242)
HSLhsl(251, 85%, 67%)
HSVhsv(251, 59%, 95%)
CMYKcmyk(48.3%, 58.7%, 0%, 5.1%)
CIE-LABlab(51.71, 44.92, -68.35)
CIE-LCHlch(51.71, 81.79, 303.31°)
OKLaboklab(60.24% 0.0585 -0.1955)
OKLCHoklch(60.24% 0.204 286.7)
XYZxyz(29.0369, 19.8838, 86.2952)
Luminance0.1988 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D64F2 #D9F264
analogous
#6492F2 #7D64F2 #C464F2
triadic
#7D64F2 #F27D64 #64F27D
tetradic
#7D64F2 #F26492 #D9F264 #64F2C4
square
#7D64F2 #F26492 #D9F264 #64F2C4
split-complementary
#7D64F2 #F2C464 #92F264
monochromatic
#3211CB #4E2CED #7D64F2 #AC9CF7 #DCD5FB

Accessibility & contrast

On white

4.22
#7D64F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#7D64F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D64F2
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D64F2#FFFFFF#000000##000000
##7D64F21.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF7
Deuteranopia (green-blind)
#0077EF
Tritanopia (blue-blind)
#5485A2
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #7d64f2;
/* rgb */ color: rgb(125, 100, 242);
/* oklch */ color: oklch(60.2% 0.204 286.7);
Tailwind
colors: {
  custom: {
    50: '#ab91f7',
    500: '#7d64f2',
    950: '#000000',
  },
}
SCSS
$custom: #7d64f2;
$custom-light: #ab91f7;
$custom-dark: #000000;
JSON
{
  "hex": "#7d64f2",
  "rgb": {
    "r": 125,
    "g": 100,
    "b": 242
  },
  "hsl": {
    "h": 250.563,
    "s": 84.524,
    "l": 67.059
  },
  "oklch": {
    "l": 0.60242,
    "c": 0.20405,
    "h": 286.7
  },
  "luminance": 0.19885
}

Semantic roles & 50–950 ramp

primary
#7D64F2
secondary
#E8EFC2
accent
#E105BA
background
#FBF9FF
surface
#F6F1FF
border
#D0CBD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #7D64F2

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

Preview Lab → · Contrast checker → · Palette generator →

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