#645CE8#645CE8

#645CE8 is a mid, highly saturated blue. Relative luminance 0.162; OKLCH L 56.2% C 0.205 H 280.1°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#645CE8
RGBrgb(100, 92, 232)
HSLhsl(243, 75%, 64%)
HSVhsv(243, 60%, 91%)
CMYKcmyk(56.9%, 60.3%, 0%, 9%)
CIE-LABlab(47.22, 41.96, -70.11)
CIE-LCHlch(47.22, 81.71, 300.90°)
OKLaboklab(56.23% 0.0359 -0.2014)
OKLCHoklch(56.23% 0.205 280.1)
XYZxyz(23.6436, 16.1882, 78.2070)
Luminance0.1619 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645CE8 #E0E85C
analogous
#5C9AE8 #645CE8 #AA5CE8
triadic
#645CE8 #E8645C #5CE864
tetradic
#645CE8 #E85C9A #E0E85C #5CE8AA
square
#645CE8 #E85C9A #E0E85C #5CE8AA
split-complementary
#645CE8 #E8AA5C #9AE85C
monochromatic
#2219B1 #3126E0 #645CE8 #9792F0 #CAC7F7

Accessibility & contrast

On white

4.96
#645CE8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#645CE8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645CE8
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645CE8#FFFFFF#000000##FFFFFF
##645CE81.004.964.244.96
#FFFFFF4.961.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075ED
Deuteranopia (green-blind)
#006BE5
Tritanopia (blue-blind)
#157E99
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #645ce8;
/* rgb */ color: rgb(100, 92, 232);
/* oklch */ color: oklch(56.2% 0.205 280.1);
Tailwind
colors: {
  custom: {
    50: '#9c8af0',
    500: '#645ce8',
    950: '#000000',
  },
}
SCSS
$custom: #645ce8;
$custom-light: #9c8af0;
$custom-dark: #000000;
JSON
{
  "hex": "#645ce8",
  "rgb": {
    "r": 100,
    "g": 92,
    "b": 232
  },
  "hsl": {
    "h": 243.429,
    "s": 75.269,
    "l": 63.529
  },
  "oklch": {
    "l": 0.56228,
    "c": 0.20459,
    "h": 280.1
  },
  "luminance": 0.1619
}

Semantic roles & 50–950 ramp

primary
#645CE8
secondary
#E6E9B7
accent
#D70ECC
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #645CE8

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

Preview Lab → · Contrast checker → · Palette generator →

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