#644BD7#644BD7

#644BD7 is a mid, highly saturated violet. Relative luminance 0.126; OKLCH L 52.2% C 0.204 H 285.0°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#644BD7
RGBrgb(100, 75, 215)
HSLhsl(251, 64%, 57%)
HSVhsv(251, 65%, 84%)
CMYKcmyk(53.5%, 65.1%, 0%, 15.7%)
CIE-LABlab(42.23, 46.59, -68.58)
CIE-LCHlch(42.23, 82.91, 304.19°)
OKLaboklab(52.18% 0.053 -0.197)
OKLCHoklch(52.18% 0.204 285)
XYZxyz(20.0337, 12.6467, 65.6622)
Luminance0.1265 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#644BD7 #BED74B
analogous
#4B78D7 #644BD7 #AA4BD7
triadic
#644BD7 #D7644B #4BD764
tetradic
#644BD7 #D74B78 #BED74B #4BD7AA
square
#644BD7 #D74B78 #BED74B #4BD7AA
split-complementary
#644BD7 #D7AA4B #78D74B
monochromatic
#321E89 #442ABB #644BD7 #8F7DE2 #BAAFED

Accessibility & contrast

On white

5.95
#644BD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#644BD7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #644BD7
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##644BD7#FFFFFF#000000##FFFFFF
##644BD71.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068DB
Deuteranopia (green-blind)
#005FD4
Tritanopia (blue-blind)
#336E8A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #644bd7;
/* rgb */ color: rgb(100, 75, 215);
/* oklch */ color: oklch(52.2% 0.204 285.0);
Tailwind
colors: {
  custom: {
    50: '#9a7fe4',
    500: '#644bd7',
    950: '#000000',
  },
}
SCSS
$custom: #644bd7;
$custom-light: #9a7fe4;
$custom-dark: #000000;
JSON
{
  "hex": "#644bd7",
  "rgb": {
    "r": 100,
    "g": 75,
    "b": 215
  },
  "hsl": {
    "h": 250.714,
    "s": 63.636,
    "l": 56.863
  },
  "oklch": {
    "l": 0.52183,
    "c": 0.20397,
    "h": 285
  },
  "luminance": 0.12648
}

Semantic roles & 50–950 ramp

primary
#644BD7
secondary
#D1DBA2
accent
#E741C9
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #644BD7

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

Preview Lab → · Contrast checker → · Palette generator →

#644BD7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva