#645ADB#645ADB

#645ADB is a mid, vivid blue. Relative luminance 0.151; OKLCH L 54.9% C 0.190 H 281.6°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#645ADB
RGBrgb(100, 90, 219)
HSLhsl(245, 64%, 61%)
HSVhsv(245, 59%, 86%)
CMYKcmyk(54.3%, 58.9%, 0%, 14.1%)
CIE-LABlab(45.82, 39.11, -65.02)
CIE-LCHlch(45.82, 75.88, 301.02°)
OKLaboklab(54.9% 0.0383 -0.1865)
OKLCHoklch(54.9% 0.19 281.6)
XYZxyz(21.6939, 15.1348, 68.7823)
Luminance0.1514 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645ADB #D1DB5A
analogous
#5A90DB #645ADB #A45ADB
triadic
#645ADB #DB645A #5ADB64
tetradic
#645ADB #DB5A90 #D1DB5A #5ADBA4
square
#645ADB #DB5A90 #D1DB5A #5ADBA4
split-complementary
#645ADB #DBA45A #90DB5A
monochromatic
#2B2199 #392CCB #645ADB #938CE6 #C2BEF1

Accessibility & contrast

On white

5.21
#645ADB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#645ADB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645ADB
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645ADB#FFFFFF#000000##FFFFFF
##645ADB1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071DF
Deuteranopia (green-blind)
#0068D8
Tritanopia (blue-blind)
#2C7992
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #645adb;
/* rgb */ color: rgb(100, 90, 219);
/* oklch */ color: oklch(54.9% 0.190 281.6);
Tailwind
colors: {
  custom: {
    50: '#9a89e7',
    500: '#645adb',
    950: '#000000',
  },
}
SCSS
$custom: #645adb;
$custom-light: #9a89e7;
$custom-dark: #000000;
JSON
{
  "hex": "#645adb",
  "rgb": {
    "r": 100,
    "g": 90,
    "b": 219
  },
  "hsl": {
    "h": 244.651,
    "s": 64.179,
    "l": 60.588
  },
  "oklch": {
    "l": 0.54899,
    "c": 0.19036,
    "h": 281.6
  },
  "luminance": 0.15136
}

Semantic roles & 50–950 ramp

primary
#645ADB
secondary
#DDE1B0
accent
#CC1ABE
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #645ADB

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

Preview Lab → · Contrast checker → · Palette generator →

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