#7F64DF#7F64DF

#7F64DF is a mid, vivid violet. Relative luminance 0.190; OKLCH L 59.1% C 0.180 H 289.9°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#7F64DF
RGBrgb(127, 100, 223)
HSLhsl(253, 66%, 63%)
HSVhsv(253, 55%, 87%)
CMYKcmyk(43%, 55.2%, 0%, 12.5%)
CIE-LABlab(50.63, 39.95, -59.40)
CIE-LCHlch(50.63, 71.58, 303.92°)
OKLaboklab(59.1% 0.0611 -0.1691)
OKLCHoklch(59.1% 0.18 289.9)
XYZxyz(26.6251, 18.9532, 72.0532)
Luminance0.1895 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F64DF #C4DF64
analogous
#6486DF #7F64DF #BC64DF
triadic
#7F64DF #DF7F64 #64DF7F
tetradic
#7F64DF #DF6486 #C4DF64 #64DFBC
square
#7F64DF #DF6486 #C4DF64 #64DFBC
split-complementary
#7F64DF #DFBC64 #86DF64
monochromatic
#3F22A6 #5531D5 #7F64DF #A997E9 #D3C9F4

Accessibility & contrast

On white

4.38
#7F64DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#7F64DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F64DF
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F64DF#FFFFFF#000000##000000
##7F64DF1.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#217BE3
Deuteranopia (green-blind)
#2676DC
Tritanopia (blue-blind)
#637F98
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #7f64df;
/* rgb */ color: rgb(127, 100, 223);
/* oklch */ color: oklch(59.1% 0.180 289.9);
Tailwind
colors: {
  custom: {
    50: '#aa91ea',
    500: '#7f64df',
    950: '#000000',
  },
}
SCSS
$custom: #7f64df;
$custom-light: #aa91ea;
$custom-dark: #000000;
JSON
{
  "hex": "#7f64df",
  "rgb": {
    "r": 127,
    "g": 100,
    "b": 223
  },
  "hsl": {
    "h": 253.171,
    "s": 65.775,
    "l": 63.333
  },
  "oklch": {
    "l": 0.59096,
    "c": 0.17982,
    "h": 289.9
  },
  "luminance": 0.18954
}

Semantic roles & 50–950 ramp

primary
#7F64DF
secondary
#DCE5B9
accent
#CE18A6
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100D16
muted
#7F7D84

Preview Lab

Preview with #7F64DF

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

Preview Lab → · Contrast checker → · Palette generator →

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