#645AE0#645AE0

#645AE0 is a mid, vivid blue. Relative luminance 0.154; OKLCH L 55.3% C 0.197 H 281.2°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#645AE0
RGBrgb(100, 90, 224)
HSLhsl(244, 68%, 62%)
HSVhsv(244, 60%, 88%)
CMYKcmyk(55.4%, 59.8%, 0%, 12.2%)
CIE-LABlab(46.18, 40.65, -67.28)
CIE-LCHlch(46.18, 78.61, 301.14°)
OKLaboklab(55.28% 0.0381 -0.1931)
OKLCHoklch(55.28% 0.197 281.2)
XYZxyz(22.3621, 15.4020, 72.3011)
Luminance0.1540 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645AE0 #D6E05A
analogous
#5A93E0 #645AE0 #A75AE0
triadic
#645AE0 #E0645A #5AE064
tetradic
#645AE0 #E05A93 #D6E05A #5AE0A7
square
#645AE0 #E05A93 #D6E05A #5AE0A7
split-complementary
#645AE0 #E0A75A #93E05A
monochromatic
#281EA1 #3528D5 #645AE0 #948EEA #C5C1F3

Accessibility & contrast

On white

5.15
#645AE0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#645AE0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645AE0
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645AE0#FFFFFF#000000##FFFFFF
##645AE01.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E4
Deuteranopia (green-blind)
#0068DD
Tritanopia (blue-blind)
#257A94
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #645ae0;
/* rgb */ color: rgb(100, 90, 224);
/* oklch */ color: oklch(55.3% 0.197 281.2);
Tailwind
colors: {
  custom: {
    50: '#9b89eb',
    500: '#645ae0',
    950: '#000000',
  },
}
SCSS
$custom: #645ae0;
$custom-light: #9b89eb;
$custom-dark: #000000;
JSON
{
  "hex": "#645ae0",
  "rgb": {
    "r": 100,
    "g": 90,
    "b": 224
  },
  "hsl": {
    "h": 244.478,
    "s": 68.367,
    "l": 61.569
  },
  "oklch": {
    "l": 0.55279,
    "c": 0.19682,
    "h": 281.2
  },
  "luminance": 0.15403
}

Semantic roles & 50–950 ramp

primary
#645AE0
secondary
#E0E4B2
accent
#D015C2
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #645AE0

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

Preview Lab → · Contrast checker → · Palette generator →

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