#645EEA#645EEA

#645EEA is a mid, highly saturated blue. Relative luminance 0.167; OKLCH L 56.7% C 0.205 H 279.5°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#645EEA
RGBrgb(100, 94, 234)
HSLhsl(243, 77%, 64%)
HSVhsv(243, 60%, 92%)
CMYKcmyk(57.3%, 59.8%, 0%, 8.2%)
CIE-LABlab(47.82, 41.40, -70.26)
CIE-LCHlch(47.82, 81.55, 300.51°)
OKLaboklab(56.72% 0.0339 -0.2018)
OKLCHoklch(56.72% 0.205 279.5)
XYZxyz(24.1048, 16.6536, 79.7702)
Luminance0.1666 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645EEA #E4EA5E
analogous
#5E9EEA #645EEA #AA5EEA
triadic
#645EEA #EA645E #5EEA64
tetradic
#645EEA #EA5E9E #E4EA5E #5EEAAA
square
#645EEA #EA5E9E #E4EA5E #5EEAAA
split-complementary
#645EEA #EAAA5E #9EEA5E
monochromatic
#1F18B6 #3028E3 #645EEA #9894F1 #CCCAF8

Accessibility & contrast

On white

4.85
#645EEA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#645EEA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645EEA
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645EEA#FFFFFF#000000##FFFFFF
##645EEA1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077EF
Deuteranopia (green-blind)
#006CE7
Tritanopia (blue-blind)
#0E809B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #645eea;
/* rgb */ color: rgb(100, 94, 234);
/* oklch */ color: oklch(56.7% 0.205 279.5);
Tailwind
colors: {
  custom: {
    50: '#9c8cf2',
    500: '#645eea',
    950: '#000000',
  },
}
SCSS
$custom: #645eea;
$custom-light: #9c8cf2;
$custom-dark: #000000;
JSON
{
  "hex": "#645eea",
  "rgb": {
    "r": 100,
    "g": 94,
    "b": 234
  },
  "hsl": {
    "h": 242.571,
    "s": 76.923,
    "l": 64.314
  },
  "oklch": {
    "l": 0.56715,
    "c": 0.20468,
    "h": 279.5
  },
  "luminance": 0.16655
}

Semantic roles & 50–950 ramp

primary
#645EEA
secondary
#E8EABA
accent
#D90CD0
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #645EEA

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

Preview Lab → · Contrast checker → · Palette generator →

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