#7F64DA#7F64DA

#7F64DA is a mid, vivid violet. Relative luminance 0.187; OKLCH L 58.8% C 0.173 H 290.6°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#7F64DA
RGBrgb(127, 100, 218)
HSLhsl(254, 61%, 62%)
HSVhsv(254, 54%, 85%)
CMYKcmyk(41.7%, 54.1%, 0%, 14.5%)
CIE-LABlab(50.32, 38.55, -57.07)
CIE-LCHlch(50.32, 68.87, 304.04°)
OKLaboklab(58.76% 0.061 -0.1623)
OKLCHoklch(58.76% 0.173 290.6)
XYZxyz(25.9610, 18.6875, 68.5553)
Luminance0.1869 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F64DA #BFDA64
analogous
#6484DA #7F64DA #BA64DA
triadic
#7F64DA #DA7F64 #64DA7F
tetradic
#7F64DA #DA6484 #BFDA64 #64DABA
square
#7F64DA #DA6484 #BFDA64 #64DABA
split-complementary
#7F64DA #DABA64 #84DA64
monochromatic
#41269E #5633CE #7F64DA #A895E6 #D1C7F2

Accessibility & contrast

On white

4.43
#7F64DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#7F64DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F64DA
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F64DA#FFFFFF#000000##000000
##7F64DA1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A7ADE
Deuteranopia (green-blind)
#2E75D7
Tritanopia (blue-blind)
#657D95
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7f64da;
/* rgb */ color: rgb(127, 100, 218);
/* oklch */ color: oklch(58.8% 0.173 290.6);
Tailwind
colors: {
  custom: {
    50: '#a991e6',
    500: '#7f64da',
    950: '#000000',
  },
}
SCSS
$custom: #7f64da;
$custom-light: #a991e6;
$custom-dark: #000000;
JSON
{
  "hex": "#7f64da",
  "rgb": {
    "r": 127,
    "g": 100,
    "b": 218
  },
  "hsl": {
    "h": 253.729,
    "s": 61.458,
    "l": 62.353
  },
  "oklch": {
    "l": 0.58764,
    "c": 0.17336,
    "h": 290.6
  },
  "luminance": 0.18688
}

Semantic roles & 50–950 ramp

primary
#7F64DA
secondary
#D9E2B7
accent
#C91CA2
background
#FAF8FE
surface
#F4F0FC
border
#CECBD5
text
#100D16
muted
#7F7D84

Preview Lab

Preview with #7F64DA

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

Preview Lab → · Contrast checker → · Palette generator →

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