#645EE8#645EE8

#645EE8 is a mid, highly saturated blue. Relative luminance 0.165; OKLCH L 56.6% C 0.202 H 279.7°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#645EE8
RGBrgb(100, 94, 232)
HSLhsl(243, 75%, 64%)
HSVhsv(243, 59%, 91%)
CMYKcmyk(56.9%, 59.5%, 0%, 9%)
CIE-LABlab(47.67, 40.78, -69.37)
CIE-LCHlch(47.67, 80.47, 300.45°)
OKLaboklab(56.56% 0.034 -0.1992)
OKLCHoklch(56.56% 0.202 279.7)
XYZxyz(23.8191, 16.5393, 78.2655)
Luminance0.1654 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645EE8 #E2E85E
analogous
#5E9DE8 #645EE8 #A95EE8
triadic
#645EE8 #E8645E #5EE864
tetradic
#645EE8 #E85E9D #E2E85E #5EE8A9
square
#645EE8 #E85E9D #E2E85E #5EE8A9
split-complementary
#645EE8 #E8A95E #9DE85E
monochromatic
#2019B2 #3028E0 #645EE8 #9894F0 #CBC9F7

Accessibility & contrast

On white

4.87
#645EE8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#645EE8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645EE8
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645EE8#FFFFFF#000000##FFFFFF
##645EE81.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076ED
Deuteranopia (green-blind)
#006CE5
Tritanopia (blue-blind)
#147F9A
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #645ee8;
/* rgb */ color: rgb(100, 94, 232);
/* oklch */ color: oklch(56.6% 0.202 279.7);
Tailwind
colors: {
  custom: {
    50: '#9b8cf0',
    500: '#645ee8',
    950: '#000000',
  },
}
SCSS
$custom: #645ee8;
$custom-light: #9b8cf0;
$custom-dark: #000000;
JSON
{
  "hex": "#645ee8",
  "rgb": {
    "r": 100,
    "g": 94,
    "b": 232
  },
  "hsl": {
    "h": 242.609,
    "s": 75,
    "l": 63.922
  },
  "oklch": {
    "l": 0.56562,
    "c": 0.20212,
    "h": 279.7
  },
  "luminance": 0.16541
}

Semantic roles & 50–950 ramp

primary
#645EE8
secondary
#E7E9B9
accent
#D70ECE
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #645EE8

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

Preview Lab → · Contrast checker → · Palette generator →

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