#645CE1#645CE1

#645CE1 is a mid, vivid blue. Relative luminance 0.158; OKLCH L 55.7% C 0.196 H 280.6°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#645CE1
RGBrgb(100, 92, 225)
HSLhsl(244, 69%, 62%)
HSVhsv(244, 59%, 88%)
CMYKcmyk(55.6%, 59.1%, 0%, 11.8%)
CIE-LABlab(46.71, 39.78, -66.99)
CIE-LCHlch(46.71, 77.91, 300.70°)
OKLaboklab(55.69% 0.0361 -0.1922)
OKLCHoklch(55.69% 0.196 280.6)
XYZxyz(22.6690, 15.7984, 73.0744)
Luminance0.1580 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645CE1 #D9E15C
analogous
#5C97E1 #645CE1 #A75CE1
triadic
#645CE1 #E1645C #5CE164
tetradic
#645CE1 #E15C97 #D9E15C #5CE1A7
square
#645CE1 #E15C97 #D9E15C #5CE1A7
split-complementary
#645CE1 #E1A75C #97E15C
monochromatic
#261EA4 #3328D7 #645CE1 #9590EB #C6C3F4

Accessibility & contrast

On white

5.05
#645CE1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#645CE1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645CE1
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645CE1#FFFFFF#000000##FFFFFF
##645CE11.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074E5
Deuteranopia (green-blind)
#006ADE
Tritanopia (blue-blind)
#237C96
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #645ce1;
/* rgb */ color: rgb(100, 92, 225);
/* oklch */ color: oklch(55.7% 0.196 280.6);
Tailwind
colors: {
  custom: {
    50: '#9b8aeb',
    500: '#645ce1',
    950: '#000000',
  },
}
SCSS
$custom: #645ce1;
$custom-light: #9b8aeb;
$custom-dark: #000000;
JSON
{
  "hex": "#645ce1",
  "rgb": {
    "r": 100,
    "g": 92,
    "b": 225
  },
  "hsl": {
    "h": 243.609,
    "s": 68.912,
    "l": 62.157
  },
  "oklch": {
    "l": 0.55691,
    "c": 0.1956,
    "h": 280.6
  },
  "luminance": 0.158
}

Semantic roles & 50–950 ramp

primary
#645CE1
secondary
#E2E5B4
accent
#D115C6
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0C16
muted
#7F7D84

Preview Lab

Preview with #645CE1

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

Preview Lab → · Contrast checker → · Palette generator →

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