#645EE7#645EE7

#645EE7 is a mid, highly saturated blue. Relative luminance 0.165; OKLCH L 56.5% C 0.201 H 279.8°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#645EE7
RGBrgb(100, 94, 231)
HSLhsl(243, 74%, 64%)
HSVhsv(243, 59%, 91%)
CMYKcmyk(56.7%, 59.3%, 0%, 9.4%)
CIE-LABlab(47.60, 40.46, -68.93)
CIE-LCHlch(47.60, 79.93, 300.41°)
OKLaboklab(56.49% 0.034 -0.1979)
OKLCHoklch(56.49% 0.201 279.8)
XYZxyz(23.6775, 16.4827, 77.5196)
Luminance0.1648 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645EE7 #E1E75E
analogous
#5E9CE7 #645EE7 #A85EE7
triadic
#645EE7 #E7645E #5EE764
tetradic
#645EE7 #E75E9C #E1E75E #5EE7A8
square
#645EE7 #E75E9C #E1E75E #5EE7A8
split-complementary
#645EE7 #E7A85E #9CE75E
monochromatic
#211AB0 #3129DF #645EE7 #9793EF #CBC9F7

Accessibility & contrast

On white

4.89
#645EE7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#645EE7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645EE7
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645EE7#FFFFFF#000000##FFFFFF
##645EE71.004.894.304.89
#FFFFFF4.891.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076EB
Deuteranopia (green-blind)
#006CE4
Tritanopia (blue-blind)
#177F99
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #645ee7;
/* rgb */ color: rgb(100, 94, 231);
/* oklch */ color: oklch(56.5% 0.201 279.8);
Tailwind
colors: {
  custom: {
    50: '#9b8cf0',
    500: '#645ee7',
    950: '#000000',
  },
}
SCSS
$custom: #645ee7;
$custom-light: #9b8cf0;
$custom-dark: #000000;
JSON
{
  "hex": "#645ee7",
  "rgb": {
    "r": 100,
    "g": 94,
    "b": 231
  },
  "hsl": {
    "h": 242.628,
    "s": 74.054,
    "l": 63.725
  },
  "oklch": {
    "l": 0.56485,
    "c": 0.20084,
    "h": 279.8
  },
  "luminance": 0.16484
}

Semantic roles & 50–950 ramp

primary
#645EE7
secondary
#E6E9B8
accent
#D60FCD
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #645EE7

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

Preview Lab → · Contrast checker → · Palette generator →

#645EE7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva