#7F64DB#7F64DB

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

Color values

HEX#7F64DB
RGBrgb(127, 100, 219)
HSLhsl(254, 62%, 63%)
HSVhsv(254, 54%, 86%)
CMYKcmyk(42%, 54.3%, 0%, 14.1%)
CIE-LABlab(50.38, 38.83, -57.54)
CIE-LCHlch(50.38, 69.42, 304.01°)
OKLaboklab(58.83% 0.061 -0.1636)
OKLCHoklch(58.83% 0.175 290.5)
XYZxyz(26.0922, 18.7400, 69.2465)
Luminance0.1874 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F64DB #C0DB64
analogous
#6485DB #7F64DB #BA64DB
triadic
#7F64DB #DB7F64 #64DB7F
tetradic
#7F64DB #DB6485 #C0DB64 #64DBBA
square
#7F64DB #DB6485 #C0DB64 #64DBBA
split-complementary
#7F64DB #DBBA64 #85DB64
monochromatic
#4125A0 #5632CF #7F64DB #A896E7 #D1C7F2

Accessibility & contrast

On white

4.42
#7F64DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#7F64DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F64DB
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F64DB#FFFFFF#000000##000000
##7F64DB1.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#287ADF
Deuteranopia (green-blind)
#2D75D8
Tritanopia (blue-blind)
#657D96
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7f64db;
/* rgb */ color: rgb(127, 100, 219);
/* oklch */ color: oklch(58.8% 0.175 290.5);
Tailwind
colors: {
  custom: {
    50: '#a991e7',
    500: '#7f64db',
    950: '#000000',
  },
}
SCSS
$custom: #7f64db;
$custom-light: #a991e7;
$custom-dark: #000000;
JSON
{
  "hex": "#7f64db",
  "rgb": {
    "r": 127,
    "g": 100,
    "b": 219
  },
  "hsl": {
    "h": 253.613,
    "s": 62.304,
    "l": 62.549
  },
  "oklch": {
    "l": 0.5883,
    "c": 0.17465,
    "h": 290.5
  },
  "luminance": 0.18741
}

Semantic roles & 50–950 ramp

primary
#7F64DB
secondary
#D9E3B8
accent
#CA1BA2
background
#FAF8FE
surface
#F4F0FC
border
#CECBD5
text
#100D16
muted
#7F7D84

Preview Lab

Preview with #7F64DB

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

Preview Lab → · Contrast checker → · Palette generator →

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