#645AE8#645AE8

#645AE8 is a mid, highly saturated blue. Relative luminance 0.158; OKLCH L 55.9% C 0.207 H 280.5°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#645AE8
RGBrgb(100, 90, 232)
HSLhsl(244, 76%, 63%)
HSVhsv(244, 61%, 91%)
CMYKcmyk(56.9%, 61.2%, 0%, 9%)
CIE-LABlab(46.77, 43.13, -70.84)
CIE-LCHlch(46.77, 82.94, 301.33°)
OKLaboklab(55.9% 0.0377 -0.2036)
OKLCHoklch(55.9% 0.207 280.5)
XYZxyz(23.4726, 15.8463, 78.1500)
Luminance0.1585 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645AE8 #DEE85A
analogous
#5A97E8 #645AE8 #AB5AE8
triadic
#645AE8 #E8645A #5AE864
tetradic
#645AE8 #E85A97 #DEE85A #5AE8AB
square
#645AE8 #E85A97 #DEE85A #5AE8AB
split-complementary
#645AE8 #E8AB5A #97E85A
monochromatic
#2318AF #3224E1 #645AE8 #9690EF #C9C5F7

Accessibility & contrast

On white

5.04
#645AE8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#645AE8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645AE8
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645AE8#FFFFFF#000000##FFFFFF
##645AE81.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074ED
Deuteranopia (green-blind)
#006AE5
Tritanopia (blue-blind)
#167D99
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #645ae8;
/* rgb */ color: rgb(100, 90, 232);
/* oklch */ color: oklch(55.9% 0.207 280.5);
Tailwind
colors: {
  custom: {
    50: '#9c89f0',
    500: '#645ae8',
    950: '#000000',
  },
}
SCSS
$custom: #645ae8;
$custom-light: #9c89f0;
$custom-dark: #000000;
JSON
{
  "hex": "#645ae8",
  "rgb": {
    "r": 100,
    "g": 90,
    "b": 232
  },
  "hsl": {
    "h": 244.225,
    "s": 75.532,
    "l": 63.137
  },
  "oklch": {
    "l": 0.559,
    "c": 0.20703,
    "h": 280.5
  },
  "luminance": 0.15848
}

Semantic roles & 50–950 ramp

primary
#645AE8
secondary
#E5E8B5
accent
#D80EC9
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #645AE8

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

Preview Lab → · Contrast checker → · Palette generator →

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