#7F64BC#7F64BC

#7F64BC is a mid, vivid violet. Relative luminance 0.173; OKLCH L 56.9% C 0.134 H 296.0°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#7F64BC
RGBrgb(127, 100, 188)
HSLhsl(258, 40%, 56%)
HSVhsv(258, 47%, 74%)
CMYKcmyk(32.4%, 46.8%, 0%, 26.3%)
CIE-LABlab(48.58, 30.40, -42.66)
CIE-LCHlch(48.58, 52.39, 305.47°)
OKLaboklab(56.91% 0.0586 -0.12)
OKLCHoklch(56.91% 0.134 296)
XYZxyz(22.3844, 17.2569, 49.7188)
Luminance0.1726 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F64BC #A1BC64
analogous
#6475BC #7F64BC #AB64BC
triadic
#7F64BC #BC7F64 #64BC7F
tetradic
#7F64BC #BC6475 #A1BC64 #64BCAB
square
#7F64BC #BC6475 #A1BC64 #64BCAB
split-complementary
#7F64BC #BCAB64 #75BC64
monochromatic
#463274 #60449E #7F64BC #A28FCE #C6B9E1

Accessibility & contrast

On white

4.72
#7F64BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#7F64BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F64BC
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F64BC#FFFFFF#000000##FFFFFF
##7F64BC1.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4774BF
Deuteranopia (green-blind)
#4C72BA
Tritanopia (blue-blind)
#727487
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7f64bc;
/* rgb */ color: rgb(127, 100, 188);
/* oklch */ color: oklch(56.9% 0.134 296.0);
Tailwind
colors: {
  custom: {
    50: '#a790d0',
    500: '#7f64bc',
    950: '#000000',
  },
}
SCSS
$custom: #7f64bc;
$custom-light: #a790d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7f64bc",
  "rgb": {
    "r": 127,
    "g": 100,
    "b": 188
  },
  "hsl": {
    "h": 258.409,
    "s": 39.64,
    "l": 56.471
  },
  "oklch": {
    "l": 0.56907,
    "c": 0.13358,
    "h": 296
  },
  "luminance": 0.17257
}

Semantic roles & 50–950 ramp

primary
#7F64BC
secondary
#C5D0AC
accent
#D058AB
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#100C14
muted
#7F7D82

Preview Lab

Preview with #7F64BC

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

Preview Lab → · Contrast checker → · Palette generator →

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