#645CF1#645CF1

#645CF1 is a mid, highly saturated blue. Relative luminance 0.167; OKLCH L 56.9% C 0.216 H 279.4°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#645CF1
RGBrgb(100, 92, 241)
HSLhsl(243, 84%, 65%)
HSVhsv(243, 62%, 95%)
CMYKcmyk(58.5%, 61.8%, 0%, 5.5%)
CIE-LABlab(47.90, 44.75, -74.07)
CIE-LCHlch(47.90, 86.54, 301.14°)
OKLaboklab(56.94% 0.0354 -0.2131)
OKLCHoklch(56.94% 0.216 279.4)
XYZxyz(24.9548, 16.7127, 85.1129)
Luminance0.1671 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645CF1 #E9F15C
analogous
#5C9FF1 #645CF1 #AE5CF1
triadic
#645CF1 #F1645C #5CF164
tetradic
#645CF1 #F15C9F #E9F15C #5CF1AE
square
#645CF1 #F15C9F #E9F15C #5CF1AE
split-complementary
#645CF1 #F1AE5C #9FF15C
monochromatic
#1A11C2 #2E24EC #645CF1 #9A94F6 #CFCDFB

Accessibility & contrast

On white

4.84
#645CF1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#645CF1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645CF1
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645CF1#FFFFFF#000000##FFFFFF
##645CF11.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077F6
Deuteranopia (green-blind)
#006CEE
Tritanopia (blue-blind)
#00819E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #645cf1;
/* rgb */ color: rgb(100, 92, 241);
/* oklch */ color: oklch(56.9% 0.216 279.4);
Tailwind
colors: {
  custom: {
    50: '#9d8bf7',
    500: '#645cf1',
    950: '#000000',
  },
}
SCSS
$custom: #645cf1;
$custom-light: #9d8bf7;
$custom-dark: #000000;
JSON
{
  "hex": "#645cf1",
  "rgb": {
    "r": 100,
    "g": 92,
    "b": 241
  },
  "hsl": {
    "h": 243.221,
    "s": 84.181,
    "l": 65.294
  },
  "oklch": {
    "l": 0.56935,
    "c": 0.21597,
    "h": 279.4
  },
  "luminance": 0.16714
}

Semantic roles & 50–950 ramp

primary
#645CF1
secondary
#EBEEBB
accent
#E105D5
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #645CF1

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

Preview Lab → · Contrast checker → · Palette generator →

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