#7F64FB#7F64FB

#7F64FB is a mid, highly saturated violet. Relative luminance 0.206; OKLCH L 61.1% C 0.215 H 286.4°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#7F64FB
RGBrgb(127, 100, 251)
HSLhsl(251, 95%, 69%)
HSVhsv(251, 60%, 98%)
CMYKcmyk(49.4%, 60.2%, 0%, 1.6%)
CIE-LABlab(52.50, 47.87, -72.07)
CIE-LCHlch(52.50, 86.52, 303.60°)
OKLaboklab(61.06% 0.0606 -0.2064)
OKLCHoklch(61.06% 0.215 286.4)
XYZxyz(30.7170, 20.5899, 93.6038)
Luminance0.2059 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F64FB #E0FB64
analogous
#6495FB #7F64FB #CA64FB
triadic
#7F64FB #FB7F64 #64FB7F
tetradic
#7F64FB #FB6495 #E0FB64 #64FBCA
square
#7F64FB #FB6495 #E0FB64 #64FBCA
split-complementary
#7F64FB #FBCA64 #95FB64
monochromatic
#2D06DF #4E28F9 #7F64FB #B0A0FD #E2DBFE

Accessibility & contrast

On white

4.10
#7F64FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#7F64FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F64FB
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F64FB#FFFFFF#000000##000000
##7F64FB1.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081FF
Deuteranopia (green-blind)
#0079F8
Tritanopia (blue-blind)
#5288A6
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #7f64fb;
/* rgb */ color: rgb(127, 100, 251);
/* oklch */ color: oklch(61.1% 0.215 286.4);
Tailwind
colors: {
  custom: {
    50: '#ad91fe',
    500: '#7f64fb',
    950: '#000000',
  },
}
SCSS
$custom: #7f64fb;
$custom-light: #ad91fe;
$custom-dark: #000000;
JSON
{
  "hex": "#7f64fb",
  "rgb": {
    "r": 127,
    "g": 100,
    "b": 251
  },
  "hsl": {
    "h": 250.728,
    "s": 94.969,
    "l": 68.824
  },
  "oklch": {
    "l": 0.6106,
    "c": 0.21508,
    "h": 286.4
  },
  "luminance": 0.20591
}

Semantic roles & 50–950 ramp

primary
#7F64FB
secondary
#ECF4C7
accent
#E600BC
background
#FBF9FF
surface
#F6F1FF
border
#D0CBD7
text
#110D18
muted
#807E86

Preview Lab

Preview with #7F64FB

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

Preview Lab → · Contrast checker → · Palette generator →

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