#7E64F3#7E64F3

#7E64F3 is a mid, highly saturated violet. Relative luminance 0.200; OKLCH L 60.4% C 0.205 H 286.9°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#7E64F3
RGBrgb(126, 100, 243)
HSLhsl(251, 86%, 67%)
HSVhsv(251, 59%, 95%)
CMYKcmyk(48.1%, 58.8%, 0%, 4.7%)
CIE-LABlab(51.86, 45.40, -68.66)
CIE-LCHlch(51.86, 82.31, 303.47°)
OKLaboklab(60.4% 0.0597 -0.1964)
OKLCHoklch(60.4% 0.205 286.9)
XYZxyz(29.3343, 20.0197, 87.0952)
Luminance0.2002 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E64F3 #D9F364
analogous
#6492F3 #7E64F3 #C664F3
triadic
#7E64F3 #F37E64 #64F37E
tetradic
#7E64F3 #F36492 #D9F364 #64F3C6
square
#7E64F3 #F36492 #D9F364 #64F3C6
split-complementary
#7E64F3 #F3C664 #92F364
monochromatic
#3210CD #4F2BEF #7E64F3 #AD9DF7 #DDD6FC

Accessibility & contrast

On white

4.20
#7E64F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#7E64F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E64F3
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E64F3#FFFFFF#000000##000000
##7E64F31.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF8
Deuteranopia (green-blind)
#0078F0
Tritanopia (blue-blind)
#5585A2
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #7e64f3;
/* rgb */ color: rgb(126, 100, 243);
/* oklch */ color: oklch(60.4% 0.205 286.9);
Tailwind
colors: {
  custom: {
    50: '#ab91f8',
    500: '#7e64f3',
    950: '#000000',
  },
}
SCSS
$custom: #7e64f3;
$custom-light: #ab91f8;
$custom-dark: #000000;
JSON
{
  "hex": "#7e64f3",
  "rgb": {
    "r": 126,
    "g": 100,
    "b": 243
  },
  "hsl": {
    "h": 250.909,
    "s": 85.629,
    "l": 67.255
  },
  "oklch": {
    "l": 0.60397,
    "c": 0.20523,
    "h": 286.9
  },
  "luminance": 0.20021
}

Semantic roles & 50–950 ramp

primary
#7E64F3
secondary
#E8F0C3
accent
#E203BA
background
#FBF9FF
surface
#F6F1FF
border
#D0CBD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #7E64F3

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

Preview Lab → · Contrast checker → · Palette generator →

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