#645DF1#645DF1

#645DF1 is a mid, highly saturated blue. Relative luminance 0.169; OKLCH L 57.1% C 0.215 H 279.2°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#645DF1
RGBrgb(100, 93, 241)
HSLhsl(243, 84%, 65%)
HSVhsv(243, 61%, 95%)
CMYKcmyk(58.5%, 61.4%, 0%, 5.5%)
CIE-LABlab(48.12, 44.17, -73.71)
CIE-LCHlch(48.12, 85.93, 300.93°)
OKLaboklab(57.1% 0.0345 -0.212)
OKLCHoklch(57.1% 0.215 279.2)
XYZxyz(25.0420, 16.8871, 85.1420)
Luminance0.1689 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645DF1 #EAF15D
analogous
#5DA0F1 #645DF1 #AE5DF1
triadic
#645DF1 #F1645D #5DF164
tetradic
#645DF1 #F15DA0 #EAF15D #5DF1AE
square
#645DF1 #F15DA0 #EAF15D #5DF1AE
split-complementary
#645DF1 #F1AE5D #A0F15D
monochromatic
#1911C3 #2E25EC #645DF1 #9A95F6 #D0CEFB

Accessibility & contrast

On white

4.80
#645DF1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#645DF1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645DF1
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645DF1#FFFFFF#000000##FFFFFF
##645DF11.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #645df1;
/* rgb */ color: rgb(100, 93, 241);
/* oklch */ color: oklch(57.1% 0.215 279.2);
Tailwind
colors: {
  custom: {
    50: '#9d8bf7',
    500: '#645df1',
    950: '#000000',
  },
}
SCSS
$custom: #645df1;
$custom-light: #9d8bf7;
$custom-dark: #000000;
JSON
{
  "hex": "#645df1",
  "rgb": {
    "r": 100,
    "g": 93,
    "b": 241
  },
  "hsl": {
    "h": 242.838,
    "s": 84.091,
    "l": 65.49
  },
  "oklch": {
    "l": 0.57097,
    "c": 0.21478,
    "h": 279.2
  },
  "luminance": 0.16889
}

Semantic roles & 50–950 ramp

primary
#645DF1
secondary
#EBEEBC
accent
#E105D6
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #645DF1

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

Preview Lab → · Contrast checker → · Palette generator →

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