#7F64EB#7F64EB

#7F64EB is a mid, vivid violet. Relative luminance 0.196; OKLCH L 59.9% C 0.195 H 288.3°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#7F64EB
RGBrgb(127, 100, 235)
HSLhsl(252, 77%, 66%)
HSVhsv(252, 57%, 92%)
CMYKcmyk(46%, 57.4%, 0%, 7.8%)
CIE-LABlab(51.41, 43.32, -64.91)
CIE-LCHlch(51.41, 78.04, 303.72°)
OKLaboklab(59.92% 0.0612 -0.1853)
OKLCHoklch(59.92% 0.195 288.3)
XYZxyz(28.3007, 19.6234, 80.8777)
Luminance0.1963 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F64EB #D0EB64
analogous
#648CEB #7F64EB #C264EB
triadic
#7F64EB #EB7F64 #64EB7F
tetradic
#7F64EB #EB648C #D0EB64 #64EBC2
square
#7F64EB #EB648C #D0EB64 #64EBC2
split-complementary
#7F64EB #EBC264 #8CEB64
monochromatic
#3918BC #522EE4 #7F64EB #AC9AF2 #D9D0F9

Accessibility & contrast

On white

4.26
#7F64EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#7F64EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F64EB
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F64EB#FFFFFF#000000##000000
##7F64EB1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EEF
Deuteranopia (green-blind)
#0077E8
Tritanopia (blue-blind)
#5C829E
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #7f64eb;
/* rgb */ color: rgb(127, 100, 235);
/* oklch */ color: oklch(59.9% 0.195 288.3);
Tailwind
colors: {
  custom: {
    50: '#ab91f2',
    500: '#7f64eb',
    950: '#000000',
  },
}
SCSS
$custom: #7f64eb;
$custom-light: #ab91f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7f64eb",
  "rgb": {
    "r": 127,
    "g": 100,
    "b": 235
  },
  "hsl": {
    "h": 252,
    "s": 77.143,
    "l": 65.686
  },
  "oklch": {
    "l": 0.59916,
    "c": 0.19513,
    "h": 288.3
  },
  "luminance": 0.19625
}

Semantic roles & 50–950 ramp

primary
#7F64EB
secondary
#E3ECBF
accent
#D90CB0
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#110D17
muted
#807E85

Preview Lab

Preview with #7F64EB

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

Preview Lab → · Contrast checker → · Palette generator →

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