#645CD6#645CD6

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

Color values

HEX#645CD6
RGBrgb(100, 92, 214)
HSLhsl(244, 60%, 60%)
HSVhsv(244, 57%, 84%)
CMYKcmyk(53.3%, 57%, 0%, 16.1%)
CIE-LABlab(45.93, 36.36, -61.99)
CIE-LCHlch(45.93, 71.87, 300.40°)
OKLaboklab(54.87% 0.0363 -0.1775)
OKLCHoklch(54.87% 0.181 281.6)
XYZxyz(21.2165, 15.2174, 65.4246)
Luminance0.1522 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645CD6 #CED65C
analogous
#5C91D6 #645CD6 #A15CD6
triadic
#645CD6 #D6645C #5CD664
tetradic
#645CD6 #D65C91 #CED65C #5CD6A1
square
#645CD6 #D65C91 #CED65C #5CD6A1
split-complementary
#645CD6 #D6A15C #91D65C
monochromatic
#2C2593 #3B31C4 #645CD6 #928DE2 #C1BEEF

Accessibility & contrast

On white

5.19
#645CD6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#645CD6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645CD6
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645CD6#FFFFFF#000000##FFFFFF
##645CD61.005.194.045.19
#FFFFFF5.191.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071DA
Deuteranopia (green-blind)
#0068D3
Tritanopia (blue-blind)
#327890
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #645cd6;
/* rgb */ color: rgb(100, 92, 214);
/* oklch */ color: oklch(54.9% 0.181 281.6);
Tailwind
colors: {
  custom: {
    50: '#998ae3',
    500: '#645cd6',
    950: '#000000',
  },
}
SCSS
$custom: #645cd6;
$custom-light: #998ae3;
$custom-dark: #000000;
JSON
{
  "hex": "#645cd6",
  "rgb": {
    "r": 100,
    "g": 92,
    "b": 214
  },
  "hsl": {
    "h": 243.934,
    "s": 59.804,
    "l": 60
  },
  "oklch": {
    "l": 0.54871,
    "c": 0.18122,
    "h": 281.6
  },
  "luminance": 0.15219
}

Semantic roles & 50–950 ramp

primary
#645CD6
secondary
#DBDEAF
accent
#E345D9
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0F0C16
muted
#7E7D84

Preview Lab

Preview with #645CD6

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

Preview Lab → · Contrast checker → · Palette generator →

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