#645EDD#645EDD

#645EDD is a mid, vivid blue. Relative luminance 0.159; OKLCH L 55.7% C 0.188 H 280.5°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#645EDD
RGBrgb(100, 94, 221)
HSLhsl(243, 65%, 62%)
HSVhsv(243, 57%, 87%)
CMYKcmyk(54.8%, 57.5%, 0%, 13.3%)
CIE-LABlab(46.89, 37.34, -64.43)
CIE-LCHlch(46.89, 74.47, 300.10°)
OKLaboklab(55.73% 0.0343 -0.1847)
OKLCHoklch(55.73% 0.188 280.5)
XYZxyz(22.3053, 15.9338, 70.2928)
Luminance0.1593 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645EDD #D7DD5E
analogous
#5E98DD #645EDD #A45EDD
triadic
#645EDD #DD645E #5EDD64
tetradic
#645EDD #DD5E98 #D7DD5E #5EDDA4
square
#645EDD #DD5E98 #D7DD5E #5EDDA4
split-complementary
#645EDD #DDA45E #98DD5E
monochromatic
#28229F #342CD2 #645EDD #9591E8 #C5C3F2

Accessibility & contrast

On white

5.02
#645EDD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#645EDD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645EDD
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645EDD#FFFFFF#000000##FFFFFF
##645EDD1.005.024.195.02
#FFFFFF5.021.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074E1
Deuteranopia (green-blind)
#006ADA
Tritanopia (blue-blind)
#297C94
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #645edd;
/* rgb */ color: rgb(100, 94, 221);
/* oklch */ color: oklch(55.7% 0.188 280.5);
Tailwind
colors: {
  custom: {
    50: '#9a8ce8',
    500: '#645edd',
    950: '#000000',
  },
}
SCSS
$custom: #645edd;
$custom-light: #9a8ce8;
$custom-dark: #000000;
JSON
{
  "hex": "#645edd",
  "rgb": {
    "r": 100,
    "g": 94,
    "b": 221
  },
  "hsl": {
    "h": 242.835,
    "s": 65.128,
    "l": 61.765
  },
  "oklch": {
    "l": 0.55733,
    "c": 0.18784,
    "h": 280.5
  },
  "luminance": 0.15935
}

Semantic roles & 50–950 ramp

primary
#645EDD
secondary
#E1E3B4
accent
#CD19C4
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0C16
muted
#7F7D84

Preview Lab

Preview with #645EDD

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

Preview Lab → · Contrast checker → · Palette generator →

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