#645EAE#645EAE

#645EAE is a mid, vivid blue. Relative luminance 0.138; OKLCH L 52.5% C 0.123 H 284.7°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#645EAE
RGBrgb(100, 94, 174)
HSLhsl(245, 33%, 53%)
HSVhsv(245, 46%, 68%)
CMYKcmyk(42.5%, 46%, 0%, 31.8%)
CIE-LABlab(43.90, 22.94, -42.08)
CIE-LCHlch(43.90, 47.93, 298.60°)
OKLaboklab(52.54% 0.0313 -0.119)
OKLCHoklch(52.54% 0.123 284.7)
XYZxyz(16.8960, 13.7701, 41.8038)
Luminance0.1377 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645EAE #A8AE5E
analogous
#5E80AE #645EAE #8C5EAE
triadic
#645EAE #AE645E #5EAE64
tetradic
#645EAE #AE5E80 #A8AE5E #5EAE8C
square
#645EAE #AE5E80 #A8AE5E #5EAE8C
split-complementary
#645EAE #AE8C5E #80AE5E
monochromatic
#343161 #4A458A #645EAE #8B87C2 #B2AFD7

Accessibility & contrast

On white

5.59
#645EAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#645EAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645EAE
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645EAE#FFFFFF#000000##FFFFFF
##645EAE1.005.593.755.59
#FFFFFF5.591.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#406AB1
Deuteranopia (green-blind)
#3D65AC
Tritanopia (blue-blind)
#4E6E7D
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #645eae;
/* rgb */ color: rgb(100, 94, 174);
/* oklch */ color: oklch(52.5% 0.123 284.7);
Tailwind
colors: {
  custom: {
    50: '#948bc6',
    500: '#645eae',
    950: '#000000',
  },
}
SCSS
$custom: #645eae;
$custom-light: #948bc6;
$custom-dark: #000000;
JSON
{
  "hex": "#645eae",
  "rgb": {
    "r": 100,
    "g": 94,
    "b": 174
  },
  "hsl": {
    "h": 244.5,
    "s": 33.058,
    "l": 52.549
  },
  "oklch": {
    "l": 0.52544,
    "c": 0.12309,
    "h": 284.7
  },
  "luminance": 0.13771
}

Semantic roles & 50–950 ramp

primary
#645EAE
secondary
#C3C5A3
accent
#C95FC1
background
#F9F8FC
surface
#F2F0F8
border
#CCCBD1
text
#0D0C13
muted
#7E7D82

Preview Lab

Preview with #645EAE

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

Preview Lab → · Contrast checker → · Palette generator →

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