#645DE7#645DE7

#645DE7 is a mid, highly saturated blue. Relative luminance 0.163; OKLCH L 56.3% C 0.202 H 280.0°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#645DE7
RGBrgb(100, 93, 231)
HSLhsl(243, 74%, 64%)
HSVhsv(243, 60%, 91%)
CMYKcmyk(56.7%, 59.7%, 0%, 9.4%)
CIE-LABlab(47.37, 41.05, -69.30)
CIE-LCHlch(47.37, 80.55, 300.64°)
OKLaboklab(56.32% 0.035 -0.199)
OKLCHoklch(56.32% 0.202 280)
XYZxyz(23.5891, 16.3060, 77.4901)
Luminance0.1631 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645DE7 #E0E75D
analogous
#5D9BE7 #645DE7 #A95DE7
triadic
#645DE7 #E7645D #5DE764
tetradic
#645DE7 #E75D9B #E0E75D #5DE7A9
square
#645DE7 #E75D9B #E0E75D #5DE7A9
split-complementary
#645DE7 #E7A95D #9BE75D
monochromatic
#221AB0 #3128DF #645DE7 #9792EF #CAC8F7

Accessibility & contrast

On white

4.93
#645DE7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#645DE7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645DE7
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645DE7#FFFFFF#000000##FFFFFF
##645DE71.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076EC
Deuteranopia (green-blind)
#006BE4
Tritanopia (blue-blind)
#177E99
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #645de7;
/* rgb */ color: rgb(100, 93, 231);
/* oklch */ color: oklch(56.3% 0.202 280.0);
Tailwind
colors: {
  custom: {
    50: '#9b8bf0',
    500: '#645de7',
    950: '#000000',
  },
}
SCSS
$custom: #645de7;
$custom-light: #9b8bf0;
$custom-dark: #000000;
JSON
{
  "hex": "#645de7",
  "rgb": {
    "r": 100,
    "g": 93,
    "b": 231
  },
  "hsl": {
    "h": 243.043,
    "s": 74.194,
    "l": 63.529
  },
  "oklch": {
    "l": 0.56317,
    "c": 0.20208,
    "h": 280
  },
  "luminance": 0.16308
}

Semantic roles & 50–950 ramp

primary
#645DE7
secondary
#E6E8B7
accent
#D60FCC
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #645DE7

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

Preview Lab → · Contrast checker → · Palette generator →

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