#7F64BB#7F64BB

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

Color values

HEX#7F64BB
RGBrgb(127, 100, 187)
HSLhsl(259, 39%, 56%)
HSVhsv(259, 47%, 73%)
CMYKcmyk(32.1%, 46.5%, 0%, 26.7%)
CIE-LABlab(48.53, 30.14, -42.17)
CIE-LCHlch(48.53, 51.83, 305.55°)
OKLaboklab(56.85% 0.0585 -0.1186)
OKLCHoklch(56.85% 0.132 296.2)
XYZxyz(22.2770, 17.2139, 49.1530)
Luminance0.1721 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F64BB #A0BB64
analogous
#6475BB #7F64BB #AB64BB
triadic
#7F64BB #BB7F64 #64BB7F
tetradic
#7F64BB #BB6475 #A0BB64 #64BBAB
square
#7F64BB #BB6475 #A0BB64 #64BBAB
split-complementary
#7F64BB #BBAB64 #75BB64
monochromatic
#463272 #60459D #7F64BB #A28FCE #C5B9E0

Accessibility & contrast

On white

4.73
#7F64BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#7F64BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F64BB
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F64BB#FFFFFF#000000##FFFFFF
##7F64BB1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4874BE
Deuteranopia (green-blind)
#4D72B9
Tritanopia (blue-blind)
#727486
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7f64bb;
/* rgb */ color: rgb(127, 100, 187);
/* oklch */ color: oklch(56.8% 0.132 296.2);
Tailwind
colors: {
  custom: {
    50: '#a790d0',
    500: '#7f64bb',
    950: '#000000',
  },
}
SCSS
$custom: #7f64bb;
$custom-light: #a790d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7f64bb",
  "rgb": {
    "r": 127,
    "g": 100,
    "b": 187
  },
  "hsl": {
    "h": 258.621,
    "s": 39.013,
    "l": 56.275
  },
  "oklch": {
    "l": 0.56849,
    "c": 0.13223,
    "h": 296.2
  },
  "luminance": 0.17214
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7F64BB

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

Preview Lab → · Contrast checker → · Palette generator →

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