#7F64BA#7F64BA

#7F64BA is a mid, vivid violet. Relative luminance 0.172; OKLCH L 56.8% C 0.131 H 296.5°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#7F64BA
RGBrgb(127, 100, 186)
HSLhsl(259, 38%, 56%)
HSVhsv(259, 46%, 73%)
CMYKcmyk(31.7%, 46.2%, 0%, 27.1%)
CIE-LABlab(48.48, 29.88, -41.67)
CIE-LCHlch(48.48, 51.28, 305.64°)
OKLaboklab(56.79% 0.0584 -0.1171)
OKLCHoklch(56.79% 0.131 296.5)
XYZxyz(22.1703, 17.1712, 48.5912)
Luminance0.1717 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F64BA #9FBA64
analogous
#6474BA #7F64BA #AA64BA
triadic
#7F64BA #BA7F64 #64BA7F
tetradic
#7F64BA #BA6474 #9FBA64 #64BAAA
square
#7F64BA #BA6474 #9FBA64 #64BAAA
split-complementary
#7F64BA #BAAA64 #74BA64
monochromatic
#463271 #60459C #7F64BA #A28ECD #C5B9E0

Accessibility & contrast

On white

4.74
#7F64BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#7F64BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F64BA
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F64BA#FFFFFF#000000##FFFFFF
##7F64BA1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4974BD
Deuteranopia (green-blind)
#4E72B8
Tritanopia (blue-blind)
#727486
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7f64ba;
/* rgb */ color: rgb(127, 100, 186);
/* oklch */ color: oklch(56.8% 0.131 296.5);
Tailwind
colors: {
  custom: {
    50: '#a690cf',
    500: '#7f64ba',
    950: '#000000',
  },
}
SCSS
$custom: #7f64ba;
$custom-light: #a690cf;
$custom-dark: #000000;
JSON
{
  "hex": "#7f64ba",
  "rgb": {
    "r": 127,
    "g": 100,
    "b": 186
  },
  "hsl": {
    "h": 258.837,
    "s": 38.393,
    "l": 56.078
  },
  "oklch": {
    "l": 0.56792,
    "c": 0.13087,
    "h": 296.5
  },
  "luminance": 0.17172
}

Semantic roles & 50–950 ramp

primary
#7F64BA
secondary
#C4CFAB
accent
#CE59AA
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#100C14
muted
#7F7D82

Preview Lab

Preview with #7F64BA

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

Preview Lab → · Contrast checker → · Palette generator →

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