#645DFE#645DFE

#645DFE is a mid, highly saturated blue. Relative luminance 0.177; OKLCH L 58.1% C 0.231 H 278.4°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#645DFE
RGBrgb(100, 93, 254)
HSLhsl(243, 99%, 68%)
HSVhsv(243, 63%, 100%)
CMYKcmyk(60.6%, 63.4%, 0%, 0.4%)
CIE-LABlab(49.12, 48.21, -79.33)
CIE-LCHlch(49.12, 92.83, 301.29°)
OKLaboklab(58.14% 0.0335 -0.2285)
OKLCHoklch(58.14% 0.231 278.4)
XYZxyz(27.0535, 17.6917, 95.7359)
Luminance0.1769 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645DFE #F7FE5D
analogous
#5DA6FE #645DFE #B55DFE
triadic
#645DFE #FE645D #5DFE64
tetradic
#645DFE #FE5DA6 #F7FE5D #5DFEB5
square
#645DFE #FE5DA6 #F7FE5D #5DFEB5
split-complementary
#645DFE #FEB55D #A6FE5D
monochromatic
#0B01DF #2A20FE #645DFE #9E9AFE #D8D7FF

Accessibility & contrast

On white

4.63
#645DFE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#645DFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #645DFE
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645DFE#FFFFFF#000000##FFFFFF
##645DFE1.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007BFF
Deuteranopia (green-blind)
#006EFB
Tritanopia (blue-blind)
#0086A5
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #645dfe;
/* rgb */ color: rgb(100, 93, 254);
/* oklch */ color: oklch(58.1% 0.231 278.4);
Tailwind
colors: {
  custom: {
    50: '#9f8cff',
    500: '#645dfe',
    950: '#000000',
  },
}
SCSS
$custom: #645dfe;
$custom-light: #9f8cff;
$custom-dark: #000000;
JSON
{
  "hex": "#645dfe",
  "rgb": {
    "r": 100,
    "g": 93,
    "b": 254
  },
  "hsl": {
    "h": 242.609,
    "s": 98.773,
    "l": 68.039
  },
  "oklch": {
    "l": 0.58141,
    "c": 0.23093,
    "h": 278.4
  },
  "luminance": 0.17694
}

Semantic roles & 50–950 ramp

primary
#645DFE
secondary
#F2F4C3
accent
#E600DC
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C18
muted
#7F7D86

Preview Lab

Preview with #645DFE

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

Preview Lab → · Contrast checker → · Palette generator →

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