#7F64F5#7F64F5

#7F64F5 is a mid, highly saturated violet. Relative luminance 0.202; OKLCH L 60.6% C 0.208 H 287.0°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#7F64F5
RGBrgb(127, 100, 245)
HSLhsl(251, 88%, 68%)
HSVhsv(251, 59%, 96%)
CMYKcmyk(48.2%, 59.2%, 0%, 3.9%)
CIE-LABlab(52.08, 46.16, -69.41)
CIE-LCHlch(52.08, 83.36, 303.63°)
OKLaboklab(60.62% 0.0609 -0.1985)
OKLCHoklch(60.62% 0.208 287)
XYZxyz(29.7862, 20.2176, 88.7014)
Luminance0.2022 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F64F5 #DAF564
analogous
#6492F5 #7F64F5 #C764F5
triadic
#7F64F5 #F57F64 #64F57F
tetradic
#7F64F5 #F56492 #DAF564 #64F5C7
square
#7F64F5 #F56492 #DAF564 #64F5C7
split-complementary
#7F64F5 #F5C764 #92F564
monochromatic
#320DD1 #502BF1 #7F64F5 #AE9DF9 #DED7FC

Accessibility & contrast

On white

4.16
#7F64F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#7F64F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F64F5
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F64F5#FFFFFF#000000##000000
##7F64F51.004.165.045.04
#FFFFFF4.161.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7f64f5;
/* rgb */ color: rgb(127, 100, 245);
/* oklch */ color: oklch(60.6% 0.208 287.0);
Tailwind
colors: {
  custom: {
    50: '#ac91f9',
    500: '#7f64f5',
    950: '#000000',
  },
}
SCSS
$custom: #7f64f5;
$custom-light: #ac91f9;
$custom-dark: #000000;
JSON
{
  "hex": "#7f64f5",
  "rgb": {
    "r": 127,
    "g": 100,
    "b": 245
  },
  "hsl": {
    "h": 251.172,
    "s": 87.879,
    "l": 67.647
  },
  "oklch": {
    "l": 0.60625,
    "c": 0.20765,
    "h": 287
  },
  "luminance": 0.20219
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7F64F5

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

Preview Lab → · Contrast checker → · Palette generator →

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