#645AF7#645AF7

#645AF7 is a mid, highly saturated blue. Relative luminance 0.167; OKLCH L 57.1% C 0.226 H 279.3°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#645AF7
RGBrgb(100, 90, 247)
HSLhsl(244, 91%, 66%)
HSVhsv(244, 64%, 97%)
CMYKcmyk(59.5%, 63.6%, 0%, 3.1%)
CIE-LABlab(47.92, 47.76, -77.38)
CIE-LCHlch(47.92, 90.93, 301.69°)
OKLaboklab(57.1% 0.0366 -0.2228)
OKLCHoklch(57.1% 0.226 279.3)
XYZxyz(25.6949, 16.7352, 89.8538)
Luminance0.1674 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645AF7 #EDF75A
analogous
#5A9EF7 #645AF7 #B25AF7
triadic
#645AF7 #F7645A #5AF764
tetradic
#645AF7 #F75A9E #EDF75A #5AF7B2
square
#645AF7 #F75A9E #EDF75A #5AF7B2
split-complementary
#645AF7 #F7B25A #9EF75A
monochromatic
#160ACD #2D20F4 #645AF7 #9B94FA #D2CFFD

Accessibility & contrast

On white

4.83
#645AF7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#645AF7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645AF7
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645AF7#FFFFFF#000000##FFFFFF
##645AF71.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078FC
Deuteranopia (green-blind)
#006CF4
Tritanopia (blue-blind)
#0082A0
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #645af7;
/* rgb */ color: rgb(100, 90, 247);
/* oklch */ color: oklch(57.1% 0.226 279.3);
Tailwind
colors: {
  custom: {
    50: '#9e89fb',
    500: '#645af7',
    950: '#000000',
  },
}
SCSS
$custom: #645af7;
$custom-light: #9e89fb;
$custom-dark: #000000;
JSON
{
  "hex": "#645af7",
  "rgb": {
    "r": 100,
    "g": 90,
    "b": 247
  },
  "hsl": {
    "h": 243.822,
    "s": 90.751,
    "l": 66.078
  },
  "oklch": {
    "l": 0.571,
    "c": 0.22576,
    "h": 279.3
  },
  "luminance": 0.16737
}

Semantic roles & 50–950 ramp

primary
#645AF7
secondary
#EDF0BD
accent
#E600D7
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C18
muted
#7F7D86

Preview Lab

Preview with #645AF7

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

Preview Lab → · Contrast checker → · Palette generator →

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